onValidCredentialsProvided abstract method Null safety

void onValidCredentialsProvided()

This method is invoked when valid fingerprint credentials were provided and verified locally.

The method is invoked after verifyFingerprint has been invoked and FingerprintUserVerificationHandler.listenForOsCredentials is invoked in the FingerprintUserVerificationHandler of verifyFingerprint and the end-user provides valid fingerprints.

This method can be used for instance to hide the UI used to ask for credentials to the user (some screen asking the user to use the fingerprint sensor) and then display some progress message indicating that the operation is ongoing.

Note that invoking this method does not mean that the UAF operation completed successfully (this is notified through onSuccess methods once the FIDO UAF server validates the request generated with the credentials).

If the user provided invalid credentials, and we are in the context of a recoverable error, then verifyFingerprint will be invoked again. If it is a non-recoverable error, then onSuccess method will be invoked.

Implementation

void onValidCredentialsProvided();