UserPassAuthAuthenticator is used to handle the user/password mode
| 26 | |
| 27 | // UserPassAuthAuthenticator is used to handle the user/password mode |
| 28 | type UserPassAuthAuthenticator struct { |
| 29 | IsValid func(string, string) bool |
| 30 | } |
| 31 | |
| 32 | // NewUserPassAuthAuthenticator creates a new username/password validator Authenticator |
| 33 | func NewUserPassAuthAuthenticator(isValid func(string, string) bool) Authenticator { |
nothing calls this directly
no outgoing calls
no test coverage detected