1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-12-07 23:13:07 +02:00

Add HTPasswdValidator to basic authentication package

This commit is contained in:
Joel Speed
2020-07-18 00:41:42 +01:00
parent 895403cb9b
commit 7d8ee61254
7 changed files with 239 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package basic
// Validator is a minimal interface for something that can validate a
// username and password combination.
type Validator interface {
Validate(user, password string) bool
}