Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecuritySetting ¶
type SecuritySetting struct { AuthMode string `json:"authMode" yaml:"authMode"` AutoRegister bool `json:"autoRegister" yaml:"autoRegister"` EmailAutoRegister *bool `json:"emailAutoRegister" yaml:"emailAutoRegister"` MobileAutoRegister *bool `json:"mobileAutoRegister" yaml:"mobileAutoRegister"` SocialAutoRegister *bool `json:"socialAutoRegister" yaml:"socialAutoRegister"` // Server Server *ServerConfig.OAuth2ServerSetting `json:"server" yaml:"server"` // Token Token *TokenConfig.TokenSetting `json:"token" yaml:"token"` }
var Setting *SecuritySetting = &SecuritySetting{ AuthMode: "local", AutoRegister: true, Server: ServerConfig.Setting, Token: TokenConfig.Setting, }
Click to show internal directories.
Click to hide internal directories.