Interface OtpProcessor
-
- All Implemented Interfaces:
public interface OtpProcessorThis interface is used by the OtpInterceptor to authenticate when it detects an OTP challenge.
-
-
Method Summary
Modifier and Type Method Description abstract voidauthenticate()Called when the OtpInterceptor detects an OTP challenge. abstract voidcancelAuthentication()Cancels the ongoing authentication process. -
-
Method Detail
-
authenticate
abstract void authenticate()
Called when the OtpInterceptor detects an OTP challenge. Either authentication will be successful or an IOException will be thrown.
-
cancelAuthentication
abstract void cancelAuthentication()
Cancels the ongoing authentication process. Does nothing if there was no ongoing authentication.
-
-
-
-