# Functions
CheckRegistrationToken checks that the given signature is a valid registration token.
CheckResetConsumerToken checks that the given signature is a valid reset consumer token.
CleanResetConsumerToken deletes a consumer reset token from cache if exists.
CleanVerifyConsumerToken deletes a consumer verify token from cache if exists.
CompareHashAndPassword returns an error if given password don't match given hash.
DeleteRegistrationByID removes a user registration in database for given id.
HashPassword return a hash from given password.
InsertRegistration in database.
LoadRegistrationByID returns an user registration from database.
NewConsumer returns a new local consumer for given data.
NewConsumerWithHash returns a new local consumer with given hash.
NewDriver returns a new initialized driver for local authentication.
NewRegistrationToken returns a new token for given registration id.
NewResetConsumerToken returns a new reset consumer token for given consumer id.
# Structs
AuthDriver for local authentication.