Stay organized with collections
Save and categorize content based on your preferences.
firebase::auth::FederatedOAuthProviderData
#include <types.h>
Contains information to identify an OAuth povider.
Summary
Inheritance
Inherits from:
firebase::auth::FederatedProviderData
Constructors and Destructors
|
FederatedOAuthProviderData()
Initailizes an empty provider data structure.
|
FederatedOAuthProviderData(const std::string & provider)
Initializes the provider data structure with a provider id.
|
FederatedOAuthProviderData(const std::string & provider, std::vector< std::string > scopes, std::map< std::string, std::string > custom_parameters)
Initializes the provider data structure with the specified provider id, scopes and custom parameters.
|
Public attributes
|
custom_parameters
|
std::map< std::string, std::string >
OAuth parameters which are provided to the federated provider service.
|
scopes
|
std::vector< std::string >
OAuth parmeters which specify which rights of access are being requested.
|
Public attributes
custom_parameters
std::map< std::string, std::string > firebase::auth::FederatedOAuthProviderData::custom_parameters
OAuth parameters which are provided to the federated provider service.
scopes
std::vector< std::string > firebase::auth::FederatedOAuthProviderData::scopes
OAuth parmeters which specify which rights of access are being requested.
Public functions
FederatedOAuthProviderData
firebase::auth::FederatedOAuthProviderData::FederatedOAuthProviderData()
Initailizes an empty provider data structure.
FederatedOAuthProviderData
firebase::auth::FederatedOAuthProviderData::FederatedOAuthProviderData(
const std::string & provider
)
Initializes the provider data structure with a provider id.
FederatedOAuthProviderData
firebase::auth::FederatedOAuthProviderData::FederatedOAuthProviderData(
const std::string & provider,
std::vector< std::string > scopes,
std::map< std::string, std::string > custom_parameters
)
Initializes the provider data structure with the specified provider id, scopes and custom parameters.
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.
[null,null,["Last updated 2024-01-23 UTC."],[],[],null,["# firebase::auth::FederatedOAuthProviderData Struct Reference\n\nfirebase::auth::FederatedOAuthProviderData\n==========================================\n\n\n`#include \u003ctypes.h\u003e`\n\nContains information to identify an OAuth povider.\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: [firebase::auth::FederatedProviderData](/docs/reference/cpp/struct/firebase/auth/federated-provider-data)\n\n| ### Constructors and Destructors ||\n|---|---|\n| [FederatedOAuthProviderData](#structfirebase_1_1auth_1_1_federated_o_auth_provider_data_1a231678537898b48971bed4f195d5f8a4)`()` Initailizes an empty provider data structure. ||\n| [FederatedOAuthProviderData](#structfirebase_1_1auth_1_1_federated_o_auth_provider_data_1afda3bfa3534c1a1108cc668adb49d150)`(const std::string & provider)` Initializes the provider data structure with a provider id. ||\n| [FederatedOAuthProviderData](#structfirebase_1_1auth_1_1_federated_o_auth_provider_data_1a24a854283e00c0802de820771ab03634)`(const std::string & provider, std::vector\u003c std::string \u003e scopes, std::map\u003c std::string, std::string \u003e custom_parameters)` Initializes the provider data structure with the specified provider id, scopes and custom parameters. ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------|\n| [custom_parameters](#structfirebase_1_1auth_1_1_federated_o_auth_provider_data_1a27f1e28473cd0618716575cea63fdbfc) | `std::map\u003c std::string, std::string \u003e` OAuth parameters which are provided to the federated provider service. |\n| [scopes](#structfirebase_1_1auth_1_1_federated_o_auth_provider_data_1afd20cd394e5f88f07c614a1d6103efb0) | `std::vector\u003c std::string \u003e` OAuth parmeters which specify which rights of access are being requested. |\n\nPublic attributes\n-----------------\n\n### custom_parameters\n\n```c++\nstd::map\u003c std::string, std::string \u003e firebase::auth::FederatedOAuthProviderData::custom_parameters\n``` \nOAuth parameters which are provided to the federated provider service. \n\n### scopes\n\n```c++\nstd::vector\u003c std::string \u003e firebase::auth::FederatedOAuthProviderData::scopes\n``` \nOAuth parmeters which specify which rights of access are being requested.\n\nPublic functions\n----------------\n\n### FederatedOAuthProviderData\n\n```c++\n firebase::auth::FederatedOAuthProviderData::FederatedOAuthProviderData()\n``` \nInitailizes an empty provider data structure. \n\n### FederatedOAuthProviderData\n\n```c++\n firebase::auth::FederatedOAuthProviderData::FederatedOAuthProviderData(\n const std::string & provider\n)\n``` \nInitializes the provider data structure with a provider id. \n\n### FederatedOAuthProviderData\n\n```c++\n firebase::auth::FederatedOAuthProviderData::FederatedOAuthProviderData(\n const std::string & provider,\n std::vector\u003c std::string \u003e scopes,\n std::map\u003c std::string, std::string \u003e custom_parameters\n)\n``` \nInitializes the provider data structure with the specified provider id, scopes and custom parameters."]]