listenForOsCredentials abstract method Null safety

Future<OsAuthenticationListenHandler> listenForOsCredentials()

When this method is invoked, the SDK will wait for the user to provide credentials.

If the credentials are provided, it will be checked that they are valid.

Before invoking this method, some user interface should be presented to the end user asking to provide OS credentials (in the case of fingerprint, the user should be asked to place finger in the sensor to authenticate).

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

Implementation

Future<OsAuthenticationListenHandler> listenForOsCredentials();