You've already forked oauth2-proxy
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:
7
pkg/authentication/basic/validator.go
Normal file
7
pkg/authentication/basic/validator.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user