Verifies an token in conjunction with an MSISDN, the token was previously sent to.
Syntax
boolean
verifySmsToken
(
String
msisdn
,
String
token
) throws OtpValidationException
Parameters
-
msisdn –
The MSISDN the token was sent to and against which it will be verified
-
token –
The token to verify
Returns
true if the token was valid, false otherwise
Usage
true if the token was valid, false otherwise