Stay organized with collections
Save and categorize content based on your preferences.
Firebase.Auth.Credential
Authentication credentials for an authentication provider.
Summary
An authentication provider is a service that allows you to authenticate a user. Firebase provides email/password authentication, but there are also external authentication providers such as Facebook.
Inheritance
Inherits from: SystemIDisposable
Direct Known Subclasses:
Firebase.Auth.PhoneAuthCredentialProperties
Public functions
Dispose
virtual void Dispose(
bool disposing
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-05-09 UTC.
[null,null,["Last updated 2023-05-09 UTC."],[],[],null,["# Firebase.Auth.Credential Class Reference\n\nFirebase.Auth.Credential\n========================\n\nAuthentication credentials for an authentication provider.\n\nSummary\n-------\n\nAn authentication provider is a service that allows you to authenticate a user. [Firebase](/docs/reference/unity/namespace/firebase#namespace_firebase) provides email/password authentication, but there are also external authentication providers such as Facebook.\n\n### Inheritance\n\nInherits from: SystemIDisposable \nDirect Known Subclasses:[Firebase.Auth.PhoneAuthCredential](/docs/reference/unity/class/firebase/auth/phone-auth-credential)\n\n| ### Constructors and Destructors ||\n|---|---|\n| [Credential](#class_firebase_1_1_auth_1_1_credential_1a0f8fcd892ae1e97fd218f7f74187bd05)`()` ||\n\n| ### Properties ||\n|----------------------------------------------------------------------------------------|----------|\n| [Provider](#class_firebase_1_1_auth_1_1_credential_1a492150cc0854ccfaa2d5fb9ec88ae79c) | `string` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------|----------------|\n| [Dispose](#class_firebase_1_1_auth_1_1_credential_1a4c9743ff7103082da48aa911aee715f5)`()` | `void` |\n| [Dispose](#class_firebase_1_1_auth_1_1_credential_1a989e9c794d964c7c45f9c471d46d1f35)`(bool disposing)` | `virtual void` |\n| [IsValid](#class_firebase_1_1_auth_1_1_credential_1acd9af81b02e1362baf0cb3c13de0e236)`()` | `bool` |\n\nProperties\n----------\n\n### Provider\n\n```c#\nstring Provider\n``` \n\nPublic functions\n----------------\n\n### Credential\n\n```c#\n Credential()\n``` \n\n### Dispose\n\n```c#\nvoid Dispose()\n``` \n\n### Dispose\n\n```c#\nvirtual void Dispose(\n bool disposing\n)\n``` \n\n### IsValid\n\n```c#\nbool IsValid()\n```"]]