launchCustomTabs

fun Activity.launchCustomTabs(pendingBrowserAuthenticationChallenge: BrowserAuthenticationChallenge)

Launches the custom tabs activity with the provided browser authentication challenge.

This method determines the appropriate URL and whether to use a private web browser session based on the type of BrowserAuthenticationChallenge provided. It supports OAuth user sign-in, IAP sign-in, and IAP sign-out challenges.

Additionally, if the device does not have a default browser that supports Custom Tabs, it cancels the authentication challenge with a CustomTabsNotFoundException.

Receiver

an Activity used to launch the CustomTabsIntent.

Since

200.8.0

Parameters

pendingBrowserAuthenticationChallenge

the BrowserAuthenticationChallenge containing the necessary information to complete the authentication process.