Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StaticToken ¶
type StaticToken struct {
// contains filtered or unexported fields
}
func NewStaticToken ¶
func NewStaticToken(userName, adminToken string, groups ...string) *StaticToken
func (*StaticToken) AuthenticateRequest ¶
func (a *StaticToken) AuthenticateRequest(req *http.Request) (*authenticator.Response, bool, error)
Click to show internal directories.
Click to hide internal directories.