Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadLoginOrPassword = fmt.Errorf("bad login or password")
View Source
var ErrPrincipalDisabled = fmt.Errorf("principal disabled")
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
func NewAuthenticator ¶
func NewAuthenticator(adaptors *adaptors.Adaptors) *Authenticator
func (*Authenticator) Authenticate ¶
func (a *Authenticator) Authenticate(login string, pass interface{}) (err error)
func (Authenticator) Login ¶
func (a Authenticator) Login() string
func (Authenticator) Name ¶
func (a Authenticator) Name() string
func (Authenticator) Password ¶
func (a Authenticator) Password() string
Click to show internal directories.
Click to hide internal directories.