Preparing search index...
The search index is not available
express-otp
express-otp
OTPErrorReason
Type alias OTPErrorReason
OTPError
Reason
:
"invalid_token"
|
"no_token"
|
"no_user"
The reason for an OTP error.
no_user
- No user was found for the request.
no_token
- No token was found in the request.
invalid_token
- The token was malformed or did not match the expected token.
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
express-
otp
OTPError
Token
Form
Options
Totp
Api
Options
Totp
Middlewares
Totp
Options
User
Data
All
Options
Auth
Options
OTPError
Reason
Promise
Or
Value
default
Options
default
Generated using
TypeDoc
The reason for an OTP error.
no_user- No user was found for the request.no_token- No token was found in the request.invalid_token- The token was malformed or did not match the expected token.