package tokenfile
import "k8s.io/kubernetes/plugin/pkg/auth/authenticator/token/tokenfile"
Index ¶
Types ¶
type TokenAuthenticator ¶
type TokenAuthenticator struct {
// contains filtered or unexported fields
}
func NewCSV ¶
func NewCSV(path string) (*TokenAuthenticator, error)
NewCSV returns a TokenAuthenticator, populated from a CSV file. The CSV file must contain records in the format "token,username,useruid"
func (*TokenAuthenticator) AuthenticateToken ¶
Source Files ¶
tokenfile.go
- Version
- v0.9.1
- Published
- Jan 23, 2015
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 10 seconds ago –
Tools for package owners.