Documentation ¶
Overview ¶
Package auth provides token based authentication
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenAuth ¶ added in v1.7.3
type TokenAuth struct {
// contains filtered or unexported fields
}
TokenAuth token authentication (simple)
func NewTokenAuth ¶ added in v1.7.3
func NewTokenAuth() *TokenAuth
NewTokenAuth create a token authentication
func (*TokenAuth) Authenticate ¶ added in v1.7.3
Authenticate authentication client's credential
Click to show internal directories.
Click to hide internal directories.