An object that can be used to resume listening for OS credentials (i.e. fingerprint, face recognition) and to cancel the whole operation while listening for credentials.

This is used with Aaid.BIOMETRIC, Aaid.DEVICE_PASSCODE and Aaid.FINGERPRINT authenticator attestation identifier.

Hierarchy

  • OsAuthenticationListenHandler

Methods

  • Cancels the authentication operation.

    This will result in the operation being cancelled and a FidoErrorCodeType.UserCanceled will be passed to the registration or authentication service delegates.

    Returns Promise<void>

  • Pauses listening for OS credentials.

    If the application is listening for OS credentials, and it is brought to the background, then the operating system will cancel automatically listening for credentials and will send an error. This method must be invoked when the application is brought to the background for the SDK not to send an error.

    Invoking this method will have effect only if cancelAuthentication was not previously invoked.

    Returns Promise<OsAuthenticationListenHandler>

    the OsAuthenticationListenHandler to handle the new listening.

Generated using TypeDoc