verifyPin abstract method

void verifyPin(
  1. PinUserVerificationContext context,
  2. PinUserVerificationHandler handler
)

The user verification interaction called during authentication.

If there is a recoverable error during the verification, this method will be invoked again, and the PinUserVerificationContext.lastRecoverableError will contain the error. The recoverable error can be used to inform the user of the recoverable error that occurred, because the UI is the responsibility of the developer using the SDK.

If the user provided invalid credentials, and it results in a non-recoverable error, then the onError method will be invoked.

Params:

  • context: the object providing the information required for the verification process.
  • handler: the object that must be notified with the result of the interaction.

Implementation

void verifyPin(
  PinUserVerificationContext context,
  PinUserVerificationHandler handler,
);