nginx-ui/settings/casdoor.go
2024-12-15 16:54:30 +08:00

14 lines
577 B
Go

package settings
type Casdoor struct {
Endpoint string `json:"endpoint" protected:"true"`
ExternalUrl string `json:"external_url" protected:"true"`
ClientId string `json:"client_id" protected:"true"`
ClientSecret string `json:"client_secret" protected:"true"`
CertificatePath string `json:"certificate_path" protected:"true"`
Organization string `json:"organization" protected:"true"`
Application string `json:"application" protected:"true"`
RedirectUri string `json:"redirect_uri" protected:"true"`
}
var CasdoorSettings = &Casdoor{}