Skip to main content

OpenAuthorizationURLOptions

@authgear/react-native


@authgear/react-native / OpenAuthorizationURLOptions

Interface: OpenAuthorizationURLOptions

OpenAuthorizationURLOptions is options for UIImplementation.openAuthorizationURL.

Properties​

redirectURI​

redirectURI: string

The URL to be detected by the UIImplementation. When this URL is detected, the UIImplementation MUST return this URL, and close itself.


shareCookiesWithDeviceBrowser​

shareCookiesWithDeviceBrowser: boolean

A flag to tell the UIImplementation that cookies should be shared with the device browser. This flag is only useful to UIImplementation that can share cookies with the device browser, such as those underlying implementations are based on ASWebAuthenticationSession, or CustomTabs.


url​

url: string

The URL to be opened by the UIImplementation.