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