Interface UserAuthenticationCallback
-
public interface UserAuthenticationCallback
TheUserAuthenticationCallback
interface defines the specific elements required for the integrator to interact during a User Authentication flow.If the integrator use a custom user authentication, this interface will be call during any flow where a User Authentication is needed.
A
UserAuthenticationCallback
object should be provided to theOrchestrator
object (SeeOrchestrator.setUserAuthenticationCallback(UserAuthenticationCallback, UserAuthentication[])
) in order to receive feedback during the user password authentication process.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
UserAuthenticationCallback.UserAuthentication
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onUserAuthenticationInputError(InputError error)
Called upon user input error when it is not conform for the Orchestration library.void
onUserAuthenticationRequired(UserAuthenticationCallback.UserAuthentication type, UserAuthenticationInputCallback inputCallback, boolean isEnrollment)
Called when a specific user authentication have been overridden and if an user authentication is required by the Orchestration library.
-
-
-
Method Detail
-
onUserAuthenticationRequired
void onUserAuthenticationRequired(UserAuthenticationCallback.UserAuthentication type, UserAuthenticationInputCallback inputCallback, boolean isEnrollment)
Called when a specific user authentication have been overridden and if an user authentication is required by the Orchestration library. A authentication should be presented to the user. And the user input should be returned throw the inputCallback.- Parameters:
type
-UserAuthenticationCallback.UserAuthentication
the type of authentication asked by the Orchestration libraryinputCallback
- aUserAuthenticationInputCallback
callback to give the user input to the Orchestration libraryisEnrollment
- is set to true in case of enrollment
-
onUserAuthenticationInputError
void onUserAuthenticationInputError(InputError error)
Called upon user input error when it is not conform for the Orchestration library.- Parameters:
error
- the type of input error
-
-