- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TokenFunc (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/request/websocket/protocol_test.go
"testing" "k8s.io/apiserver/pkg/authentication/authenticator" "k8s.io/apiserver/pkg/authentication/user" ) func TestAuthenticateRequest(t *testing.T) { auth := NewProtocolAuthenticator(authenticator.TokenFunc(func(ctx context.Context, token string) (*authenticator.Response, bool, error) { if token != "token" { t.Errorf("unexpected token: %s", token) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 08 21:43:39 UTC 2023 - 8.6K bytes - Viewed (0)