createNonPersitentOtp(int) method

Create a new OTP.

Syntax

String createNonPersitentOtp ( int otpType ) throws OtpValidationException

Parameters

Returns

the generated OTP.

Exceptions

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.