Skip to content

Commit 0af9991

Browse files
author
Austin McBee
authored
move connectionTimeoutSeconds to correct sections (#702)
1 parent 0cece14 commit 0af9991

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ with optional overrides.
136136
- **useNonce** - (`boolean`) (default: true) optionally allows not sending the nonce parameter, to support non-compliant providers
137137
- **usePKCE** - (`boolean`) (default: true) optionally allows not sending the code_challenge parameter and skipping PKCE code verification, to support non-compliant providers.
138138
- **skipCodeExchange** - (`boolean`) (default: false) just return the authorization response, instead of automatically exchanging the authorization code. This is useful if this exchange needs to be done manually (not client-side)
139+
- **connectionTimeoutSeconds** - (`number`) configure the request timeout interval in seconds. This must be a positive number. The default values are 60 seconds on iOS and 15 seconds on Android.
139140

140141
#### result
141142

@@ -151,7 +152,6 @@ This is the result from the auth server:
151152
- **scopes** - ([`string`]) the scopes the user has agreed to be granted
152153
- **authorizationCode** - (`string`) the authorization code (only if `skipCodeExchange=true`)
153154
- **codeVerifier** - (`string`) the codeVerifier value used for the PKCE exchange (only if both `skipCodeExchange=true` and `usePKCE=true`)
154-
- **connectionTimeoutSeconds** - (`number`) configure the request timeout interval in seconds. This must be a positive number. The default values are 60 seconds on iOS and 15 seconds on Android.
155155

156156
### `refresh`
157157

@@ -241,6 +241,7 @@ const registerResult = await register(registerConfig);
241241
`hello=world&foo=bar` to the authorization request.
242242
- **dangerouslyAllowInsecureHttpRequests** - (`boolean`) _ANDROID_ same as in authorization config
243243
- **customHeaders** - (`object`) _ANDROID_ same as in authorization config
244+
- **connectionTimeoutSeconds** - (`number`) configure the request timeout interval in seconds. This must be a positive number. The default values are 60 seconds on iOS and 15 seconds on Android.
244245

245246
#### registerResult
246247

0 commit comments

Comments
 (0)