Function: verifyOTP()
verifyOTP(
req,payload?):Promise<boolean>
Defined in: src/auth/shared.ts:251
Validates the provided token against the data stored in the request session.
Parameters
req
HttpRequest
The HTTP request with OTP session data.
payload?
any
Returns
Promise<boolean>