mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
commit
3478e94495
@ -125,7 +125,7 @@ type jwtTokenAuthenticator struct {
|
|||||||
validator Validator
|
validator Validator
|
||||||
}
|
}
|
||||||
|
|
||||||
// Validator is called by the JWT token authentictaor to apply domain specific
|
// Validator is called by the JWT token authenticator to apply domain specific
|
||||||
// validation to a token and extract user information.
|
// validation to a token and extract user information.
|
||||||
type Validator interface {
|
type Validator interface {
|
||||||
// Validate validates a token and returns user information or an error.
|
// Validate validates a token and returns user information or an error.
|
||||||
|
Loading…
Reference in New Issue
Block a user