Documentation ¶
Index ¶
Constants ¶
View Source
const ( BackingCacheTypeInMemory = "in-memory" BackingCacheTypeRedis = "redis" )
Variables ¶
View Source
var ConfigDefaultJSON = []byte(``)
Functions ¶
This section is empty.
Types ¶
type BackingCacheConfig ¶
type BackingCacheConfig struct { Type string `json:"type"` InMemoryCache InMemoryCacheConfig `json:"inMemoryCache"` }
type Config ¶
type Config struct { fluffycore_contracts_config.CoreConfig `mapstructure:",squash"` ConfigFiles ConfigFiles `json:"configFiles"` Echo *EchoConfig `json:"echo"` InMemoryClients InMemoryClients `json:"inMemoryClients"` OIDCConfig *OIDCConfig `json:"oidcConfig"` BackingCache *BackingCacheConfig `json:"backingCache"` AutolinkOnEmailMatch bool `json:"autolinkOnEmailMatch"` EmailVerificationRequired bool `json:"emailVerificationRequired"` MultiFactorRequired bool `json:"multiFactorRequired"` MultiFactorRequiredByEmailCode bool `json:"multiFactorRequiredByEmailCode"` TOTP *TOTPConfig `json:"totp"` EmailConfig *contracts_email.EmailConfig `json:"emailConfig"` SelfIDPConfig *SelfIDPConfig `json:"selfIDPConfig"` CookieConfig *CookieConfig `json:"cookieConfig"` SystemConfig *SystemConfig `json:"systemConfig"` SessionConfig *contracts_sessions.SessionConfig `json:"sessionConfig"` WebAuthNConfig *contracts_webauthn.WebAuthNConfig `json:"webAuthNConfig"` PasswordConfig *PasswordConfig `json:"passwordConfig"` }
type ConfigFiles ¶
type CookieConfig ¶
type CookieConfig struct {
Domain string `json:"domain"`
}
type EchoConfig ¶
type EchoConfig struct { Port int `json:"port"` SecureCookies *fluffycore_echo_contracts_cookies.SecureCookiesConfig `json:"secureCookies"` DisableSecureCookies bool `json:"disableSecureCookies"` }
type InMemoryCacheConfig ¶
type InMemoryClient ¶
type InMemoryClients ¶
type InMemoryClients struct {
Clients []*proto_oidc_models.Client `json:"clients"`
}
type InitialConfig ¶
type InitialConfig struct {
ConfigFiles ConfigFiles `json:"configFiles"`
}
type JWTValidators ¶
type OIDCConfig ¶
type PasswordConfig ¶ added in v1.0.9
type PasswordConfig struct {
MinEntropyBits float64 `json:"minEntropyBits"`
}
type SelfIDPConfig ¶
type SystemConfig ¶
type TOTPConfig ¶ added in v1.0.13
Click to show internal directories.
Click to hide internal directories.