Firebase. Auth. FirebaseAccountLinkException
Exception thrown for failed Account Link Attempts.
Summary
Represents a FirebaseAuth error when attempting to link an account. UserInfo contains additional information about the account as returned by the FirebaseAuth service, and may include a valid UpdatedCredential which can be used to sign in to the service through Firebase.Auth.SignInWithCredential.
Inheritance
Inherits from: Exception
Constructors and Destructors |
|
---|---|
FirebaseAccountLinkException(int errorCode, string message, AuthResult authResult)
Initializes a new FirebaseAccountLinkException, with the given error code and message and the AdditionalUserInfo returned from the Firebase auth service.
|
Properties |
|
---|---|
ErrorCode
|
int
Returns the Auth defined non-zero error code.
|
UserInfo
|
Returns a Firebase.Auth.UserInfo object that may include additional information about the account which failed to link.
|
Properties
ErrorCode
int ErrorCode
Returns the Auth defined non-zero error code.
If the error code is 0, the error is with the Task itself, and not the API. See the exception message for more detail.
UserInfo
AdditionalUserInfo UserInfo
Returns a Firebase.Auth.UserInfo object that may include additional information about the account which failed to link.
Additionally, if UserInfo.UpdatedCredential.IsValid() is true, the credential may be used to sign-in the user into Firebase with Firebase.Auth.SignInWithCredentialAsync.
Public functions
FirebaseAccountLinkException
FirebaseAccountLinkException( int errorCode, string message, AuthResult authResult )
Initializes a new FirebaseAccountLinkException, with the given error code and message and the AdditionalUserInfo returned from the Firebase auth service.