ftos.identity.otp.validate
IMPORTANT!
Starting with v24.3.0, this is renamed from server.otp.validateOtpRequest to ftos.identity.otp.validate.
Starting with v24.3.0, this is renamed from server.otp.validateOtpRequest to ftos.identity.otp.validate.
Validates the one-time password request on server side.
This is a business logic method for business service components.
Syntax
Copy
function ftos.identity.otp.validate( "requestId": string, "otp": string)
| Parameter | Type | Description |
|---|---|---|
requestId
|
string | Obtained as the result of the ftos.identity.otp.send method. |
otp |
string | Parameter to be validated on the server side against the sent one-time password token. |
Return Value
Returns true or false.