| | |
| | | /*! |
| | | @abstract A delegate for `FBSDKDeviceLoginManager`. |
| | | */ |
| | | NS_SWIFT_NAME(DeviceLoginManagerDelegate) |
| | | @protocol FBSDKDeviceLoginManagerDelegate <NSObject> |
| | | |
| | | /*! |
| | |
| | | @param loginManager the login manager instance. |
| | | @param codeInfo the code info data. |
| | | */ |
| | | - (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager startedWithCodeInfo:(FBSDKDeviceLoginCodeInfo *)codeInfo; |
| | | - (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager |
| | | startedWithCodeInfo:(FBSDKDeviceLoginCodeInfo *)codeInfo; |
| | | |
| | | /*! |
| | | @abstract Indicates the device login flow has finished. |
| | |
| | | |
| | | See [Facebook Device Login](https://developers.facebook.com/docs/facebook-login/for-devices). |
| | | */ |
| | | NS_SWIFT_NAME(DeviceLoginManager) |
| | | @interface FBSDKDeviceLoginManager : NSObject <NSNetServiceDelegate> |
| | | |
| | | /*! |
| | | @abstract Initializes a new instance. |
| | | @param permissions permissions to request. |
| | | */ |
| | | - (instancetype)initWithPermissions:(nullable NSArray<NSString *> *)permissions |
| | | - (instancetype)initWithPermissions:(NSArray<NSString *> *)permissions |
| | | enableSmartLogin:(BOOL)enableSmartLogin |
| | | NS_DESIGNATED_INITIALIZER; |
| | | |
| | |
| | | /*! |
| | | @abstract the requested permissions. |
| | | */ |
| | | @property (nullable, nonatomic, copy, readonly) NSArray<NSString *> *permissions; |
| | | @property (nonatomic, copy, readonly) NSArray<NSString *> *permissions; |
| | | |
| | | /*! |
| | | @abstract the optional URL to redirect the user to after they complete the login. |