Add CancellationToken to WebAuthenticator #26137
Labels
area-essentials
Essentials: Device, Display, Connectivity, Secure Storage, Sensors, App Info
good first issue
Good for newcomers
proposal/open
t/enhancement ☀️
New feature or request
Milestone
Description
It would be great to be able to cancel WebAuthenticator.AuthenticateAsync programatically using a CancellationToken.
Right now, TaskCancelledException is only thrown if the user taps the close button on the Chrome Custom Tab.
Public API Changes
Intended Use-Case
The intended use case would be to cancel the WebAuthenticator programmatically.
An example would be if the Chrome Custom Tabs Activity is closed due to deep linking.
The text was updated successfully, but these errors were encountered: