FirebaseAuthError class
- Inheritance
-
- Object
- FirebaseException
- FirebaseAuthError
Constructors
- FirebaseAuthError(String code, String message)
- FirebaseAuthError.billingNotEnabled([String? message])
- FirebaseAuthError.claimsTooLarge([String? message])
-
The claims payload provided to
setCustomUserClaims
exceeds the maximum allowed size of 1000 bytes. - FirebaseAuthError.CONFIGURATION_EXISTS([String? message])
- FirebaseAuthError.CONFIGURATION_NOT_FOUND([String? message])
- FirebaseAuthError.emailAlreadyExists([String? message])
- The provided email is already in use by an existing user. Each user must have a unique email.
- FirebaseAuthError.forbiddenClaim([String? message])
- One or more custom user claims provided to setCustomUserClaims() are reserved.
- FirebaseAuthError.fromServerError(String serverErrorCode, [String? message, dynamic rawServerResponse])
-
Creates the developer-facing error corresponding to the backend error code.
factory
- FirebaseAuthError.idTokenExpired([String? message])
- The provided Firebase ID token is expired.
- FirebaseAuthError.idTokenRevoked([String? message])
- The Firebase ID token has been revoked.
- FirebaseAuthError.insufficientPermission([String? message])
- The credential used to initialize the Admin SDK has insufficient permission to access the requested Authentication resource.
- FirebaseAuthError.internalError([String? message, dynamic rawServerResponse])
- The Authentication server encountered an unexpected error while trying to process the request.
- FirebaseAuthError.INVALID_CONFIG([String? message])
- FirebaseAuthError.INVALID_NAME([String? message])
- FirebaseAuthError.INVALID_OAUTH_CLIENT_ID([String? message])
- FirebaseAuthError.INVALID_PROJECT_ID([String? message])
- FirebaseAuthError.INVALID_TENANT_ID([String? message])
- FirebaseAuthError.INVALID_TENANT_TYPE([String? message])
- FirebaseAuthError.INVALID_TOKENS_VALID_AFTER_TIME([String? message])
- FirebaseAuthError.invalidArgument([String? message])
- An invalid argument was provided to an Authentication method.
- FirebaseAuthError.invalidClaims([String? message])
- The custom claim attributes provided to setCustomUserClaims() are invalid.
- FirebaseAuthError.invalidContinueUri([String? message])
- The continue URL must be a valid URL string.
- FirebaseAuthError.invalidCreationTime([String? message])
- The creation time must be a valid UTC date string.
- FirebaseAuthError.invalidCredential([String? message])
- The credential used to authenticate the Admin SDKs cannot be used to perform the desired action.
- FirebaseAuthError.invalidDisabledField([String? message])
- The provided value for the disabled user property is invalid. It must be a boolean.
- FirebaseAuthError.invalidDisplayName([String? message])
- The provided value for the displayName user property is invalid. It must be a non-empty string.
- FirebaseAuthError.invalidDynamicLinkDomain([String? message])
- The provided dynamic link domain is not configured or authorized for the current project.
- FirebaseAuthError.invalidEmail([String? message])
- The provided value for the email user property is invalid. It must be a string email address.
- FirebaseAuthError.invalidEmailVerified([String? message])
- The provided value for the emailVerified user property is invalid. It must be a boolean.
- FirebaseAuthError.invalidHashAlgorithm([String? message])
- The hash algorithm must match one of the strings in the list of supported algorithms.
- FirebaseAuthError.invalidHashBlockSize([String? message])
- The hash block size must be a valid number.
- FirebaseAuthError.invalidHashDerivedKeyLength([String? message])
- The hash derived key length must be a valid number.
- FirebaseAuthError.invalidHashKey([String? message])
- The hash key must a valid byte buffer.
- FirebaseAuthError.invalidHashMemoryCost([String? message])
- The hash memory cost must be a valid number.
- FirebaseAuthError.invalidHashParallelization([String? message])
- The hash parallelization must be a valid number.
- FirebaseAuthError.invalidHashRounds([String? message])
- The hash rounds must be a valid number.
- FirebaseAuthError.invalidHashSaltSeparator([String? message])
- The hashing algorithm salt separator field must be a valid byte buffer.
- FirebaseAuthError.invalidIdToken([String? message])
- The provided ID token is not a valid Firebase ID token.
- FirebaseAuthError.invalidLastSignInTime([String? message])
- The last sign-in time must be a valid UTC date string.
- FirebaseAuthError.invalidPageToken([String? message])
- The provided next page token in listUsers() is invalid. It must be a valid non-empty string.
- FirebaseAuthError.invalidPassword([String? message])
- The provided value for the password user property is invalid. It must be a string with at least six characters.
- FirebaseAuthError.invalidPasswordHash([String? message])
- The password hash must be a valid byte buffer.
- FirebaseAuthError.invalidPasswordSalt([String? message])
- The password salt must be a valid byte buffer
- FirebaseAuthError.invalidPhoneNumber([String? message])
- The provided value for the phoneNumber is invalid. It must be a non-empty E.164 standard compliant identifier string.
- FirebaseAuthError.invalidPhotoUrl([String? message])
- The provided value for the photoURL user property is invalid. It must be a string URL.
- FirebaseAuthError.invalidProviderData([String? message])
- The providerData must be a valid array of UserInfo objects.
- FirebaseAuthError.invalidProviderId([String? message])
- The providerId must be a valid supported provider identifier string.
- FirebaseAuthError.invalidServiceAccount([String? message])
- Invalid service account.
- FirebaseAuthError.invalidSessionCookieDuration([String? message])
- The session cookie duration must be a valid number in milliseconds between 5 minutes and 2 weeks.
- FirebaseAuthError.invalidUid([String? message])
- The provided uid must be a non-empty string with at most 128 characters.
- FirebaseAuthError.invalidUserImport([String? message])
- The user record to import is invalid.
- FirebaseAuthError.maximumUserCountExceeded([String? message])
- The maximum allowed number of users to import has been exceeded.
- FirebaseAuthError.MISMATCHING_TENANT_ID([String? message])
- FirebaseAuthError.MISSING_CONFIG([String? message])
- FirebaseAuthError.MISSING_DISPLAY_NAME([String? message])
- FirebaseAuthError.MISSING_ISSUER([String? message])
- FirebaseAuthError.MISSING_OAUTH_CLIENT_ID([String? message])
- FirebaseAuthError.MISSING_PROVIDER_ID([String? message])
- FirebaseAuthError.MISSING_SAML_RELYING_PARTY_CONFIG([String? message])
- FirebaseAuthError.missingAndroidPackageName([String? message])
- An Android Package Name must be provided if the Android App is required to be installed.
- FirebaseAuthError.missingContinueUri([String? message])
- A valid continue URL must be provided in the request.
- FirebaseAuthError.missingHashAlgorithm([String? message])
- Importing users with password hashes requires that the hashing algorithm and its parameters be provided.
- FirebaseAuthError.missingIosBundleId([String? message])
- The request is missing an iOS Bundle ID.
- FirebaseAuthError.missingUid([String? message])
- A uid identifier is required for the current operation.
- FirebaseAuthError.NOT_FOUND([String? message])
- FirebaseAuthError.operationNotAllowed([String? message])
- The provided sign-in provider is disabled for your Firebase project.
- FirebaseAuthError.phoneNumberAlreadyExists([String? message])
- The provided phoneNumber is already in use by an existing user. Each user must have a unique phoneNumber.
- FirebaseAuthError.projectNotFound([String? message])
- No Firebase project was found for the credential used to initialize the Admin SDKs.
- FirebaseAuthError.QUOTA_EXCEEDED([String? message])
- FirebaseAuthError.sessionCookieExpired([String? message])
- The provided Firebase session cookie is expired.
- FirebaseAuthError.sessionCookieRevoked([String? message])
- The Firebase session cookie has been revoked.
- FirebaseAuthError.TENANT_NOT_FOUND([String? message])
- FirebaseAuthError.uidAlreadyExists([String? message])
- The provided uid is already in use by an existing user. Each user must have a unique uid.
- The domain of the continue URL is not whitelisted. Whitelist the domain in the Firebase Console.
- FirebaseAuthError.UNSUPPORTED_TENANT_OPERATION([String? message])
- FirebaseAuthError.userNotFound([String? message])
- There is no existing user record corresponding to the provided identifier.
Properties
- code → String
-
Error codes are strings using the following format:
"service/string-code". Some examples include "auth/invalid-uid" and
"messaging/invalid-recipient".
finalinherited
- codePrefix → String
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
An explanatory message for the error that just occurred.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited