apiserver: k8s.io/apiserver/plugin/pkg/authenticator/token/tokentest Index | Files

package tokentest

import "k8s.io/apiserver/plugin/pkg/authenticator/token/tokentest"

Index

Package Files

tokentest.go

type TokenAuthenticator Uses

type TokenAuthenticator struct {
    Tokens map[string]*user.DefaultInfo
}

func New Uses

func New() *TokenAuthenticator

func (*TokenAuthenticator) AuthenticateToken Uses

func (a *TokenAuthenticator) AuthenticateToken(ctx context.Context, value string) (*authenticator.Response, bool, error)

Package tokentest imports 3 packages (graph). Updated 2018-11-01. Refresh now. Tools for package owners.