Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RequestToken internal.ContextKey
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token struct { ID string Groups TokenGroups Attributes map[TokenAttribute]*string }
type TokenAttribute ¶
type TokenAttribute string
const ( TokenSurnameAttribute TokenAttribute = "surname" TokenGivenNameAttribute TokenAttribute = "given_name" TokenNameAttribute TokenAttribute = "name" TokenEmailAttribute TokenAttribute = "email" TokenUsernameAttribute TokenAttribute = "username" )
type TokenGroups ¶ added in v0.12.0
type TokenGroups []string
func (TokenGroups) Contains ¶ added in v0.12.0
func (tg TokenGroups) Contains(expected string) bool
func (TokenGroups) Matches ¶ added in v0.12.0
func (tg TokenGroups) Matches(expected string) bool
Directories ¶
Path | Synopsis |
---|---|
filter/filterfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.