firebase:: auth:: FederatedOAuthProviderData
#include <types.h>
Contains information to identify an OAuth povider.
Summary
Inheritance
Inherits from:firebase::auth::FederatedProviderDataConstructors 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(conststd::string&provider)
Initializes the provider data structure with a provider id.
FederatedOAuthProviderData
firebase::auth::FederatedOAuthProviderData::FederatedOAuthProviderData(conststd::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 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.