LuxChat  2.0
Instant messenger for iOS
Protected Member Functions | Protected Attributes | List of all members
FIRAuthErrors Class Reference

#import <FIRAuthErrors.h>

Protected Member Functions

(typedef) - NS_ENUM
 

Protected Attributes

NSString *const FIRAuthErrorDomain
 The Firebase Auth error domain.
 
NSString *const FIRAuthErrorNameKey
 The name of the key for the "error_name" string in the NSError userinfo dictionary.
 

Detailed Description

Remarks
Error Codes common to all API Methods:
  • FIRAuthErrorCodeNetworkError - Indicates a network error occurred during the operation.
  • FIRAuthErrorCodeUserNotFound - Indicates the user account was not found. This could happen if the user account has been deleted.
  • FIRAuthErrorCodeUserTokenExpired - Indicates the current user’s token has expired, for example, the user may have changed account password on another device. You must prompt the user to sign in again on this device.
  • FIRAuthErrorCodeTooManyRequests - Indicates that the request has been blocked after an abnormal number of requests have been made from the caller device to the Firebase Auth servers. Retry again after some time.
  • FIRAuthErrorCodeInvalidAPIKey - Indicates the application has been configured with an invalid API key.
  • FIRAuthErrorCodeAppNotAuthorized - Indicates the App is not authorized to use Firebase Authentication with the provided API Key. Go to the Google API Console and check under the credentials tab that the API key you are using has your application’s bundle ID whitelisted.
  • FIRAuthErrorCodeKeychainError - Indicates an error occurred while accessing the keychain. The NSLocalizedFailureReasonErrorKey and NSUnderlyingErrorKey fields in the NSError.userInfo dictionary will contain more information about the error encountered.
  • FIRAuthErrorCodeInternalError - Indicates an internal error occurred. Please report the error back to us with the entire NSError object.
Common error codes for FIRUser operations:
  • FIRAuthErrorCodeInvalidUserToken - Indicates that the signed-in user's refresh token, that holds session information, is invalid. You must prompt the user to sign in again on this device.
  • FIRAuthErrorCodeUserDisabled - Indicates the user's account is disabled and can no longer be used until enabled again from within the Users panel in the Firebase console.

Method Documentation

- (typedef) NS_ENUM (NSInteger) 
(FIRAuthErrorCode)   

Indicates a validation error with the custom token.

Indicates the service account and the API key belong to different projects.

Indicates the IDP token or requestUri is invalid.

Indicates the user's account is disabled on the server.

Indicates the administrator disabled sign in with the specified identity provider.

Indicates the email used to attempt a sign up is already in use.

Indicates the email is invalid.

Indicates the user attempted sign in with a wrong password.

Indicates that too many requests were made to a server method.

Indicates the user account was not found.

Indicates account linking is required.

Same enum as FIRAuthErrorCodeAccountExistsWithDifferentCredential , but with incorrect spelling. Only exists for backwards compatiblity.

Indicates the user has attemped to change email or password more than 5 minutes after signing in.

Indicates an attempt to link a provider to which the account is already linked.

Indicates an attempt to unlink a provider that is not linked.

Indicates user's saved auth credential is invalid, the user needs to sign in again.

Indicates a network error occurred (such as a timeout, interrupted connection, or unreachable host). These types of errors are often recoverable with a retry. The NSUnderlyingError field in the NSError.userInfo dictionary will contain the error encountered.

Indicates the saved token has expired, for example, the user may have changed account password on another device. The user needs to sign in again on the device that made this request.

Indicates an invalid API key was supplied in the request.

Indicates that an attempt was made to reauthenticate with a user which is not the current user.

Indicates an attempt to link with a credential that has already been linked with a different Firebase account

Indicates an attempt to set a password that is considered too weak.

Indicates the App is not authorized to use Firebase Authentication with the provided API Key.

Indicates an error occurred while attempting to access the keychain.

Indicates an internal error occurred.


The documentation for this class was generated from the following file: