mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-01-24 05:26:55 +02:00
8 lines
190 B
Go
8 lines
190 B
Go
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
|
|
}
|