Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiKeyAuthentication ¶
ApiKeyAuthentication will authenticate a service account from a token found in the authorization header
func InsecureUserHeader ¶
InsecureUserHeader returns a middleware that sets the email address of the authenticated user from the x-user-email header. This middleware is intended for local development and testing purposes only.
func Oauth2Authentication ¶
Oauth2Authentication If the request has a session cookie, look up the session from the store, and if it exists, try to load the user with the email address stored in the session.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.