Files
Gokapi/internal/models/Authentication.go
2022-01-25 16:08:28 +01:00

17 lines
672 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"`
HeaderUsers []string `json:"HeaderUsers"`
OauthUsers []string `json:"OauthUsers"`
}