diff options
Diffstat (limited to 'Firebase/Auth/Source/Public/FIRAuthErrors.h')
-rw-r--r-- | Firebase/Auth/Source/Public/FIRAuthErrors.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Firebase/Auth/Source/Public/FIRAuthErrors.h b/Firebase/Auth/Source/Public/FIRAuthErrors.h index 1691228..fdfee19 100644 --- a/Firebase/Auth/Source/Public/FIRAuthErrors.h +++ b/Firebase/Auth/Source/Public/FIRAuthErrors.h @@ -16,8 +16,6 @@ #import <Foundation/Foundation.h> -#import "FIRAuthSwiftNameSupport.h" - /** @class FIRAuthErrors @remarks Error Codes common to all API Methods: <ul> @@ -36,31 +34,31 @@ <li>@c FIRAuthErrorCodeUserDisabled</li> </ul> */ -FIR_SWIFT_NAME(AuthErrors) +NS_SWIFT_NAME(AuthErrors) @interface FIRAuthErrors /** @brief The Firebase Auth error domain. */ -extern NSString *const FIRAuthErrorDomain FIR_SWIFT_NAME(AuthErrorDomain); +extern NSString *const FIRAuthErrorDomain NS_SWIFT_NAME(AuthErrorDomain); /** @brief The key used to read the updated credential from the userinfo dictionary of the NSError object returned in the case that the credential being linked in already in use. */ -extern NSString *const FIRAuthUpdatedCredentialKey FIR_SWIFT_NAME(AuthUpdatedCredentialKey); +extern NSString *const FIRAuthUpdatedCredentialKey NS_SWIFT_NAME(AuthUpdatedCredentialKey); /** @brief The name of the key for the "error_name" string in the NSError userinfo dictionary. */ -extern NSString *const FIRAuthErrorNameKey FIR_SWIFT_NAME(AuthErrorNameKey); +extern NSString *const FIRAuthErrorNameKey NS_SWIFT_NAME(AuthErrorNameKey); /** @brief Errors with the code @c FIRAuthErrorCodeAccountExistsWithDifferentCredential may contain an @c NSError.userInfo dictinary object which contains this key. The value associated with this key is an NSString of the email address of the account that already exists. */ -extern NSString *const FIRAuthErrorUserInfoEmailKey FIR_SWIFT_NAME(AuthErrorUserInfoEmailKey); +extern NSString *const FIRAuthErrorUserInfoEmailKey NS_SWIFT_NAME(AuthErrorUserInfoEmailKey); /** @brief Error codes used by Firebase Auth. @@ -308,6 +306,6 @@ typedef NS_ENUM(NSInteger, FIRAuthErrorCode) { /** Indicates an internal error occurred. */ FIRAuthErrorCodeInternalError = 17999, -} FIR_SWIFT_NAME(AuthErrorCode); +} NS_SWIFT_NAME(AuthErrorCode); @end |