Gallagher Mobile Connect SDK
|
Public Member Functions | |
void | onRegistrationCompleted (@Nullable MobileCredential credential, @Nullable RegistrationError error) |
void | onAuthenticationTypeSelectionRequested (SecondFactorAuthenticationTypeSelector selector) |
An interface which helps determine the results of activating a Mobile Credential
void com.gallagher.security.mobileaccess.RegistrationListener.onAuthenticationTypeSelectionRequested | ( | SecondFactorAuthenticationTypeSelector | selector | ) |
function which gets called if the credential being registered is a two factor credential
selector | a blocking lambda that needs to be called passing completed(true/false) and SecondFactorAuthenticationType to allow the registration process to complete |
void com.gallagher.security.mobileaccess.RegistrationListener.onRegistrationCompleted | ( | @Nullable MobileCredential | credential, |
@Nullable RegistrationError | error | ||
) |
Function which gets called once the credential registration is completed successfully. Otherwise, a non-nil error to indicate failure
credential | If non-nil instance of the registered credential when the registration completes successfully |
error | If non-nil, the registration failed, and this contains the error |