very basic basic auth (#12)

This commit is contained in:
Michael Quigley
2022-08-16 11:27:31 -04:00
parent ab87c00106
commit b510190910
2 changed files with 47 additions and 1 deletions

View File

@ -12,3 +12,12 @@ const (
type ProxyConfig struct {
AuthScheme AuthScheme `json:"auth_scheme"`
}
type BasicAuth struct {
Users []*AuthUser
}
type AuthUser struct {
Username string
Password string
}