Interface RemoteAuthenticationCallback
-
public interface RemoteAuthenticationCallback
TheRemoteAuthenticationCallback
interface defines the specific elements required for the integrator to interact during the Remote Authentication flow.This flow is initiated by the server; it is started by a call to
Orchestrator.execute(String)
with the command provided by the server.A
RemoteAuthenticationCallback
object should be provided to theOrchestrator
object (SeeOrchestrator.setRemoteAuthCallback(RemoteAuthenticationCallback)
) in order to receive feedback during the remote authentication process.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
RemoteAuthenticationCallback.DisplayDataCaller
TheRemoteAuthenticationCallback.DisplayDataCaller
object is to be informed of data approval/rejection.static class
RemoteAuthenticationCallback.SessionOutdatedReason
TheRemoteAuthenticationCallback.SessionOutdatedReason
lists possible reasons for a session to be outdated.static class
RemoteAuthenticationCallback.SuccessSessionState
TheRemoteAuthenticationCallback.SuccessSessionState
lists possible session states after a Remote authentication success.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onRemoteAuthenticationAborted()
Called upon remote authentication abortionvoid
onRemoteAuthenticationDisplayData(java.lang.String dataToDisplay, RemoteAuthenticationCallback.DisplayDataCaller caller)
Called when the Orchestration SDK needs theRemoteAuthenticationCallback
object to display data to the user for approval.void
onRemoteAuthenticationPasswordError(PasswordError passwordError)
Called upon password error when performing remote authentication.void
onRemoteAuthenticationSessionOutdated(RemoteAuthenticationCallback.SessionOutdatedReason reason)
Called upon remote authentication session outdatedvoid
onRemoteAuthenticationStepComplete(java.lang.String command)
Called when a step of the remote authentication process is complete.void
onRemoteAuthenticationSuccess(RemoteAuthenticationCallback.SuccessSessionState state)
Called upon remote authentication success
-
-
-
Method Detail
-
onRemoteAuthenticationDisplayData
void onRemoteAuthenticationDisplayData(java.lang.String dataToDisplay, RemoteAuthenticationCallback.DisplayDataCaller caller)
Called when the Orchestration SDK needs theRemoteAuthenticationCallback
object to display data to the user for approval.- Parameters:
dataToDisplay
- the data to displaycaller
- aRemoteAuthenticationCallback.DisplayDataCaller
object to use upon user's response
-
onRemoteAuthenticationStepComplete
void onRemoteAuthenticationStepComplete(java.lang.String command)
Called when a step of the remote authentication process is complete. The provided orchestration command is to be sent to the server.- Parameters:
command
- an orchestration command that must be sent to the server
-
onRemoteAuthenticationSuccess
void onRemoteAuthenticationSuccess(RemoteAuthenticationCallback.SuccessSessionState state)
Called upon remote authentication success
-
onRemoteAuthenticationSessionOutdated
void onRemoteAuthenticationSessionOutdated(RemoteAuthenticationCallback.SessionOutdatedReason reason)
Called upon remote authentication session outdated
-
onRemoteAuthenticationAborted
void onRemoteAuthenticationAborted()
Called upon remote authentication abortion
-
onRemoteAuthenticationPasswordError
void onRemoteAuthenticationPasswordError(PasswordError passwordError)
Called upon password error when performing remote authentication.- Parameters:
passwordError
- the type of password error
-
-