Versions in this module Expand all Collapse all v0 v0.0.13 Dec 1, 2022 Changes in this version + type BehaviourConfiguration struct + AutoConfirmUsers bool + AutoLockoutCount int + AutoLockoutDuration time.Duration + DefaultLocale string + InviteExpiry time.Duration + InviteOnly bool + InviteRole *string + Name string + PasswordMinLength int + ServiceDomain string + Site string + type CORSConfiguration struct + AllowCredentials bool + AllowedMethods []string + AllowedOrigins []string + type Configuration struct + Behaviour *BehaviourConfiguration + Database *DatabaseConfiguration + JWT *JWTConfiguration + ManageEndpoint *ManageEndpointConfirugation + SMTP *SMTPConfiguration + Server *ServerConfiguration + func (*Configuration) DebugMode() bool + func (c *Configuration) Validate() error + type DatabaseConfiguration struct + DSN string + Type string + type FileSystems struct + StaticFolder fs.FS + Templates fs.FS + type JWTConfiguration struct + Algorithm string + Audience []string + Expiry time.Duration + FlattenAudience bool + HMACSigningKey string + HMACSigningKeyFile string + Issuer string + NoRolesClaim bool + RSAPRivateKeyFile string + RSAPrivateKey string + RSAPublicKey string + RSAPublicKeyFile string + RefreshTokenExpiry time.Duration + RememberMeDuration time.Duration + type ManageEndpointConfirugation struct + CORS *CORSConfiguration + Enable bool + type SMTPConfiguration struct + Address string + DisplayName string + Enabled bool + Host string + Password string + Port int + Username string + type ServerConfiguration struct + Address string + CSRFToken string + LoadTemplateFolder bool + Port int