listenForOsCredentials abstract method
- DevicePasscodePromptOptions devicePasscodePromptOptions
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 with the fingerprint, PIN and password authenticators).
IMPORTANT
The returned OsAuthenticationListenHandler is Android specific.
Params:
- devicePasscodePromptOptions: the options to be used when prompting.
Returns: an OsAuthenticationListenHandler that can be used to cancel, pause or resume listening for OS credentials.
Implementation
Future<OsAuthenticationListenHandler> listenForOsCredentials(
DevicePasscodePromptOptions devicePasscodePromptOptions,
);