DeviceBrowserUIImplementation
@authgear/capacitor / DeviceBrowserUIImplementation
Class: DeviceBrowserUIImplementation
DeviceBrowserUIImplementation is ASWebAuthenticationSession on iOS, and Custom Tabs on Android.
Implements
Constructors
Constructor
new DeviceBrowserUIImplementation():
DeviceBrowserUIImplementation
Returns
DeviceBrowserUIImplementation
Methods
openAuthorizationURL()
openAuthorizationURL(
options):Promise<string>
openAuthorizationURL must open options.url. When redirectURI is detected, the implementation must close itself and return the redirectURI with query. If the end-user closes it, then openAuthorizationURL must reject the promise with CancelError.
Parameters
options
Returns
Promise<string>