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 |
@abstract Describes the initial response when starting the device login flow. |
|
15 |
@discussion This is used by `FBSDKDeviceLoginManager`. |
|
16 |
*/ |
|
17 |
NS_SWIFT_NAME(DeviceLoginCodeInfo) |
|
18 |
@interface FBSDKDeviceLoginCodeInfo : NSObject |
|
19 |
|
|
20 |
/*! |
|
21 |
@abstract There is no public initializer. |
|
22 |
*/ |
|
23 |
- (instancetype)init NS_UNAVAILABLE; |
|
24 |
+ (instancetype)new NS_UNAVAILABLE; |
|
25 |
|
|
26 |
/*! |
|
27 |
@abstract the unique id for this login flow. |
|
28 |
*/ |
|
29 |
@property (nonatomic, readonly, copy) NSString *identifier; |
|
30 |
|
|
31 |
/*! |
|
32 |
@abstract the short "user_code" that should be presented to the user. |
|
33 |
*/ |
|
34 |
@property (nonatomic, readonly, copy) NSString *loginCode; |
|
35 |
|
|
36 |
/*! |
|
37 |
@abstract the verification URL. |
|
38 |
*/ |
|
39 |
@property (nonatomic, readonly, copy) NSURL *verificationURL; |
|
40 |
|
|
41 |
/*! |
|
42 |
@abstract the expiration date. |
|
43 |
*/ |
|
44 |
@property (nonatomic, readonly, copy) NSDate *expirationDate; |
|
45 |
|
|
46 |
/*! |
|
47 |
@abstract the polling interval |
|
48 |
*/ |
|
49 |
@property (nonatomic, readonly, assign) NSUInteger pollingInterval; |
|
50 |
|
|
51 |
@end |
|
52 |
|
|
53 |
NS_ASSUME_NONNULL_END |