Stay organized with collections
Save and categorize content based on your preferences.
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
Credential GetCredential(
const char *provider_id,
const char *id_token,
const char *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
Credential GetCredential(
const char *provider_id,
const char *id_token,
const char *raw_nonce,
const char *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.
|
|
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 2024-01-23 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-01-23 UTC."}