Versions in this module Expand all Collapse all v1 v1.4.41 Apr 19, 2022 v1.4.40 Apr 19, 2022 Changes in this version + type AccessDeniedResponse struct + Error bool + Message string + Timestamp string + type AuthRequest struct + Password string + Realm string + Username string + type AuthResponse struct + Token string + TokenName string + type Authenticator struct + AccessListConfigs []*acl.RuleConfiguration + BackendConfigs []backends.Config + CacheConfig *cache.Config + Context string + CookieConfig *cookie.Config + CryptoKeyConfigs []*kms.CryptoKeyConfig + CryptoKeyStoreConfig map[string]interface{} + Name string + PrimaryInstance bool + TokenGrantorOptions *options.TokenGrantorOptions + TokenValidatorOptions *options.TokenValidatorOptions + UI *ui.Parameters + UserRegistrationConfig *registration.Config + UserTransformerConfigs []*transformer.Config + func (m *Authenticator) Provision() error + func (m *Authenticator) SetLogger(logger *zap.Logger) + func (m *Authenticator) Validate() error + func (p *Authenticator) APIKeyAuth(r *idp.ProviderRequest) error + func (p *Authenticator) BasicAuth(r *idp.ProviderRequest) error + func (p *Authenticator) ServeHTTP(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) error + type InstanceManager struct + MemberCount map[string]int + Members map[string]*Authenticator + PrimaryInstances map[string]*Authenticator + var AuthManager *InstanceManager + func NewInstanceManager() *InstanceManager + func (mgr *InstanceManager) Register(m *Authenticator) error + func (mgr *InstanceManager) Validate(m *Authenticator) error + type InstanceStatus int + const BootstrapPrimary + const BootstrapSecondary + const DelaySecondary + const DuplicatePrimary + const Unknown