Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthHolder ¶
type AuthHolder struct {
// contains filtered or unexported fields
}
func NewAuthHolder ¶
func (*AuthHolder) Get ¶
func (h *AuthHolder) Get() *AuthConfig
type CacheHolder ¶
type CacheHolder struct {
// contains filtered or unexported fields
}
func NewCacheHolder ¶
func NewCacheHolder(rdb redis.UniversalClient, accessTokenTTL time.Duration) *CacheHolder
func (*CacheHolder) Get ¶
func (h *CacheHolder) Get() *cache2.Cache
func (*CacheHolder) Reload ¶
func (h *CacheHolder) Reload(rdb redis.UniversalClient, accessTokenTTL time.Duration)
type ConfigLimiter ¶
type LDAPHolder ¶
type LDAPHolder struct {
// contains filtered or unexported fields
}
func NewLDAPHolder ¶
func NewLDAPHolder(enabled bool, cfg map[string]ldap.Config) *LDAPHolder
func (*LDAPHolder) Get ¶
func (h *LDAPHolder) Get() *ldap.Auth
type LimiterHolder ¶
type LimiterHolder struct {
// contains filtered or unexported fields
}
func NewLimiterHolder ¶
func NewLimiterHolder(cfg ConfigLimiter) *LimiterHolder
func (*LimiterHolder) Get ¶
func (h *LimiterHolder) Get() *ConfigLimiter
func (*LimiterHolder) Reload ¶
func (h *LimiterHolder) Reload(cfg ConfigLimiter)
type OIDCHolder ¶
type OIDCHolder struct {
// contains filtered or unexported fields
}
func NewOIDCHolder ¶
func (*OIDCHolder) Get ¶
func (h *OIDCHolder) Get() *oidc.Auth
type SAMLHolder ¶
type SAMLHolder struct {
// contains filtered or unexported fields
}
func NewSAMLHolder ¶
func (*SAMLHolder) Get ¶
func (h *SAMLHolder) Get() *saml.Auth
Click to show internal directories.
Click to hide internal directories.