mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-10-05 14:11:14 +02:00
Add HTPasswdValidator to basic authentication package
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user