authorize

suspend fun authorize(verificationUriComplete: String)

Opens verificationUriComplete in a browser tab (Custom Tab / Auth Tab) so the user can approve the device authorization request.

This call is non-blocking with respect to the polling Flow — the caller should launch it in a separate coroutine. A BrowserCanceledException is silently swallowed because tab dismissal is an expected user action. Any other exception is propagated to the caller.

Parameters

verificationUriComplete

The verification URI (typically contains the user code as a query parameter for pre-filled approval).