mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-01-23 09:29:33 -06:00
21 lines
929 B
Go
21 lines
929 B
Go
package models
|
|
|
|
// AuthenticationConfig holds configuration on how to authenticate to Gokapi admin menu
|
|
type AuthenticationConfig struct {
|
|
Method int `json:"Method"`
|
|
SaltAdmin string `json:"SaltAdmin"`
|
|
SaltFiles string `json:"SaltFiles"`
|
|
Username string `json:"Username"`
|
|
Password string `json:"Password"`
|
|
HeaderKey string `json:"HeaderKey"`
|
|
OAuthProvider string `json:"OauthProvider"`
|
|
OAuthClientId string `json:"OAuthClientId"`
|
|
OAuthClientSecret string `json:"OAuthClientSecret"`
|
|
OAuthUserScope string `json:"OauthUserScope"`
|
|
OAuthGroupScope string `json:"OauthGroupScope"`
|
|
OAuthRecheckInterval int `json:"OAuthRecheckInterval"`
|
|
HeaderUsers []string `json:"HeaderUsers"`
|
|
OAuthGroups []string `json:"OAuthGroups"`
|
|
OAuthUsers []string `json:"OauthUsers"`
|
|
}
|