firebase::auth::OAuthProvider

#include <credential.h>

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

Summary

Public static functions

GetCredential(const char *provider_id, const char *id_token, const char *access_token)
Generate a credential for an OAuth2 provider.
GetCredential(const char *provider_id, const char *id_token, const char *raw_nonce, const char *access_token)
Generate a credential for an OAuth2 provider.

Public static functions

GetCredential

CredentialGetCredential(constchar*provider_id,constchar*id_token,constchar*access_token)

Generate a credential for an OAuth2 provider.

Details
Parameters
provider_id
Name of the OAuth2 provider TODO(jsanmiya) add examples.
id_token
The authentication token (OIDC only).
access_token
TODO(jsanmiya) add explanation (currently missing from Android and iOS implementations).

GetCredential

CredentialGetCredential(constchar*provider_id,constchar*id_token,constchar*raw_nonce,constchar*access_token)

Generate a credential for an OAuth2 provider.

Details
Parameters
provider_id
Name of the OAuth2 provider.
id_token
The authentication token (OIDC only).
raw_nonce
The raw nonce associated with the Auth credential being created.
access_token
The access token associated with the Auth credential to be created, if available. This value may be null.