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 ¶
func Validate ¶
func Validate(tenantAttributes []TenantAttribute) error
Validate validates the tenant attributes
Types ¶
type Attributes ¶
type Attributes struct { UniqueAttribute Attribute `json:"uniqueAttribute"` IdentityAttribute Attribute `json:"identity"` TenantsAttribute []TenantAttribute `json:"tenants"` ClientID Attribute `json:"clientid"` }
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"` CheckSuffix bool `json:"check_suffix"` ClientIDSuffixes []string `json:"client_id_suffix"` }
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 TenantAttribute ¶
TenantAttribute represents a single tenant attribute associated with an authenticator
Click to show internal directories.
Click to hide internal directories.