Documentation ¶
Overview ¶
Package confirm implements confirmation of user registration via e-mail
Index ¶
Constants ¶
View Source
const ( StoreConfirmToken = "confirm_token" StoreConfirmed = "confirmed" FormValueConfirm = "cnf" )
Storer and FormValue constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfirmStorer ¶
type ConfirmStorer interface { authboss.Storer // ConfirmUser looks up a user by a confirm token. See confirm module for // attribute names. If the token is not found in the data store, // simply return nil, ErrUserNotFound. ConfirmUser(confirmToken string) (interface{}, error) }
ConfirmStorer must be implemented in order to satisfy the confirm module's storage requirements.
Click to show internal directories.
Click to hide internal directories.