commit | author | age
|
e0ec42
|
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 |
|
|
13 |
/// Flags that indicate how a graph request should be treated in various scenarios |
|
14 |
typedef NS_OPTIONS(NSUInteger, FBSDKGraphRequestFlags) { |
|
15 |
FBSDKGraphRequestFlagNone = 0, |
|
16 |
/// indicates this request should not use a client token as its token parameter |
|
17 |
FBSDKGraphRequestFlagSkipClientToken = 1 << 1, |
|
18 |
/// indicates this request should not close the session if its response is an oauth error |
|
19 |
FBSDKGraphRequestFlagDoNotInvalidateTokenOnError = 1 << 2, |
|
20 |
/// indicates this request should not perform error recovery |
|
21 |
FBSDKGraphRequestFlagDisableErrorRecovery = 1 << 3, |
|
22 |
} NS_SWIFT_NAME(GraphRequestFlags); |
|
23 |
|
|
24 |
NS_ASSUME_NONNULL_END |