Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashMatchesPassword ¶
HashMatchesPassword matches hash with password. Returns true if hash and password match.
func HashPassword ¶
HashPassword hashes the password using bcrypt
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents auth application service
func (*Service) Authenticate ¶
Authenticate tries to authenticate the user provided by username and password
Click to show internal directories.
Click to hide internal directories.