mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-05-03 13:00:33 -05:00
3595a18dbd
* Initial commit websetup * Added writing cloudstorage credentials * Clean up old configuration generation * Added Oauth2 OpenID Connect support * Bugfixes and fixed tests * Refactoring * Refactoring, added first tests * Added documentation * Refactoring, updated docs * Added tests * Added option to reshow setup for reconfiguring Gokapi instance * Added docs and tests
16 lines
584 B
Go
16 lines
584 B
Go
package models
|
|
|
|
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"`
|
|
}
|