package tokentest
import "k8s.io/apiserver/plugin/pkg/authenticator/token/tokentest"
Index ¶
Types ¶
type TokenAuthenticator ¶
type TokenAuthenticator struct { Tokens map[string]*user.DefaultInfo }
func New ¶
func New() *TokenAuthenticator
func (*TokenAuthenticator) AuthenticateToken ¶
func (a *TokenAuthenticator) AuthenticateToken(ctx context.Context, value string) (*authenticator.Response, bool, error)
Source Files ¶
tokentest.go
- Version
- v0.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 2 hours ago –
Tools for package owners.