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.17.6
- Published
- May 20, 2020
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 3 minutes ago –
Tools for package owners.