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.24.0-alpha.2
- Published
- Feb 1, 2022
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 1 minute ago –
Tools for package owners.