The unhashed password.
The password hash.
Promise, that indicates if password does match or not.
Checks (synchronous) if a password matching a hash.
The unhashed password.
The password hash.
Promise, that indicates if password does match or not.
Hashes a password string.
The unhashed password.
The promise with the password hash.
Hashes a password string synchronous.
The unhashed password.
The password hash.
Creates a JWT from an object.
The token as object.
The JWT.
Verifies a JWT and returns it decoded version, if succeeded.
The token as string.
The decoded token, or (false), if verification failed.
Creates a new Express middleware, that checks for a valid JWT.
The new middleware.
Generated using TypeDoc
Checks if a password matching a hash.