# Packages
No description provided by the author
# Functions
HeaderHandler is a middleware that checks for a header value.
IsAuth returns true if the context contains a user ID.
JwtHandler is a middleware that checks for a JWT token in the cookie or the authorization header.
NewAuth returns a new auth handler.
NewAuthHandlerFunc returns a HandlerFunc based on the provided config.
NoAuth returns a handler that does not perform any authentication.
RailsCookieHandler returns a handler that authenticates using a Rails session cookie.
RailsHandler returns a handler that authenticates using a Rails session cookie.
RailsMemcacheHandler returns a handler that authenticates using a Rails session cookie.
RailsRedisHandler returns a handler that authenticates using a Rails session cookie.
SimpleHandler is a simple auth handler that sets the user ID, provider and role.
UserID returns the user ID from the context.
UserIDInt returns the user ID from the context as an int.
# Variables
No description provided by the author