firebase::
    #include <credential.h>
  
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
Direct Known Subclasses:firebase::auth::PhoneAuthCredential| Constructors and Destructors | |
|---|---|
| Credential() | |
| Credential(const Credential & rhs)Copy constructor.  | |
| ~Credential() | 
| Public functions | |
|---|---|
| is_valid() const  | boolGet whether this credential is valid.  | 
| operator=(const Credential & rhs) | Copy a Credential.  | 
| provider() const  | std::stringGets the name of the Identification Provider (IDP) for the credential.  | 
Public functions
Credential
Credential()
is_valid
bool is_valid() const
Get whether this credential is valid.
A credential can be invalid in an error condition, e.g. empty username/password.
| Details | |
|---|---|
| Returns | True if the credential is valid, false otherwise.  | 
provider
std::string provider() const
Gets the name of the Identification Provider (IDP) for the credential.
~Credential
~Credential()