mirror of
https://github.com/openziti/zrok.git
synced 2024-11-24 17:13:51 +01:00
config model auth users (#12)
This commit is contained in:
parent
83b573bfa8
commit
f736ef3b96
@ -11,13 +11,14 @@ const (
|
||||
|
||||
type ProxyConfig struct {
|
||||
AuthScheme AuthScheme `json:"auth_scheme"`
|
||||
BasicAuth BasicAuth `json:"basic_auth"`
|
||||
}
|
||||
|
||||
type BasicAuth struct {
|
||||
Users []*AuthUser
|
||||
Users []*AuthUser `json:"users"`
|
||||
}
|
||||
|
||||
type AuthUser struct {
|
||||
Username string
|
||||
Password string
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user