ConfigureOptions
@authgear/react-native / ConfigureOptions
Interface: ConfigureOptions
ConfigureOptions is options for configuring the Authgear SDK container.
Properties
clientID
clientID:
string
The OAuth client ID. You may find this value in Authgear Portal (Your project > Applications).
endpoint
endpoint:
string
The endpoint. You may find this value in Authgear Portal (Your project > Applications).
fetch()?
optionalfetch: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; (input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Call Signature
(
input,init?):Promise<Response>
Parameters
input
RequestInfo | URL
init?
RequestInit
Returns
Promise<Response>
Call Signature
(
input,init?):Promise<Response>
Parameters
input
RequestInfo
init?
RequestInit
Returns
Promise<Response>
Call Signature
(
input,init?):Promise<Response>
Parameters
input
string | Request | URL
init?
RequestInit
Returns
Promise<Response>
Call Signature
(
input,init?):Promise<Response>
Parameters
input
RequestInfo
init?
RequestInit
Returns
Promise<Response>
isSSOEnabled?
optionalisSSOEnabled: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?
optionalpreAuthenticatedURLEnabled:boolean
When preAuthenticatedURLEnabled is true, native apps can share session with a web browser.
Default Value
false
tokenStorage?
optionaltokenStorage:TokenStorage
An implementation of TokenStorage.
uiImplementation?
optionaluiImplementation:UIImplementation
The implementation of UIImplementation.