Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AuthorizationMetadataKey is the key for the authorization metadata AuthorizationMetadataKey = "authorization" // BearerPrefix is the prefix for the bearer token BearerPrefix = "Bearer" // JwtCtxClaimsKey is the key for the JWT context claims JwtCtxClaimsKey = "jwt_claims" )
Variables ¶
Functions ¶
func LoadServiceURI ¶
LoadServiceURI load service URI from environment variables
Types ¶
type AuthorizationIdx ¶
type AuthorizationIdx int
const (
TokenIdx AuthorizationIdx = iota
)
func (AuthorizationIdx) Int ¶
func (i AuthorizationIdx) Int() int
Int returns the integer value of the index
Click to show internal directories.
Click to hide internal directories.