Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityProvider ¶
type IdentityProvider interface { // Applicable returns true if the provider is applicable for the request Applicable(*http.Request) bool // IdentityMapper returns identity from the request IdentityMapper(*http.Request) (identity.Identity, error) }
IdentityProvider interface to extract identity from requests
type Provider ¶
type Provider struct { CertMapper *certmapper.Provider JwtMapper *jwtmapper.Provider APIkeyMapper *apikeymapper.Provider }
Provider for authz identity
Click to show internal directories.
Click to hide internal directories.