Documentation ¶
Overview ¶
Package recover implements password reset via e-mail.
Index ¶
Constants ¶
View Source
const ( StoreRecoverToken = "recover_token" StoreRecoverTokenExpiry = "recover_token_expiry" )
Storage constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecoverStorer ¶
type RecoverStorer interface { authboss.Storer // RecoverUser looks a user up by a recover token. See recover module for // attribute names. If the key is not found in the data store, // simply return nil, ErrUserNotFound. RecoverUser(recoverToken string) (interface{}, error) }
RecoverStorer must be implemented in order to satisfy the recover module's storage requirements.
Click to show internal directories.
Click to hide internal directories.