Documentation ¶
Index ¶
Constants ¶
View Source
const ( TOKEN_CTX_KEY TokenContextKey = "Token" GROUPS_CTX_KEY GroupsContextKey = "Groups" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupsContextKey ¶
type GroupsContextKey string
type RequireGroups ¶
type RequireGroups struct {
Required []string
}
type RequireToken ¶
type RequireToken struct { ValidationOptions *[]jwt.ValidateOption // contains filtered or unexported fields }
func NewRequireToken ¶
func NewRequireToken(jwksUrl string, options ...jwt.ValidateOption) (RequireToken, error)
type TokenContextKey ¶
type TokenContextKey string
Click to show internal directories.
Click to hide internal directories.