We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac42799 commit 14b756aCopy full SHA for 14b756a
examples/tokenreview/tokenreview.go
@@ -28,7 +28,7 @@ import (
28
type authenticator struct {
29
}
30
31
-// Handle function authenticator admits a request by the token.
+// Handle admits a request by the token.
32
func (a *authenticator) Handle(ctx context.Context, req authentication.Request) authentication.Response {
33
if req.Spec.Token == "invalid" {
34
return authentication.Unauthenticated("invalid is an invalid token", v1.UserInfo{})
0 commit comments