firebase::auth::GoogleAuthProvider

#include <credential.h>

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

Summary

Public static attributes

kProviderId
const char *const
The string used to identify this provider.

Public static functions

GetCredential(const char *id_token, const char *access_token)
Generate a credential from the given Google ID token and/or access token.

Public static attributes

kProviderId

constchar*constkProviderId

The string used to identify this provider.

Public static functions

GetCredential

CredentialGetCredential(constchar*id_token,constchar*access_token)

Generate a credential from the given Google ID token and/or access token.

Details
Parameters
id_token
Google Sign-In ID token.
access_token
Google Sign-In access token.
Returns

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-01-23 UTC.