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 |
@class FBSDKAccessToken; |
|
12 |
|
|
13 |
NS_ASSUME_NONNULL_BEGIN |
|
14 |
|
|
15 |
/*! |
|
16 |
@abstract Represents the results of the a device login flow. |
|
17 |
@discussion This is used by `FBSDKDeviceLoginManager`. |
|
18 |
*/ |
|
19 |
NS_SWIFT_NAME(DeviceLoginManagerResult) |
|
20 |
@interface FBSDKDeviceLoginManagerResult : NSObject |
|
21 |
|
|
22 |
/*! |
|
23 |
@abstract There is no public initializer. |
|
24 |
*/ |
|
25 |
- (instancetype)init NS_UNAVAILABLE; |
|
26 |
+ (instancetype)new NS_UNAVAILABLE; |
|
27 |
|
|
28 |
/*! |
|
29 |
@abstract The token. |
|
30 |
*/ |
|
31 |
@property (nullable, nonatomic, readonly, strong) FBSDKAccessToken *accessToken; |
|
32 |
|
|
33 |
/*! |
|
34 |
@abstract Indicates if the login was cancelled by the user, or if the device |
|
35 |
login code has expired. |
|
36 |
*/ |
|
37 |
@property (nonatomic, readonly, getter = isCancelled, assign) BOOL cancelled; |
|
38 |
|
|
39 |
@end |
|
40 |
|
|
41 |
NS_ASSUME_NONNULL_END |