selectAuthenticator abstract method

void selectAuthenticator(
  1. AuthenticatorSelectionContext context,
  2. AuthenticatorSelectionHandler handler
)

The authenticator selection interaction.

The implementing class must ask the user to choose one of the authenticators exposed by the AuthenticatorSelectionContext and provide the choice to the AuthenticatorSelectionHandler.

Note, that in the case of transaction confirmation (which can be considered a special case of authentication) the implementing classes must present the contents of the transaction (if any) to the user for verification (see AuthenticatorSelectionContext.transactionConfirmationData).

Params:

  • context: the object containing the list of existing authenticators.
  • handler: the object that is notified of the selection result.

Implementation

void selectAuthenticator(
  AuthenticatorSelectionContext context,
  AuthenticatorSelectionHandler handler,
);