AuthClientErrorCode enum

Auth client error codes and their default messages.

Inheritance
Available extensions

Values

authBlockingTokenExpired → const AuthClientErrorCode
const AuthClientErrorCode(code: 'auth-blocking-token-expired', message: 'The provided Firebase Auth Blocking token is expired.')
billingNotEnabled → const AuthClientErrorCode
const AuthClientErrorCode(code: 'billing-not-enabled', message: 'Feature requires billing to be enabled.')
claimsTooLarge → const AuthClientErrorCode
const AuthClientErrorCode(code: 'claims-too-large', message: 'Developer claims maximum payload size exceeded.')
configurationExists → const AuthClientErrorCode
const AuthClientErrorCode(code: 'configuration-exists', message: 'A configuration already exists with the provided identifier.')
configurationNotFound → const AuthClientErrorCode
const AuthClientErrorCode(code: 'configuration-not-found', message: 'There is no configuration corresponding to the provided identifier.')
idTokenExpired → const AuthClientErrorCode
const AuthClientErrorCode(code: 'id-token-expired', message: 'The provided Firebase ID token is expired.')
invalidArgument → const AuthClientErrorCode
const AuthClientErrorCode(code: 'argument-error', message: 'Invalid argument provided.')
invalidConfig → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-config', message: 'The provided configuration is invalid.')
emailAlreadyExists → const AuthClientErrorCode
const AuthClientErrorCode(code: 'email-already-exists', message: 'The email address is already in use by another account.')
emailNotFound → const AuthClientErrorCode
const AuthClientErrorCode(code: 'email-not-found', message: 'There is no user record corresponding to the provided email.')
forbiddenClaim → const AuthClientErrorCode
const AuthClientErrorCode(code: 'reserved-claim', message: 'The specified developer claim is reserved and cannot be specified.')
invalidIdToken → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-id-token', message: 'The provided ID token is not a valid Firebase ID token.')
idTokenRevoked → const AuthClientErrorCode
const AuthClientErrorCode(code: 'id-token-revoked', message: 'The Firebase ID token has been revoked.')
internalError → const AuthClientErrorCode
const AuthClientErrorCode(code: 'internal-error', message: 'An internal error has occurred.')
invalidClaims → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-claims', message: 'The provided custom claim attributes are invalid.')
invalidContinueUri → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-continue-uri', message: 'The continue URL must be a valid URL string.')
invalidCreationTime → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-creation-time', message: 'The creation time must be a valid UTC date string.')
invalidCredential → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-credential', message: 'Invalid credential object provided.')
invalidDisabledField → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-disabled-field', message: 'The disabled field must be a boolean.')
invalidDisplayName → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-display-name', message: 'The displayName field must be a valid string.')
invalidDynamicLinkDomain → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-dynamic-link-domain', message: 'The provided dynamic link domain is not configured or authorized ' 'for the current project.')
invalidEmailVerified → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-email-verified', message: 'The emailVerified field must be a boolean.')
invalidEmail → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-email', message: 'The email address is improperly formatted.')
invalidNewEmail → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-new-email', message: 'The new email address is improperly formatted.')
invalidEnrolledFactors → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-enrolled-factors', message: 'The enrolled factors must be a valid array of MultiFactorInfo objects.')
invalidEnrollmentTime → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-enrollment-time', message: 'The second factor enrollment time must be a valid UTC date string.')
invalidHashAlgorithm → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-hash-algorithm', message: 'The hash algorithm must match one of the strings in the list of ' 'supported algorithms.')
invalidHashBlockSize → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-hash-block-size', message: 'The hash block size must be a valid number.')
invalidHashDerivedKeyLength → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-hash-derived-key-length', message: 'The hash derived key length must be a valid number.')
invalidHashKey → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-hash-key', message: 'The hash key must a valid byte buffer.')
invalidHashMemoryCost → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-hash-memory-cost', message: 'The hash memory cost must be a valid number.')
invalidHashParallelization → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-hash-parallelization', message: 'The hash parallelization must be a valid number.')
invalidHashRounds → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-hash-rounds', message: 'The hash rounds must be a valid number.')
invalidHashSaltSeparator → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-hash-salt-separator', message: 'The hashing algorithm salt separator field must be a valid byte buffer.')
invalidLastSignInTime → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-last-sign-in-time', message: 'The last sign-in time must be a valid UTC date string.')
invalidName → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-name', message: 'The resource name provided is invalid.')
invalidOauthClientId → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-oauth-client-id', message: 'The provided OAuth client ID is invalid.')
invalidPageToken → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-page-token', message: 'The page token must be a valid non-empty string.')
invalidPassword → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-password', message: 'The password must be a string with at least 6 characters.')
invalidPasswordHash → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-password-hash', message: 'The password hash must be a valid byte buffer.')
invalidPasswordSalt → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-password-salt', message: 'The password salt must be a valid byte buffer.')
invalidPhoneNumber → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-phone-number', message: 'The phone number must be a non-empty E.164 standard compliant identifier ' 'string.')
invalidPhotoUrl → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-photo-url', message: 'The photoURL field must be a valid URL.')
invalidProjectId → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-project-id', message: 'Invalid parent project. ' "Either parent project doesn't exist or didn't enable multi-tenancy.")
invalidProviderData → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-provider-data', message: 'The providerData must be a valid array of UserInfo objects.')
invalidProviderId → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-provider-id', message: 'The providerId must be a valid supported provider identifier string.')
invalidProviderUid → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-provider-uid', message: 'The providerUid must be a valid provider uid string.')
invalidOauthResponseType → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-oauth-responsetype', message: 'Only exactly one OAuth responseType should be set to true.')
invalidSessionCookieDuration → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-session-cookie-duration', message: 'The session cookie duration must be a valid number in milliseconds ' 'between 5 minutes and 2 weeks.…
invalidTenantId → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-tenant-id', message: 'The tenant ID must be a valid non-empty string.')
invalidTenantType → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-tenant-type', message: 'Tenant type must be either "full_service" or "lightweight".')
invalidTestingPhoneNumber → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-testing-phone-number', message: 'Invalid testing phone number or invalid test code provided.')
invalidUid → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-uid', message: 'The uid must be a non-empty string with at most 128 characters.')
invalidUserImport → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-user-import', message: 'The user record to import is invalid.')
invalidTokensValidAfterTime → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-tokens-valid-after-time', message: 'The tokensValidAfterTime must be a valid UTC number in seconds.')
mismatchingTenantId → const AuthClientErrorCode
const AuthClientErrorCode(code: 'mismatching-tenant-id', message: 'User tenant ID does not match with the current TenantAwareAuth tenant ID.')
missingAndroidPackageName → const AuthClientErrorCode
const AuthClientErrorCode(code: 'missing-android-pkg-name', message: 'An Android Package Name must be provided if the Android App is ' 'required to be installed.')
missingConfig → const AuthClientErrorCode
const AuthClientErrorCode(code: 'missing-config', message: 'The provided configuration is missing required attributes.')
missingContinueUri → const AuthClientErrorCode
const AuthClientErrorCode(code: 'missing-continue-uri', message: 'A valid continue URL must be provided in the request.')
missingDisplayName → const AuthClientErrorCode
const AuthClientErrorCode(code: 'missing-display-name', message: 'The resource being created or edited is missing a valid display name.')
missingEmail → const AuthClientErrorCode
const AuthClientErrorCode(code: 'missing-email', message: 'The email is required for the specified action. For example, a multi-factor user ' 'requires a verified email.')
missingIosBundleId → const AuthClientErrorCode
const AuthClientErrorCode(code: 'missing-ios-bundle-id', message: 'The request is missing an iOS Bundle ID.')
missingIssuer → const AuthClientErrorCode
const AuthClientErrorCode(code: 'missing-issuer', message: 'The OAuth/OIDC configuration issuer must not be empty.')
missingHashAlgorithm → const AuthClientErrorCode
const AuthClientErrorCode(code: 'missing-hash-algorithm', message: 'Importing users with password hashes requires that the hashing ' 'algorithm and its parameters be provided.'…
missingOauthClientId → const AuthClientErrorCode
const AuthClientErrorCode(code: 'missing-oauth-client-id', message: 'The OAuth/OIDC configuration client ID must not be empty.')
missingOauthClientSecret → const AuthClientErrorCode
const AuthClientErrorCode(code: 'missing-oauth-client-secret', message: 'The OAuth configuration client secret is required to enable OIDC code flow.')
missingProviderId → const AuthClientErrorCode
const AuthClientErrorCode(code: 'missing-provider-id', message: 'A valid provider ID must be provided in the request.')
missingSamlRelyingPartyConfig → const AuthClientErrorCode
const AuthClientErrorCode(code: 'missing-saml-relying-party-config', message: 'The SAML configuration provided is missing a relying party configuration.')
maximumTestPhoneNumberExceeded → const AuthClientErrorCode
const AuthClientErrorCode(code: 'test-phone-number-limit-exceeded', message: 'The maximum allowed number of test phone number / code pairs has been exceeded.')
maximumUserCountExceeded → const AuthClientErrorCode
const AuthClientErrorCode(code: 'maximum-user-count-exceeded', message: 'The maximum allowed number of users to import has been exceeded.')
missingUid → const AuthClientErrorCode
const AuthClientErrorCode(code: 'missing-uid', message: 'A uid identifier is required for the current operation.')
operationNotAllowed → const AuthClientErrorCode
const AuthClientErrorCode(code: 'operation-not-allowed', message: 'The given sign-in provider is disabled for this Firebase project. ' 'Enable it in the Firebase console, under the…
phoneNumberAlreadyExists → const AuthClientErrorCode
const AuthClientErrorCode(code: 'phone-number-already-exists', message: 'The user with the provided phone number already exists.')
projectNotFound → const AuthClientErrorCode
const AuthClientErrorCode(code: 'project-not-found', message: 'No Firebase project was found for the provided credential.')
insufficientPermission → const AuthClientErrorCode
const AuthClientErrorCode(code: 'insufficient-permission', message: 'Credential implementation provided to initializeApp() via the "credential" property ' 'has insufficie…
quotaExceeded → const AuthClientErrorCode
const AuthClientErrorCode(code: 'quota-exceeded', message: 'The project quota for the specified operation has been exceeded.')
secondFactorLimitExceeded → const AuthClientErrorCode
const AuthClientErrorCode(code: 'second-factor-limit-exceeded', message: 'The maximum number of allowed second factors on a user has been exceeded.')
secondFactorUidAlreadyExists → const AuthClientErrorCode
const AuthClientErrorCode(code: 'second-factor-uid-already-exists', message: 'The specified second factor "uid" already exists.')
sessionCookieExpired → const AuthClientErrorCode
const AuthClientErrorCode(code: 'session-cookie-expired', message: 'The Firebase session cookie is expired.')
sessionCookieRevoked → const AuthClientErrorCode
const AuthClientErrorCode(code: 'session-cookie-revoked', message: 'The Firebase session cookie has been revoked.')
tenantNotFound → const AuthClientErrorCode
const AuthClientErrorCode(code: 'tenant-not-found', message: 'There is no tenant corresponding to the provided identifier.')
uidAlreadyExists → const AuthClientErrorCode
const AuthClientErrorCode(code: 'uid-already-exists', message: 'The user with the provided uid already exists.')
unauthorizedDomain → const AuthClientErrorCode
const AuthClientErrorCode(code: 'unauthorized-continue-uri', message: 'The domain of the continue URL is not whitelisted. Whitelist the domain in the ' 'Firebase console.')
unsupportedFirstFactor → const AuthClientErrorCode
const AuthClientErrorCode(code: 'unsupported-first-factor', message: 'A multi-factor user requires a supported first factor.')
unsupportedSecondFactor → const AuthClientErrorCode
const AuthClientErrorCode(code: 'unsupported-second-factor', message: 'The request specified an unsupported type of second factor.')
unsupportedTenantOperation → const AuthClientErrorCode
const AuthClientErrorCode(code: 'unsupported-tenant-operation', message: 'This operation is not supported in a multi-tenant context.')
unverifiedEmail → const AuthClientErrorCode
const AuthClientErrorCode(code: 'unverified-email', message: 'A verified email is required for the specified action. For example, a multi-factor user ' 'requires a verified email.&…
userNotFound → const AuthClientErrorCode
const AuthClientErrorCode(code: 'user-not-found', message: 'There is no user record corresponding to the provided identifier.')
notFound → const AuthClientErrorCode
const AuthClientErrorCode(code: 'not-found', message: 'The requested resource was not found.')
userDisabled → const AuthClientErrorCode
const AuthClientErrorCode(code: 'user-disabled', message: 'The user record is disabled.')
userNotDisabled → const AuthClientErrorCode
const AuthClientErrorCode(code: 'user-not-disabled', message: 'The user must be disabled in order to bulk delete it (or you must pass force=true).')
invalidRecaptchaAction → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-recaptcha-action', message: 'reCAPTCHA action must be "BLOCK".')
invalidRecaptchaEnforcementState → const AuthClientErrorCode
const AuthClientErrorCode(code: 'invalid-recaptcha-enforcement-state', message: 'reCAPTCHA enforcement state must be either "OFF", "AUDIT" or "ENFORCE".')
recaptchaNotEnabled → const AuthClientErrorCode
const AuthClientErrorCode(code: 'recaptcha-not-enabled', message: 'reCAPTCHA enterprise is not enabled.')

Properties

code String
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
message String
final
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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<AuthClientErrorCode>
A constant List of the values in this enum, in order of their declaration.