Documentation ¶
Index ¶
Constants ¶
View Source
const BackendName = "jwk"
BackendName name
View Source
const BearerPrefix = "bearer "
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClaimFilter ¶
type Jwk ¶
type Jwk struct { TokenName string `json:"token_name,omitempty"` TokenSources []string `json:"token_sources,omitempty"` AuthorizedIssuersRegexP []string `json:"authorized_issuers_regexp,omitempty"` JwkCacheDuration int64 `json:"jwk_cache_duration,omitempty"` WellKnownPath string `json:"well_known_path,omitempty"` Debug bool `json:"debug,omitempty"` ClaimFilters []ClaimFilter `json:"claim_filter"` sync.Mutex // contains filtered or unexported fields }
Jwk
func (*Jwk) Authenticate ¶
Authenticate fulfils the backend interface
Click to show internal directories.
Click to hide internal directories.