Konsola git

Firebase.Auth

Summary

Enumerations

AuthError{
  None = 0,
  Unimplemented = -1,
  Failure = 1,
  InvalidCustomToken,
  CustomTokenMismatch,
  InvalidCredential,
  UserDisabled,
  AccountExistsWithDifferentCredentials,
  OperationNotAllowed,
  EmailAlreadyInUse,
  RequiresRecentLogin,
  CredentialAlreadyInUse,
  InvalidEmail,
  WrongPassword,
  TooManyRequests,
  UserNotFound,
  ProviderAlreadyLinked,
  NoSuchProvider,
  InvalidUserToken,
  UserTokenExpired,
  NetworkRequestFailed,
  InvalidApiKey,
  AppNotAuthorized,
  UserMismatch,
  WeakPassword,
  NoSignedInUser,
  ApiNotAvailable,
  ExpiredActionCode,
  InvalidActionCode,
  InvalidMessagePayload,
  InvalidPhoneNumber,
  MissingPhoneNumber,
  InvalidRecipientEmail,
  InvalidSender,
  InvalidVerificationCode,
  InvalidVerificationId,
  MissingVerificationCode,
  MissingVerificationId,
  MissingEmail,
  MissingPassword,
  QuotaExceeded,
  RetryPhoneAuth,
  SessionExpired,
  AppNotVerified,
  AppVerificationFailed,
  CaptchaCheckFailed,
  InvalidAppCredential,
  MissingAppCredential,
  InvalidClientId,
  InvalidContinueUri,
  MissingContinueUri,
  KeychainError,
  MissingAppToken,
  MissingIosBundleId,
  NotificationNotForwarded,
  UnauthorizedDomain,
  WebContextAlreadyPresented,
  WebContextCancelled,
  DynamicLinkNotActivated,
  Cancelled,
  InvalidProviderId,
  WebInternalError,
  WebStorateUnsupported,
  TenantIdMismatch,
  UnsupportedTenantOperation,
  InvalidLinkDomain,
  RejectedCredential,
  PhoneNumberNotFound,
  InvalidTenantId
}
enum
All possible error codes from asynchronous calls.

Classes

Firebase.Auth.AdditionalUserInfo

Additional user data returned from an identity provider.

Firebase.Auth.Credential

Authentication credentials for an authentication provider.

Firebase.Auth.EmailAuthProvider

Use email and password to authenticate.

Firebase.Auth.FacebookAuthProvider

Use an access token provided by Facebook to authenticate.

Firebase.Auth.FirebaseAuth

Firebase authentication object.

Firebase.Auth.FirebaseUser

Firebase user account object.

Firebase.Auth.ForceResendingToken

Token to maintain current phone number verification session.

Firebase.Auth.GameCenterAuthProvider

GameCenter (iOS) auth provider.

Firebase.Auth.GitHubAuthProvider

Use an access token provided by GitHub to authenticate.

Firebase.Auth.GoogleAuthProvider

Use an ID token and access token provided by Google to authenticate.

Firebase.Auth.OAuthProvider

OAuth2.0+UserInfo auth provider (OIDC compliant and non-compliant).

Firebase.Auth.PhoneAuthProvider

Use phone number text messages to authenticate.

Firebase.Auth.PlayGamesAuthProvider

Use a server auth code provided by Google Play Games to authenticate.

Firebase.Auth.SignInResult

Result of operations that can affect authentication state.

Firebase.Auth.TwitterAuthProvider

Use a token and secret provided by Twitter to authenticate.

Firebase.Auth.UserMetadata

Metadata corresponding to a Firebase user.

Firebase.Auth.UserProfile

Parameters to the UpdateUserProfile() function.

Interfaces

Firebase.Auth.IUserInfo

Interface implemented by each identity provider.

Enumerations

AuthError

 AuthError

All possible error codes from asynchronous calls.

For error details, use the FirebaseException.Message property.

Properties
AccountExistsWithDifferentCredentials

Indicates an account already exists with the same email address but using different sign-in credentials.

Account linking is required. Caused by "Sign in with credential" methods.

ApiNotAvailable

This can happen when certain methods on App are performed, when the auth API is not loaded.

Note:This error is only reported on Android.

AppNotAuthorized

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

Common error code for all API Methods. On Android this error should no longer occur (as of 2016 v3). Common error code for all API Methods.

AppNotVerified

Indicates that the app could not be verified by Firebase during phone number authentication.

Note:This error is iOS-specific.

AppVerificationFailed

Indicates a general failure during the app verification flow.

Note:This error is iOS-specific.

Cancelled

Indicates that the operation was cancelled.

CaptchaCheckFailed

Indicates that the reCAPTCHA token is not valid.

Note:This error is iOS-specific.

CredentialAlreadyInUse

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

Caused by "Set account info" methods.

CustomTokenMismatch

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

Caused by "Bring your own auth" methods.

DynamicLinkNotActivated

Indicates that Dynamic Links in the Firebase Console is not activated.

EmailAlreadyInUse

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

Caused by "Set account info" methods.

ExpiredActionCode

Indicates the out-of-band authentication code is expired.

Failure

This indicates an internal error.

Common error code for all API Methods.

InvalidActionCode

Indicates the out-of-band authentication code is invalid.

InvalidApiKey

Indicates an invalid API key was supplied in the request.

For Android these should no longer occur (as of 2016 v3). Common error code for all API Methods.

InvalidAppCredential

Indicates that an invalid APNS device token was used in the verifyClient request.

Note:This error is iOS-specific.

InvalidClientId

Indicates that the clientID used to invoke a web flow is invalid.

Note:This error is iOS-specific.

InvalidContinueUri

Indicates that the domain specified in the continue URI is not valid.

Note:This error is iOS-specific.

InvalidCredential

Indicates the IDP token or requestUri is invalid.

Caused by "Sign in with credential" methods.

InvalidCustomToken

Indicates a validation error with the custom token.

This error originates from "bring your own auth" methods.

InvalidEmail

Indicates an invalid email address.

Caused by "Sign in with password" methods.

InvalidLinkDomain

Indicates that an FDL domain used for an out of band code flow is either not configured or is unauthorized for the current project.

InvalidMessagePayload

Indicates that there are invalid parameters in the payload during a "send password reset email" attempt.

InvalidPhoneNumber

Indicates that an invalid phone number was provided.

This is caused when the user is entering a phone number for verification.

InvalidProviderId

Indicates that the provider id given for the web operation is invalid.

InvalidRecipientEmail

Indicates that the recipient email is invalid.