casdoor.go 668 B

123456789101112131415161718192021
  1. package settings
  2. type Casdoor struct {
  3. Endpoint string `json:"endpoint" protected:"true"`
  4. ClientId string `json:"client_id" protected:"true"`
  5. ClientSecret string `json:"client_secret" protected:"true"`
  6. CertificatePath string `json:"certificate_path" protected:"true"`
  7. Organization string `json:"organization" protected:"true"`
  8. Application string `json:"application" protected:"true"`
  9. RedirectUri string `json:"redirect_uri" protected:"true"`
  10. }
  11. var CasdoorSettings = Casdoor{
  12. Endpoint: "",
  13. ClientId: "",
  14. ClientSecret: "",
  15. CertificatePath: "",
  16. Organization: "",
  17. Application: "",
  18. RedirectUri: "",
  19. }