Package com.soffid.iam.service
Interface OTPValidationService
-
public interface OTPValidationService
Service OTPValidationService
-
-
Field Summary
Fields Modifier and Type Field Description static String
REMOTE_PATH
static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
registerOTPHandler(OTPHandler handler)
Operation registerOTPHandlerChallenge
resendToken(Challenge challenge, boolean alternativeMethod)
Operation resendTokenboolean
resetFailCount(String account)
Operation resetFailCountChallenge
selectToken(Challenge challenge)
Operation selectTokenboolean
validatePin(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
-
-