Package com.soffid.iam.service
Interface OTPValidationService
-
public interface OTPValidationServiceService OTPValidationService
-
-
Field Summary
Fields Modifier and Type Field Description static StringREMOTE_PATHstatic StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidregisterOTPHandler(OTPHandler handler)Operation registerOTPHandlerChallengeresendToken(Challenge challenge, boolean alternativeMethod)Operation resendTokenbooleanresetFailCount(String account)Operation resetFailCountChallengeselectToken(Challenge challenge)Operation selectTokenbooleanvalidatePin(Challenge challenge, String pin)Operation validatePin
-
-
-
Field Detail
-
REMOTE_PATH
static final String REMOTE_PATH
- See Also:
- Constant Field Values
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
resetFailCount
boolean resetFailCount(String account) throws InternalErrorException
Operation resetFailCount- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
validatePin
boolean validatePin(Challenge challenge, String pin) throws InternalErrorException
Operation validatePin- Parameters:
challenge-pin-- Returns:
- Throws:
InternalErrorException
-
resendToken
Challenge resendToken(Challenge challenge, boolean alternativeMethod) throws InternalErrorException
Operation resendToken- Parameters:
challenge-alternativeMethod-- Returns:
- Throws:
InternalErrorException
-
selectToken
Challenge selectToken(Challenge challenge) throws InternalErrorException
Operation selectToken- Parameters:
challenge-- Returns:
- Throws:
InternalErrorException
-
registerOTPHandler
void registerOTPHandler(OTPHandler handler) throws InternalErrorException
Operation registerOTPHandler- Parameters:
handler-- Throws:
InternalErrorException
-
-