Documentation ¶
Index ¶
Constants ¶
View Source
const ( ExpirationKey = "exp" UserIDKey = "uid" IssuerKey = "iss" )
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
AuthMiddleware provides a middleware that retrieves the authentication header from the request and inject into the context
Types ¶
type ContextKey ¶
type ContextKey string
Click to show internal directories.
Click to hide internal directories.