commit | author | age
|
2e29a3
|
1 |
/* |
L |
2 |
* Copyright (c) Meta Platforms, Inc. and affiliates. |
|
3 |
* All rights reserved. |
|
4 |
* |
|
5 |
* This source code is licensed under the license found in the |
|
6 |
* LICENSE file in the root directory of this source tree. |
|
7 |
*/ |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
|
|
11 |
NS_ASSUME_NONNULL_BEGIN |
|
12 |
|
e0ec42
|
13 |
/// Flags that indicate how a graph request should be treated in various scenarios |
2e29a3
|
14 |
typedef NS_OPTIONS(NSUInteger, FBSDKGraphRequestFlags) { |
L |
15 |
FBSDKGraphRequestFlagNone = 0, |
e0ec42
|
16 |
/// indicates this request should not use a client token as its token parameter |
2e29a3
|
17 |
FBSDKGraphRequestFlagSkipClientToken = 1 << 1, |
e0ec42
|
18 |
/// indicates this request should not close the session if its response is an oauth error |
2e29a3
|
19 |
FBSDKGraphRequestFlagDoNotInvalidateTokenOnError = 1 << 2, |
e0ec42
|
20 |
/// indicates this request should not perform error recovery |
2e29a3
|
21 |
FBSDKGraphRequestFlagDisableErrorRecovery = 1 << 3, |
L |
22 |
} NS_SWIFT_NAME(GraphRequestFlags); |
|
23 |
|
|
24 |
NS_ASSUME_NONNULL_END |