# Functions
APIAuth ...
CheckPasswordHash takes a password and hash string, and returns if the hash came from password.
DoubleAuth ...
HashPassword takes a string and returns a hash and possible error.
InitJWTAuthenticationBackend ...
NewResetToken returns a new password reset token for the given login, which expires after the given time duration since now, signed by the key generated from the given password value (which can be any value that will be changed once a user resets their password, such as password hash or salt used to generate it), and the given secret key.
UserAuth ...
VerifyResetToken verifies the given token with the password value returned by the given function and the given secret key, and returns login extracted from the valid token.
# Variables
ErrExpiredToken ...
ErrMalformedToken ...
ErrWrongSignature ...
# Structs
JWTAuthenticationBackend ...