Skip to main content

@authgear/react-native / ConfigureOptions

Interface: ConfigureOptions

ConfigureOptions is options for configuring the Authgear SDK container.

Table of contents

Properties

Properties

clientID

clientID: string

The OAuth client ID. You may find this value in Authgear Portal (Your project > Applications).

Defined in

packages/authgear-react-native/index.d.ts:684


endpoint

endpoint: string

The endpoint. You may find this value in Authgear Portal (Your project > Applications).

Defined in

packages/authgear-react-native/index.d.ts:688


fetch

Optional fetch: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>(input: RequestInfo, init?: RequestInit) => Promise<Response>(input: RequestInfo, init?: RequestInit) => Promise<Response>(input: string | Request | URL, init?: RequestInit) => Promise<Response>

Type declaration

▸ (input, init?): Promise<Response>

MDN Reference

Parameters
NameType
inputRequestInfo | URL
init?RequestInit
Returns

Promise<Response>

▸ (input, init?): Promise<Response>

Parameters
NameType
inputRequestInfo
init?RequestInit
Returns

Promise<Response>

▸ (input, init?): Promise<Response>

Parameters
NameType
inputRequestInfo
init?RequestInit
Returns

Promise<Response>

▸ (input, init?): Promise<Response>

Parameters
NameType
inputstring | Request | URL
init?RequestInit
Returns

Promise<Response>

Defined in

packages/authgear-react-native/index.d.ts:710


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

Defined in

packages/authgear-react-native/index.d.ts:700


preAuthenticatedURLEnabled

Optional preAuthenticatedURLEnabled: boolean

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

Default Value

false

Defined in

packages/authgear-react-native/index.d.ts:705


tokenStorage

Optional tokenStorage: TokenStorage

An implementation of TokenStorage.

Defined in

packages/authgear-react-native/index.d.ts:692


uiImplementation

Optional uiImplementation: UIImplementation

The implementation of UIImplementation.

Defined in

packages/authgear-react-native/index.d.ts:709