public interface IOTPManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
IOTPGenerationInfo |
generate(java.lang.String aContext,
boolean isLongLived,
PublicAPI aTools) |
IOTPValidationInfo |
validate(java.lang.String aReferenceId,
java.lang.String aOTPValue,
PublicAPI aTools) |
static final java.lang.String COPYRIGHT
static final java.lang.String VERSION
IOTPGenerationInfo generate(java.lang.String aContext, boolean isLongLived, PublicAPI aTools)
aContext
- : context for which the OTP has to be generatedisLongLived
- : Check true if this is a long lived token to persist in the DBaTools
- : PublicAPI instance for current contextIOTPValidationInfo validate(java.lang.String aReferenceId, java.lang.String aOTPValue, PublicAPI aTools)
aReferenceId
- : ReferenceId against which the OTP validation should happenaOTPValue
- :User entered OTPValueaTools
- : PublicAPI instance for current contextCopyright © 2018 Pegasystems Inc. All Rights Reserved.