pauseListening abstract method Null safety

Future<OsAuthenticationListenHandler> pauseListening()

Pauses listening for OS credentials.

If the application is listening for OS credentials and it is brought to the background, then the operating system will cancel automatically listening for credentials and will send an error. This method must be invoked when the application is brought to the background for the SDK not to send an error.

Invoking this method will have effect only if cancelAuthentication was not previously invoked.

Returns: the OsAuthenticationListenHandler to handle the new listening

Implementation

Future<OsAuthenticationListenHandler> pauseListening();