You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,7 @@ This is the result from the auth server:
151
151
-**scopes** - ([`string`]) the scopes the user has agreed to be granted
152
152
-**authorizationCode** - (`string`) the authorization code (only if `skipCodeExchange=true`)
153
153
-**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.
154
155
155
156
### `refresh`
156
157
@@ -201,12 +202,12 @@ This method will logout a user, as per the [OpenID Connect RP Initiated Logout](
201
202
import { logout } from'react-native-app-auth';
202
203
203
204
constconfig= {
204
-
issuer:'<YOUR_ISSUER_URL>'
205
+
issuer:'<YOUR_ISSUER_URL>',
205
206
};
206
207
207
208
constresult=awaitlogout(config, {
208
209
idToken:'<ID_TOKEN>',
209
-
postLogoutRedirectUrl:'<POST_LOGOUT_URL>'
210
+
postLogoutRedirectUrl:'<POST_LOGOUT_URL>',
210
211
});
211
212
```
212
213
@@ -276,14 +277,14 @@ are not distributed as part of the bridge.
276
277
277
278
AppAuth supports three options for dependency management.
278
279
279
-
1.**CocoaPods**
280
+
1.**CocoaPods**
280
281
281
282
```sh
282
283
cd ios
283
284
pod install
284
285
```
285
286
286
-
2. **Carthage**
287
+
2. **Carthage**
287
288
288
289
With [Carthage](https://github.com/Carthage/Carthage), add the following line to your `Cartfile`:
289
290
@@ -295,7 +296,7 @@ AppAuth supports three options for dependency management.
295
296
296
297
Add a copy files build step for`AppAuth.framework`: open Build Phases on Xcode, add a new "Copy Files" phase, choose "Frameworks" as destination, add `AppAuth.framework` and ensure "Code Sign on Copy" is checked.
297
298
298
-
3. **Static Library**
299
+
3. **Static Library**
299
300
300
301
You can also use [AppAuth-iOS](https://github.com/openid/AppAuth-iOS) as a static library. This
301
302
requires linking the library and your project and including the headers. Suggested configuration:
0 commit comments