Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator interface { GenerateHashedPassword(rawPassword string) (string, error) DoPasswordsMatch(hashedPassword, rawPassword string) bool GenerateLoginToken() string GeneratePasswordResetToken() string GenerateRegistrationToken() string }
func NewAuthenticator ¶
func NewAuthenticator() Authenticator
Click to show internal directories.
Click to hide internal directories.