Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
Authenticator is a mock Authenticator.
func (*Authenticator) HashPassword ¶
HashPassword satisfies our authenticator interface.
func (*Authenticator) ValidateLogin ¶
func (m *Authenticator) ValidateLogin(ctx context.Context, hash, password, totpSecret, totpCode string) (bool, error)
ValidateLogin satisfies our authenticator interface.
Click to show internal directories.
Click to hide internal directories.