public class OTPUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
OTP_FOR_LOGIN |
static int |
OTP_FOR_PACKAGE |
static int |
OTP_FOR_SIGNUP |
static int |
OTP_FOR_SIGNUP_FROM_APPS |
static int |
OTP_SENT_OVER_EMAIL |
static int |
OTP_SENT_OVER_IVR |
static int |
OTP_SENT_OVER_SMS |
static int |
OTP_STATUS_SENT |
static int |
OTP_STATUS_VERIFIED |
static int |
OTP_VIA_EMAIL |
static int |
OTP_VIA_OTP_DEVICE |
static int |
OTP_VIA_SMS |
static int |
OTP_VIA_SOFTWARE |
static long |
otpExpireTimeInMin |
| Constructor and Description |
|---|
OTPUtil() |
| Modifier and Type | Method and Description |
|---|---|
DAOResult |
checkOTP(String otpToken,
int otpGenerationType,
LoginDTO loginDTO) |
static String |
encode(String aKey,
String sKey) |
static byte[] |
hexStringToByteArray(String s) |
boolean |
sendOTP(LoginDTO loginDTO) |
public static final int OTP_VIA_OTP_DEVICE
public static final int OTP_VIA_EMAIL
public static final int OTP_VIA_SMS
public static final int OTP_VIA_SOFTWARE
public static final int OTP_FOR_LOGIN
public static final int OTP_FOR_PACKAGE
public static final int OTP_FOR_SIGNUP
public static final int OTP_FOR_SIGNUP_FROM_APPS
public static final int OTP_STATUS_SENT
public static final int OTP_STATUS_VERIFIED
public static final int OTP_SENT_OVER_SMS
public static final int OTP_SENT_OVER_EMAIL
public static final int OTP_SENT_OVER_IVR
public static final long otpExpireTimeInMin
Copyright © 2026. All rights reserved.