Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type NoOpAuthenticator ¶
type NoOpAuthenticator struct{}
func (NoOpAuthenticator) Authenticate ¶
func (a NoOpAuthenticator) Authenticate(username string, password string) (User, error)
type StaticCredentialsAuthenticator ¶
type StaticCredentialsAuthenticator struct {
// contains filtered or unexported fields
}
func NewEnvAuthenticator ¶
func NewEnvAuthenticator() StaticCredentialsAuthenticator
func NewStaticCredentialsApi ¶
func NewStaticCredentialsApi(username string, password string) StaticCredentialsAuthenticator
func (StaticCredentialsAuthenticator) Authenticate ¶
func (a StaticCredentialsAuthenticator) Authenticate(username string, password string) (User, error)
Click to show internal directories.
Click to hide internal directories.