casdoor.go 577 B

1234567891011121314
  1. package settings
  2. type Casdoor struct {
  3. Endpoint string `json:"endpoint" protected:"true"`
  4. ExternalUrl string `json:"external_url" protected:"true"`
  5. ClientId string `json:"client_id" protected:"true"`
  6. ClientSecret string `json:"client_secret" protected:"true"`
  7. CertificatePath string `json:"certificate_path" protected:"true"`
  8. Organization string `json:"organization" protected:"true"`
  9. Application string `json:"application" protected:"true"`
  10. RedirectUri string `json:"redirect_uri" protected:"true"`
  11. }
  12. var CasdoorSettings = &Casdoor{}