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.21.2
- Published
- Jun 17, 2021
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 4 minutes ago –
Tools for package owners.