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 AuthMethodType int + const Ldap + const Local + const OAuth2 + const Saml + const Unknown + func (m AuthMethodType) String() string + type Backend struct + Method AuthMethodType + func NewBackend(cfg *Config, logger *zap.Logger, cache cache.Cache) (*Backend, error) + func (b *Backend) Configure() error + func (b *Backend) GetConfig() string + func (b *Backend) GetMethod() string + func (b *Backend) GetName() string + func (b *Backend) GetRealm() string + func (b *Backend) Request(op operator.Type, r *requests.Request) error + func (b *Backend) Validate() error + type BackendDriver interface + Configure func() error + GetConfig func() string + GetMethod func() string + GetName func() string + GetRealm func() string + Request func(operator.Type, *requests.Request) error + Validate func() error + type Config struct + Ldap *ldap.Config + Local *local.Config + OAuth2 *oauth2.Config + Saml *saml.Config + func NewConfig(m map[string]interface{}) (*Config, error)