Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAuthURL ¶
GetAuthURL returns URL to authenticate with Google
func Initialize ¶
func Initialize()
Initialize initializes the authentication options (right now only Google is supported)
func RequireBearerMiddleware ¶
func RequireBearerMiddleware(handle context.HandlerWithContext) httprouter.Handle
RequireBearerMiddleware ensures that the Bearer token is valid and assigns the user to the current context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.