|
identitytoolkit
v3
|
#include <idp_config.h>
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 IdpConfig * | New () |
Template for a single idp configuration.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'clientId' attribute.
|
inline |
Clears the 'enabled' attribute.
|
inline |
Clears the 'experimentPercent' attribute.
|
inline |
Clears the 'provider' attribute.
|
inline |
Clears the 'secret' attribute.
|
inline |
Clears the 'whitelistedAudiences' attribute.
|
inline |
Get the value of the 'clientId' attribute.
|
inline |
Get the value of the 'enabled' attribute.
|
inline |
Get the value of the 'experimentPercent' attribute.
|
inline |
Get the value of the 'provider' attribute.
|
inline |
Get the value of the 'secret' attribute.
|
inline |
Get a reference to the value of the 'whitelistedAudiences' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'clientId' attribute was set.
clientId' attribute was set.
|
inline |
Determine if the 'enabled' attribute was set.
enabled' attribute was set.
|
inline |
Determine if the 'experimentPercent' attribute was set.
experimentPercent' attribute was set.
|
inline |
Determine if the 'provider' attribute was set.
provider' attribute was set.
|
inline |
Determine if the 'secret' attribute was set.
secret' attribute was set.
|
inline |
Determine if the 'whitelistedAudiences' attribute was set.
whitelistedAudiences' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'whitelistedAudiences' property.
Whitelisted client IDs for audience check.
|
static |
Creates a new default instance.
|
inline |
Change the 'clientId' attribute.
OAuth2 client ID.
| [in] | value | The new value. |
|
inline |
Change the 'enabled' attribute.
Whether this IDP is enabled.
| [in] | value | The new value. |
|
inline |
Change the 'experimentPercent' attribute.
Percent of users who will be prompted/redirected federated login for this IDP.
| [in] | value | The new value. |
|
inline |
Change the 'provider' attribute.
OAuth2 provider.
| [in] | value | The new value. |
|
inline |
Change the 'secret' attribute.
OAuth2 client secret.
| [in] | value | The new value. |