identitytoolkit  v3
Public Member Functions | Static Public Member Functions | List of all members
google_identitytoolkit_api::IdpConfig Class Reference

#include <idp_config.h>

Inheritance diagram for google_identitytoolkit_api::IdpConfig:

Public Member Functions

 IdpConfig (const Json::Value &storage)
 
 IdpConfig (Json::Value *storage)
 
virtual ~IdpConfig ()
 
const StringPiece GetTypeName () const
 
bool has_client_id () const
 
void clear_client_id ()
 
const StringPiece get_client_id () const
 
void set_client_id (const StringPiece &value)
 
bool has_enabled () const
 
void clear_enabled ()
 
bool get_enabled () const
 
void set_enabled (bool value)
 
bool has_experiment_percent () const
 
void clear_experiment_percent ()
 
int32 get_experiment_percent () const
 
void set_experiment_percent (int32 value)
 
bool has_provider () const
 
void clear_provider ()
 
const StringPiece get_provider () const
 
void set_provider (const StringPiece &value)
 
bool has_secret () const
 
void clear_secret ()
 
const StringPiece get_secret () const
 
void set_secret (const StringPiece &value)
 
bool has_whitelisted_audiences () const
 
void clear_whitelisted_audiences ()
 
const client::JsonCppArray< string > get_whitelisted_audiences () const
 
client::JsonCppArray< string > mutable_whitelistedAudiences ()
 

Static Public Member Functions

static IdpConfigNew ()
 

Detailed Description

Template for a single idp configuration.

Constructor & Destructor Documentation

◆ IdpConfig() [1/2]

google_identitytoolkit_api::IdpConfig::IdpConfig ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ IdpConfig() [2/2]

google_identitytoolkit_api::IdpConfig::IdpConfig ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~IdpConfig()

google_identitytoolkit_api::IdpConfig::~IdpConfig ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_client_id()

void google_identitytoolkit_api::IdpConfig::clear_client_id ( )
inline

Clears the 'clientId' attribute.

◆ clear_enabled()

void google_identitytoolkit_api::IdpConfig::clear_enabled ( )
inline

Clears the 'enabled' attribute.

◆ clear_experiment_percent()

void google_identitytoolkit_api::IdpConfig::clear_experiment_percent ( )
inline

Clears the 'experimentPercent' attribute.

◆ clear_provider()

void google_identitytoolkit_api::IdpConfig::clear_provider ( )
inline

Clears the 'provider' attribute.

◆ clear_secret()

void google_identitytoolkit_api::IdpConfig::clear_secret ( )
inline

Clears the 'secret' attribute.

◆ clear_whitelisted_audiences()

void google_identitytoolkit_api::IdpConfig::clear_whitelisted_audiences ( )
inline

Clears the 'whitelistedAudiences' attribute.

◆ get_client_id()

const StringPiece google_identitytoolkit_api::IdpConfig::get_client_id ( ) const
inline

Get the value of the 'clientId' attribute.

◆ get_enabled()

bool google_identitytoolkit_api::IdpConfig::get_enabled ( ) const
inline

Get the value of the 'enabled' attribute.

◆ get_experiment_percent()

int32 google_identitytoolkit_api::IdpConfig::get_experiment_percent ( ) const
inline

Get the value of the 'experimentPercent' attribute.

◆ get_provider()

const StringPiece google_identitytoolkit_api::IdpConfig::get_provider ( ) const
inline

Get the value of the 'provider' attribute.

◆ get_secret()

const StringPiece google_identitytoolkit_api::IdpConfig::get_secret ( ) const
inline

Get the value of the 'secret' attribute.

◆ get_whitelisted_audiences()

const client::JsonCppArray<string > google_identitytoolkit_api::IdpConfig::get_whitelisted_audiences ( ) const
inline

Get a reference to the value of the 'whitelistedAudiences' attribute.

◆ GetTypeName()

const StringPiece google_identitytoolkit_api::IdpConfig::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_identitytoolkit_api::IdpConfig

◆ has_client_id()

bool google_identitytoolkit_api::IdpConfig::has_client_id ( ) const
inline

Determine if the 'clientId' attribute was set.

Returns
true if the 'clientId' attribute was set.

◆ has_enabled()

bool google_identitytoolkit_api::IdpConfig::has_enabled ( ) const
inline

Determine if the 'enabled' attribute was set.

Returns
true if the 'enabled' attribute was set.

◆ has_experiment_percent()

bool google_identitytoolkit_api::IdpConfig::has_experiment_percent ( ) const
inline

Determine if the 'experimentPercent' attribute was set.

Returns
true if the 'experimentPercent' attribute was set.

◆ has_provider()

bool google_identitytoolkit_api::IdpConfig::has_provider ( ) const
inline

Determine if the 'provider' attribute was set.

Returns
true if the 'provider' attribute was set.

◆ has_secret()

bool google_identitytoolkit_api::IdpConfig::has_secret ( ) const
inline

Determine if the 'secret' attribute was set.

Returns
true if the 'secret' attribute was set.

◆ has_whitelisted_audiences()

bool google_identitytoolkit_api::IdpConfig::has_whitelisted_audiences ( ) const
inline

Determine if the 'whitelistedAudiences' attribute was set.

Returns
true if the 'whitelistedAudiences' attribute was set.

◆ mutable_whitelistedAudiences()

client::JsonCppArray<string > google_identitytoolkit_api::IdpConfig::mutable_whitelistedAudiences ( )
inline

Gets a reference to a mutable value of the 'whitelistedAudiences' property.

Whitelisted client IDs for audience check.

Returns
The result can be modified to change the attribute value.

◆ New()

IdpConfig * google_identitytoolkit_api::IdpConfig::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_client_id()

void google_identitytoolkit_api::IdpConfig::set_client_id ( const StringPiece &  value)
inline

Change the 'clientId' attribute.

OAuth2 client ID.

Parameters
[in]valueThe new value.

◆ set_enabled()

void google_identitytoolkit_api::IdpConfig::set_enabled ( bool  value)
inline

Change the 'enabled' attribute.

Whether this IDP is enabled.

Parameters
[in]valueThe new value.

◆ set_experiment_percent()

void google_identitytoolkit_api::IdpConfig::set_experiment_percent ( int32  value)
inline

Change the 'experimentPercent' attribute.

Percent of users who will be prompted/redirected federated login for this IDP.

Parameters
[in]valueThe new value.

◆ set_provider()

void google_identitytoolkit_api::IdpConfig::set_provider ( const StringPiece &  value)
inline

Change the 'provider' attribute.

OAuth2 provider.

Parameters
[in]valueThe new value.

◆ set_secret()

void google_identitytoolkit_api::IdpConfig::set_secret ( const StringPiece &  value)
inline

Change the 'secret' attribute.

OAuth2 client secret.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: