Documentation ¶
Index ¶
Constants ¶
View Source
const CoordinatesKey = "authenticator_coordinates"
CoordinatesKey missing godoc
View Source
const HeaderName = "X-Authenticator-Name"
HeaderName missing godoc
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Attributes ¶
type Attributes struct { UniqueAttribute Attribute `json:"uniqueAttribute"` IdentityAttribute Attribute `json:"identity"` TenantAttribute Attribute `json:"tenant"` }
Attributes holds all attribute properties and values related to an authenticator
func (*Attributes) Validate ¶
func (a *Attributes) Validate() error
Validate validates all attributes
type Config ¶
type Config struct { Name string `json:"name"` TrustedIssuers []TrustedIssuer `json:"trusted_issuers"` Attributes Attributes `json:"attributes"` }
Config holds all configuration related to an additional authenticator provided to the Director
func InitFromEnv ¶
InitFromEnv loads authenticator configurations from environment if any exist
type Coordinates ¶
Coordinates missing godoc
type JWTKeyIterator ¶
type JWTKeyIterator struct { AlgorithmCriteria func(string) bool IDCriteria func(string) bool ResultingKey interface{} AllKeys []interface{} }
JWTKeyIterator missing godoc
func (*JWTKeyIterator) Visit ¶
func (keyIterator *JWTKeyIterator) Visit(_ int, value interface{}) error
Visit missing godoc
type TrustedIssuer ¶
type TrustedIssuer struct { Protocol string `json:"protocol"` DomainURL string `json:"domain_url"` ScopePrefix string `json:"scope_prefix"` }
TrustedIssuer missing godoc
Click to show internal directories.
Click to hide internal directories.