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.