# Functions
No description provided by the author
GenerateToken generates pieces needed for user confirm selector: hash of the first half of a 64 byte value (to be stored in the database and used in SELECT query) verifier: hash of the second half of a 64 byte value (to be stored in database but never used in SELECT query) token: the user-facing base64 encoded selector+verifier.
# Variables
ErrCreateFailure is returned wrapped from generate when a token fails to create.
ErrInvalidToken is returned if a provided security token is not legit.
ErrTokenExpired is returned when a token is not longer available for use.
ErrTokenNotFound when the token is not found.