Documentation ¶
Index ¶
Constants ¶
View Source
const (
OrgType = "token-auth"
)
Variables ¶
This section is empty.
Functions ¶
func LoadTokenFile ¶
https://kubernetes.io/docs/admin/authentication/#static-token-file csv token file:
- four field required (format : token,user,uid,"group1,group2,group3")
- groups can be empty, others cannot be empty
- token should be unique
- one user can have multiple token
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts Options) *Authenticator
func (*Authenticator) Configure ¶
func (s *Authenticator) Configure() error
func (*Authenticator) UID ¶
func (s *Authenticator) UID() string
Click to show internal directories.
Click to hide internal directories.