Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AuthorizationHeaderKey is the key for the authorization header AuthorizationHeaderKey = "authorization" // JwtCtxClaimsKey is the key for the JWT context claims JwtCtxClaimsKey = "jwt_claims" )
Variables ¶
View Source
var ( InternalServerError = errors.New("internal server error") Unauthenticated = errors.New("unauthenticated") )
Functions ¶
Types ¶
type AuthorizationIdx ¶ added in v0.4.0
type AuthorizationIdx int
const (
TokenIdx AuthorizationIdx = iota
)
func (AuthorizationIdx) Int ¶ added in v0.4.0
func (i AuthorizationIdx) Int() int
Int returns the integer value of the index
Click to show internal directories.
Click to hide internal directories.