From 17e981a3c4cd9b41283ebe7e8dcbbce26d282a8a Mon Sep 17 00:00:00 2001 From: hank <hank.zhang@proficientcity.com> Date: Thu, 30 Aug 2018 09:25:54 +0800 Subject: [PATCH] [Update] WAFbImpl (3.7.0) --- frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h | 72 ++++++++++++++++++++++++------------ 1 files changed, 48 insertions(+), 24 deletions(-) diff --git a/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h b/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h index 100c09a..dcb1930 100644 --- a/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h +++ b/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h @@ -20,56 +20,80 @@ #import <FBSDKCoreKit/FBSDKMacros.h> -/*! - @abstract The error domain for all errors from FBSDKLoginKit - @discussion Error codes from the SDK in the range 300-399 are reserved for this domain. +/** + The error domain for all errors from FBSDKLoginKit + + Error codes from the SDK in the range 300-399 are reserved for this domain. */ FBSDK_EXTERN NSString *const FBSDKLoginErrorDomain; -/*! - @typedef NS_ENUM(NSInteger, FBSDKLoginErrorCode) - @abstract Error codes for FBSDKLoginErrorDomain. +/** + NS_ENUM(NSInteger, FBSDKLoginErrorCode) + Error codes for FBSDKLoginErrorDomain. */ typedef NS_ENUM(NSInteger, FBSDKLoginErrorCode) { - /*! - @abstract Reserved. + /** + Reserved. */ FBSDKLoginReservedErrorCode = 300, - /*! - @abstract The error code for unknown errors. + /** + The error code for unknown errors. */ FBSDKLoginUnknownErrorCode, - /*! - @abstract The user's password has changed and must log in again + /** + The user's password has changed and must log in again */ FBSDKLoginPasswordChangedErrorCode, - /*! - @abstract The user must log in to their account on www.facebook.com to restore access + /** + The user must log in to their account on www.facebook.com to restore access */ FBSDKLoginUserCheckpointedErrorCode, - /*! - @abstract Indicates a failure to request new permissions because the user has changed. + /** + Indicates a failure to request new permissions because the user has changed. */ FBSDKLoginUserMismatchErrorCode, - /*! - @abstract The user must confirm their account with Facebook before logging in + /** + The user must confirm their account with Facebook before logging in */ FBSDKLoginUnconfirmedUserErrorCode, - /*! - @abstract The Accounts framework failed without returning an error, indicating the + /** + The Accounts framework failed without returning an error, indicating the app's slider in the iOS Facebook Settings (device Settings -> Facebook -> App Name) has been disabled. */ FBSDKLoginSystemAccountAppDisabledErrorCode, - /*! - @abstract An error occurred related to Facebook system Account store + /** + An error occurred related to Facebook system Account store */ FBSDKLoginSystemAccountUnavailableErrorCode, - /*! - @abstract The login response was missing a valid challenge string. + /** + The login response was missing a valid challenge string. */ FBSDKLoginBadChallengeString, }; + +/** + NS_ENUM(NSInteger, FBSDKDeviceLoginErrorCode) + Error codes for FBSDKDeviceLoginErrorDomain. + */ +typedef NS_ENUM(NSUInteger, FBSDKDeviceLoginErrorSubcode) { + /** + Your device is polling too frequently. + */ + FBSDKDeviceLoginExcessivePollingErrorSubcode = 1349172, + /** + User has declined to authorize your application. + */ + FBSDKDeviceLoginAuthorizationDeclinedErrorSubcode = 1349173, + /** + User has not yet authorized your application. Continue polling. + */ + FBSDKDeviceLoginAuthorizationPendingErrorSubcode = 1349174, + /** + The code you entered has expired. + */ + FBSDKDeviceLoginCodeExpiredErrorSubcode = 1349152 +}; -- Gitblit v1.8.0