listenForOsCredentials abstract method Null safety

Future<OsAuthenticationListenHandler> listenForOsCredentials(
  1. BiometricPromptOptions biometricOptions
)

When this method is invoked, the SDK will invoke the operating system prompt to ask the user to provide credentials.

So no GUI must be explicitly defined by the code using the SDK (as required in the fingerprint and the PIN authenticators).

Params:

  • biometricOptions: the options to be used when prompting.

Returns an OsAuthenticationListenHandler that can be used to cancel listening for OS credentials.

Implementation

Future<OsAuthenticationListenHandler> listenForOsCredentials(
  BiometricPromptOptions biometricOptions,
);