15 lines
577 B
Go
15 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{}
|