Skip to main content

ConfigureOptions

@authgear/capacitor


@authgear/capacitor / ConfigureOptions

Interface: ConfigureOptions

Properties

clientID

clientID: string

The OAuth client ID.


endpoint

endpoint: string

The endpoint.


fetch?

optional fetch: {(input, init?): Promise<Response>; (input, init?): Promise<Response>; (input, init?): Promise<Response>; } & {(input, init?): Promise<Response>; (input, init?): Promise<Response>; (input, init?): Promise<Response>; (input, init?): Promise<Response>; }


isSSOEnabled?

optional isSSOEnabled: boolean

Single-sign-on (SSO) is defined as login once, logged in all apps. When isSSOEnabled is true, users only need to enter their authentication credentials once. When the user login the second app, they will see the continue screen so that they can log in with just a click. Logout from one app will also logout from all the apps.

Default Value

false

preAuthenticatedURLEnabled?

optional preAuthenticatedURLEnabled: boolean

When preAuthenticatedURLEnabled is true, native apps can share session with a web browser.

Default Value

false

tokenStorage?

optional tokenStorage: TokenStorage

An implementation of TokenStorage.


uiImplementation?

optional uiImplementation: UIImplementation