config model auth users (#12)

This commit is contained in:
Michael Quigley 2022-08-16 11:43:17 -04:00
parent 83b573bfa8
commit f736ef3b96
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -11,13 +11,14 @@ const (
type ProxyConfig struct { type ProxyConfig struct {
AuthScheme AuthScheme `json:"auth_scheme"` AuthScheme AuthScheme `json:"auth_scheme"`
BasicAuth BasicAuth `json:"basic_auth"`
} }
type BasicAuth struct { type BasicAuth struct {
Users []*AuthUser Users []*AuthUser `json:"users"`
} }
type AuthUser struct { type AuthUser struct {
Username string Username string `json:"username"`
Password string Password string `json:"password"`
} }