Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorizer ¶
type Authorizer struct { }
Authorizer is responsible for authorization and security related operations
func (*Authorizer) HashMatchesPassword ¶
func (*Authorizer) HashMatchesPassword(saltedhash string, password string) bool
HashMatchesPassword checks if the salted hash matches the given plain text password, returning true if there is a match, false otherwise.
func (*Authorizer) PasswordHash ¶
func (*Authorizer) PasswordHash(pass string) (string, error)
PasswordHash is responsible for creating safe hashes from passwords, suitable for storage and comparison later using IsPasswordMatch.
Click to show internal directories.
Click to hide internal directories.