Skip to main content

@authgear/capacitor / WebKitWebViewUIImplementation

Class: WebKitWebViewUIImplementation

WebKitWebViewUIImplementation is WKWebView on iOS, android.webkit.WebView on Android.

Implements

Table of contents

Constructors

Methods

Constructors

constructor

new WebKitWebViewUIImplementation(options?): WebKitWebViewUIImplementation

Parameters

NameType
options?WebKitWebViewUIImplementationOptions

Returns

WebKitWebViewUIImplementation

Defined in

packages/authgear-capacitor/index.d.ts:1046

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

NameType
optionsOpenAuthorizationURLOptions

Returns

Promise<string>

Implementation of

UIImplementation.openAuthorizationURL

Defined in

packages/authgear-capacitor/index.d.ts:1047