lipengwei
2019-09-26 88188ea7992a90e66db694e9fc1b304a59608044
frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h
@@ -18,6 +18,8 @@
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
/**
@@ -25,7 +27,8 @@
 Error codes from the SDK in the range 300-399 are reserved for this domain.
 */
FOUNDATION_EXPORT NSErrorDomain const FBSDKLoginErrorDomain;
FOUNDATION_EXPORT NSErrorDomain const FBSDKLoginErrorDomain
NS_SWIFT_NAME(LoginErrorDomain);
#else
@@ -34,7 +37,8 @@
 Error codes from the SDK in the range 300-399 are reserved for this domain.
 */
FOUNDATION_EXPORT NSString *const FBSDKLoginErrorDomain;
FOUNDATION_EXPORT NSString *const FBSDKLoginErrorDomain
NS_SWIFT_NAME(LoginErrorDomain);
#endif
@@ -54,6 +58,7 @@
    Reserved.
   */
  FBSDKLoginErrorReserved = 300,
  /**
    The error code for unknown errors.
   */
@@ -63,14 +68,17 @@
    The user's password has changed and must log in again
  */
  FBSDKLoginErrorPasswordChanged,
  /**
    The user must log in to their account on www.facebook.com to restore access
  */
  FBSDKLoginErrorUserCheckpointed,
  /**
    Indicates a failure to request new permissions because the user has changed.
   */
  FBSDKLoginErrorUserMismatch,
  /**
    The user must confirm their account with Facebook before logging in
  */
@@ -82,15 +90,17 @@
   been disabled.
   */
  FBSDKLoginErrorSystemAccountAppDisabled,
  /**
    An error occurred related to Facebook system Account store
  */
  FBSDKLoginErrorSystemAccountUnavailable,
  /**
    The login response was missing a valid challenge string.
  */
  FBSDKLoginErrorBadChallengeString,
};
} NS_SWIFT_NAME(LoginError);
/**
 FBSDKDeviceLoginError
@@ -113,30 +123,6 @@
   The code you entered has expired.
   */
  FBSDKDeviceLoginErrorCodeExpired = 1349152
};
} NS_SWIFT_NAME(DeviceLoginError);
/**
 Deprecated
 */
typedef NS_ENUM(NSInteger, FBSDKLoginErrorCode)
{
  FBSDKLoginReservedErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorReserved instead") = FBSDKLoginErrorReserved,
  FBSDKLoginUnknownErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorUnknown instead"),
  FBSDKLoginPasswordChangedErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorPasswordChanged instead"),
  FBSDKLoginUserCheckpointedErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorUserCheckpointed instead"),
  FBSDKLoginUserMismatchErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorUserMismatch instead"),
  FBSDKLoginUnconfirmedUserErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorUnconfirmedUser instead"),
  FBSDKLoginSystemAccountAppDisabledErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorSystemAccountAppDisabled instead"),
  FBSDKLoginSystemAccountUnavailableErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorSystemAccountUnavailable instead"),
  FBSDKLoginBadChallengeString DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorBadChallengeString instead"),
} DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginError instead");
/**
 Deprecated
 */
typedef NS_ENUM(NSUInteger, FBSDKDeviceLoginErrorSubcode) {
  FBSDKDeviceLoginExcessivePollingErrorSubcode DEPRECATED_MSG_ATTRIBUTE("use FBSDKDeviceLoginErrorExcessivePolling instead") = FBSDKDeviceLoginErrorExcessivePolling,
  FBSDKDeviceLoginAuthorizationDeclinedErrorSubcode DEPRECATED_MSG_ATTRIBUTE("use FBSDKDeviceLoginErrorAuthorizationDeclined instead") = FBSDKDeviceLoginErrorAuthorizationDeclined,
  FBSDKDeviceLoginAuthorizationPendingErrorSubcode DEPRECATED_MSG_ATTRIBUTE("use FBSDKDeviceLoginErrorAuthorizationPending instead") = FBSDKDeviceLoginErrorAuthorizationPending,
  FBSDKDeviceLoginCodeExpiredErrorSubcode DEPRECATED_MSG_ATTRIBUTE("use FBSDKDeviceLoginErrorCodeExpired instead") = FBSDKDeviceLoginErrorCodeExpired
} DEPRECATED_MSG_ATTRIBUTE("use FBSDKDeviceLoginError instead");
NS_ASSUME_NONNULL_END