Open a device authorization verification URL in the on-device browser.
Device client handle returned by createOidcDeviceClient.
Verification URI (prefer verificationUriComplete
from the started status so the user code is prefilled).
{ type: 'success' } when the browser flow completed, or
{ type: 'cancel' } when the user dismissed the browser.
Mirrors the native SDK's device-client browser launch: iOS presents the URL
in an SFSafariViewController, Android launches a Custom Tab / Auth Tab.
The device authorization polling loop (started with
OidcDeviceClient.authorize) keeps running while the browser is open, so
completing or dismissing the browser does not stop the flow. Dismissing the
browser resolves to { type: 'cancel' }; it does not cancel the underlying
authorization.
Open a device authorization verification URL in the on-device browser.
Remarks
Mirrors the native SDK's device-client browser launch: iOS presents the URL in an
SFSafariViewController, Android launches a Custom/Auth Tab. The device authorization polling loop (started with OidcDeviceClient.authorize) keeps running while the browser is open, so completing or dismissing the browser does not stop the flow. Dismissing the browser resolves to{ type: 'cancel' }; it does not cancel the underlying authorization.Param: client
Device client handle returned by createOidcDeviceClient.
Param: verificationUri
Verification URI (prefer
verificationUriCompletefrom thestartedstatus so the user code is prefilled).Returns
{ type: 'success' }when the browser flow completed, or{ type: 'cancel' }when the user dismissed the browser.Throws
OidcError with
state_errorwhen the client has been disposed, or withargument_errorwhenverificationUriis blank.Throws
OidcError when the native browser launch fails (for example an invalid URL or a missing
redirectUrischeme on iOS).Example