Create a new OTP.
Syntax
String
createNonPersitentOtp
(
int
otpType
) throws OtpValidationException
Parameters
-
otpType –
the type of OTP that is to be generated.
Returns
the generated OTP.
Usage
The OTP is returned as a String. The OTP is not stored and not send out. A SecureRandom is used to generate the OTP.
the generated OTP.