config

package
v1.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppState           = setting.ProductName + "user"
	SystemIdentityType = "system"
	OauthIdentityType  = "oauth"
	FeiShuEmailHost    = "smtp.feishu.cn"
)

Variables

This section is empty.

Functions

func AdminEmail added in v1.9.9

func AdminEmail() string

func AdminPassword added in v1.9.9

func AdminPassword() string

func ClientID

func ClientID() string

func ClientSecret

func ClientSecret() string

func IssuerURL

func IssuerURL() string

func MysqlDexDB added in v1.9.9

func MysqlDexDB() string

func MysqlUserDB

func MysqlUserDB() string

func RedirectURI

func RedirectURI() string

func Scopes

func Scopes() []string

func SystemAddress added in v1.9.9

func SystemAddress() string

func TokenExpiresAt

func TokenExpiresAt() int

Types

type LoginType

type LoginType int
const (
	AccountLoginType LoginType = 0
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL