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

#include <user_info.h>

Inheritance diagram for google_identitytoolkit_api::UserInfo:

Classes

class  UserInfoProviderUserInfo
 

Public Member Functions

 UserInfo (const Json::Value &storage)
 
 UserInfo (Json::Value *storage)
 
virtual ~UserInfo ()
 
const StringPiece GetTypeName () const
 
bool has_created_at () const
 
void clear_created_at ()
 
int64 get_created_at () const
 
void set_created_at (int64 value)
 
bool has_custom_attributes () const
 
void clear_custom_attributes ()
 
const StringPiece get_custom_attributes () const
 
void set_custom_attributes (const StringPiece &value)
 
bool has_custom_auth () const
 
void clear_custom_auth ()
 
bool get_custom_auth () const
 
void set_custom_auth (bool value)
 
bool has_disabled () const
 
void clear_disabled ()
 
bool get_disabled () const
 
void set_disabled (bool value)
 
bool has_display_name () const
 
void clear_display_name ()
 
const StringPiece get_display_name () const
 
void set_display_name (const StringPiece &value)
 
bool has_email () const
 
void clear_email ()
 
const StringPiece get_email () const
 
void set_email (const StringPiece &value)
 
bool has_email_verified () const
 
void clear_email_verified ()
 
bool get_email_verified () const
 
void set_email_verified (bool value)
 
bool has_last_login_at () const
 
void clear_last_login_at ()
 
int64 get_last_login_at () const
 
void set_last_login_at (int64 value)
 
bool has_local_id () const
 
void clear_local_id ()
 
const StringPiece get_local_id () const
 
void set_local_id (const StringPiece &value)
 
bool has_password_hash () const
 
void clear_password_hash ()
 
const StringPiece get_password_hash () const
 
void set_password_hash (const StringPiece &value)
 
bool has_password_updated_at () const
 
void clear_password_updated_at ()
 
double get_password_updated_at () const
 
void set_password_updated_at (double value)
 
bool has_phone_number () const
 
void clear_phone_number ()
 
const StringPiece get_phone_number () const
 
void set_phone_number (const StringPiece &value)
 
bool has_photo_url () const
 
void clear_photo_url ()
 
const StringPiece get_photo_url () const
 
void set_photo_url (const StringPiece &value)
 
bool has_provider_user_info () const
 
void clear_provider_user_info ()
 
const client::JsonCppArray< UserInfoProviderUserInfoget_provider_user_info () const
 
client::JsonCppArray< UserInfoProviderUserInfomutable_providerUserInfo ()
 
bool has_raw_password () const
 
void clear_raw_password ()
 
const StringPiece get_raw_password () const
 
void set_raw_password (const StringPiece &value)
 
bool has_salt () const
 
void clear_salt ()
 
const StringPiece get_salt () const
 
void set_salt (const StringPiece &value)
 
bool has_screen_name () const
 
void clear_screen_name ()
 
const StringPiece get_screen_name () const
 
void set_screen_name (const StringPiece &value)
 
bool has_valid_since () const
 
void clear_valid_since ()
 
int64 get_valid_since () const
 
void set_valid_since (int64 value)
 
bool has_version () const
 
void clear_version ()
 
int32 get_version () const
 
void set_version (int32 value)
 

Static Public Member Functions

static UserInfoNew ()
 

Detailed Description

Template for an individual account info.

Constructor & Destructor Documentation

◆ UserInfo() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ UserInfo() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~UserInfo()

google_identitytoolkit_api::UserInfo::~UserInfo ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_created_at()

void google_identitytoolkit_api::UserInfo::clear_created_at ( )
inline

Clears the 'createdAt' attribute.

◆ clear_custom_attributes()

void google_identitytoolkit_api::UserInfo::clear_custom_attributes ( )
inline

Clears the 'customAttributes' attribute.

◆ clear_custom_auth()

void google_identitytoolkit_api::UserInfo::clear_custom_auth ( )
inline

Clears the 'customAuth' attribute.

◆ clear_disabled()

void google_identitytoolkit_api::UserInfo::clear_disabled ( )
inline

Clears the 'disabled' attribute.

◆ clear_display_name()

void google_identitytoolkit_api::UserInfo::clear_display_name ( )
inline

Clears the 'displayName' attribute.

◆ clear_email()

void google_identitytoolkit_api::UserInfo::clear_email ( )
inline

Clears the 'email' attribute.

◆ clear_email_verified()

void google_identitytoolkit_api::UserInfo::clear_email_verified ( )
inline

Clears the 'emailVerified' attribute.

◆ clear_last_login_at()

void google_identitytoolkit_api::UserInfo::clear_last_login_at ( )
inline

Clears the 'lastLoginAt' attribute.

◆ clear_local_id()

void google_identitytoolkit_api::UserInfo::clear_local_id ( )
inline

Clears the 'localId' attribute.

◆ clear_password_hash()

void google_identitytoolkit_api::UserInfo::clear_password_hash ( )
inline

Clears the 'passwordHash' attribute.

◆ clear_password_updated_at()

void google_identitytoolkit_api::UserInfo::clear_password_updated_at ( )
inline

Clears the 'passwordUpdatedAt' attribute.

◆ clear_phone_number()

void google_identitytoolkit_api::UserInfo::clear_phone_number ( )
inline

Clears the 'phoneNumber' attribute.

◆ clear_photo_url()

void google_identitytoolkit_api::UserInfo::clear_photo_url ( )
inline

Clears the 'photoUrl' attribute.

◆ clear_provider_user_info()

void google_identitytoolkit_api::UserInfo::clear_provider_user_info ( )
inline

Clears the 'providerUserInfo' attribute.

◆ clear_raw_password()

void google_identitytoolkit_api::UserInfo::clear_raw_password ( )
inline

Clears the 'rawPassword' attribute.

◆ clear_salt()

void google_identitytoolkit_api::UserInfo::clear_salt ( )
inline

Clears the 'salt' attribute.

◆ clear_screen_name()

void google_identitytoolkit_api::UserInfo::clear_screen_name ( )
inline

Clears the 'screenName' attribute.

◆ clear_valid_since()

void google_identitytoolkit_api::UserInfo::clear_valid_since ( )
inline

Clears the 'validSince' attribute.

◆ clear_version()

void google_identitytoolkit_api::UserInfo::clear_version ( )
inline

Clears the 'version' attribute.

◆ get_created_at()

int64 google_identitytoolkit_api::UserInfo::get_created_at ( ) const
inline

Get the value of the 'createdAt' attribute.

◆ get_custom_attributes()

const StringPiece google_identitytoolkit_api::UserInfo::get_custom_attributes ( ) const
inline

Get the value of the 'customAttributes' attribute.

◆ get_custom_auth()

bool google_identitytoolkit_api::UserInfo::get_custom_auth ( ) const
inline

Get the value of the 'customAuth' attribute.

◆ get_disabled()

bool google_identitytoolkit_api::UserInfo::get_disabled ( ) const
inline

Get the value of the 'disabled' attribute.

◆ get_display_name()

const StringPiece google_identitytoolkit_api::UserInfo::get_display_name ( ) const
inline

Get the value of the 'displayName' attribute.

◆ get_email()

const StringPiece google_identitytoolkit_api::UserInfo::get_email ( ) const
inline

Get the value of the 'email' attribute.

◆ get_email_verified()

bool google_identitytoolkit_api::UserInfo::get_email_verified ( ) const
inline

Get the value of the 'emailVerified' attribute.

◆ get_last_login_at()

int64 google_identitytoolkit_api::UserInfo::get_last_login_at ( ) const
inline

Get the value of the 'lastLoginAt' attribute.

◆ get_local_id()

const StringPiece google_identitytoolkit_api::UserInfo::get_local_id ( ) const
inline

Get the value of the 'localId' attribute.

◆ get_password_hash()

const StringPiece google_identitytoolkit_api::UserInfo::get_password_hash ( ) const
inline

Get the value of the 'passwordHash' attribute.

◆ get_password_updated_at()

double google_identitytoolkit_api::UserInfo::get_password_updated_at ( ) const
inline

Get the value of the 'passwordUpdatedAt' attribute.

◆ get_phone_number()

const StringPiece google_identitytoolkit_api::UserInfo::get_phone_number ( ) const
inline

Get the value of the 'phoneNumber' attribute.

◆ get_photo_url()

const StringPiece google_identitytoolkit_api::UserInfo::get_photo_url ( ) const
inline

Get the value of the 'photoUrl' attribute.

◆ get_provider_user_info()

const client::JsonCppArray<UserInfoProviderUserInfo > google_identitytoolkit_api::UserInfo::get_provider_user_info ( ) const
inline

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

◆ get_raw_password()

const StringPiece google_identitytoolkit_api::UserInfo::get_raw_password ( ) const
inline

Get the value of the 'rawPassword' attribute.

◆ get_salt()

const StringPiece google_identitytoolkit_api::UserInfo::get_salt ( ) const
inline

Get the value of the 'salt' attribute.

◆ get_screen_name()

const StringPiece google_identitytoolkit_api::UserInfo::get_screen_name ( ) const
inline

Get the value of the 'screenName' attribute.

◆ get_valid_since()

int64 google_identitytoolkit_api::UserInfo::get_valid_since ( ) const
inline

Get the value of the 'validSince' attribute.

◆ get_version()

int32 google_identitytoolkit_api::UserInfo::get_version ( ) const
inline

Get the value of the 'version' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_identitytoolkit_api::UserInfo

◆ has_created_at()

bool google_identitytoolkit_api::UserInfo::has_created_at ( ) const
inline

Determine if the 'createdAt' attribute was set.

Returns
true if the 'createdAt' attribute was set.

◆ has_custom_attributes()

bool google_identitytoolkit_api::UserInfo::has_custom_attributes ( ) const
inline

Determine if the 'customAttributes' attribute was set.

Returns
true if the 'customAttributes' attribute was set.

◆ has_custom_auth()

bool google_identitytoolkit_api::UserInfo::has_custom_auth ( ) const
inline

Determine if the 'customAuth' attribute was set.

Returns
true if the 'customAuth' attribute was set.

◆ has_disabled()

bool google_identitytoolkit_api::UserInfo::has_disabled ( ) const
inline

Determine if the 'disabled' attribute was set.

Returns
true if the 'disabled' attribute was set.

◆ has_display_name()

bool google_identitytoolkit_api::UserInfo::has_display_name ( ) const
inline

Determine if the 'displayName' attribute was set.

Returns
true if the 'displayName' attribute was set.

◆ has_email()

bool google_identitytoolkit_api::UserInfo::has_email ( ) const
inline

Determine if the 'email' attribute was set.

Returns
true if the 'email' attribute was set.

◆ has_email_verified()

bool google_identitytoolkit_api::UserInfo::has_email_verified ( ) const
inline

Determine if the 'emailVerified' attribute was set.

Returns
true if the 'emailVerified' attribute was set.

◆ has_last_login_at()

bool google_identitytoolkit_api::UserInfo::has_last_login_at ( ) const
inline

Determine if the 'lastLoginAt' attribute was set.

Returns
true if the 'lastLoginAt' attribute was set.

◆ has_local_id()

bool google_identitytoolkit_api::UserInfo::has_local_id ( ) const
inline

Determine if the 'localId' attribute was set.

Returns
true if the 'localId' attribute was set.

◆ has_password_hash()

bool google_identitytoolkit_api::UserInfo::has_password_hash ( ) const
inline

Determine if the 'passwordHash' attribute was set.

Returns
true if the 'passwordHash' attribute was set.

◆ has_password_updated_at()

bool google_identitytoolkit_api::UserInfo::has_password_updated_at ( ) const
inline

Determine if the 'passwordUpdatedAt' attribute was set.

Returns
true if the 'passwordUpdatedAt' attribute was set.

◆ has_phone_number()

bool google_identitytoolkit_api::UserInfo::has_phone_number ( ) const
inline

Determine if the 'phoneNumber' attribute was set.

Returns
true if the 'phoneNumber' attribute was set.

◆ has_photo_url()

bool google_identitytoolkit_api::UserInfo::has_photo_url ( ) const
inline

Determine if the 'photoUrl' attribute was set.

Returns
true if the 'photoUrl' attribute was set.

◆ has_provider_user_info()

bool google_identitytoolkit_api::UserInfo::has_provider_user_info ( ) const
inline

Determine if the 'providerUserInfo' attribute was set.

Returns
true if the 'providerUserInfo' attribute was set.

◆ has_raw_password()

bool google_identitytoolkit_api::UserInfo::has_raw_password ( ) const
inline

Determine if the 'rawPassword' attribute was set.

Returns
true if the 'rawPassword' attribute was set.

◆ has_salt()

bool google_identitytoolkit_api::UserInfo::has_salt ( ) const
inline

Determine if the 'salt' attribute was set.

Returns
true if the 'salt' attribute was set.

◆ has_screen_name()

bool google_identitytoolkit_api::UserInfo::has_screen_name ( ) const
inline

Determine if the 'screenName' attribute was set.

Returns
true if the 'screenName' attribute was set.

◆ has_valid_since()

bool google_identitytoolkit_api::UserInfo::has_valid_since ( ) const
inline

Determine if the 'validSince' attribute was set.

Returns
true if the 'validSince' attribute was set.

◆ has_version()

bool google_identitytoolkit_api::UserInfo::has_version ( ) const
inline

Determine if the 'version' attribute was set.

Returns
true if the 'version' attribute was set.

◆ mutable_providerUserInfo()

client::JsonCppArray<UserInfoProviderUserInfo > google_identitytoolkit_api::UserInfo::mutable_providerUserInfo ( )
inline

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

The IDP of the user.

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

◆ New()

UserInfo * google_identitytoolkit_api::UserInfo::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_created_at()

void google_identitytoolkit_api::UserInfo::set_created_at ( int64  value)
inline

Change the 'createdAt' attribute.

User creation timestamp.

Parameters
[in]valueThe new value.

◆ set_custom_attributes()

void google_identitytoolkit_api::UserInfo::set_custom_attributes ( const StringPiece &  value)
inline

Change the 'customAttributes' attribute.

The custom attributes to be set in the user's id token.

Parameters
[in]valueThe new value.

◆ set_custom_auth()

void google_identitytoolkit_api::UserInfo::set_custom_auth ( bool  value)
inline

Change the 'customAuth' attribute.

Whether the user is authenticated by the developer.

Parameters
[in]valueThe new value.

◆ set_disabled()

void google_identitytoolkit_api::UserInfo::set_disabled ( bool  value)
inline

Change the 'disabled' attribute.

Whether the user is disabled.

Parameters
[in]valueThe new value.

◆ set_display_name()

void google_identitytoolkit_api::UserInfo::set_display_name ( const StringPiece &  value)
inline

Change the 'displayName' attribute.

The name of the user.

Parameters
[in]valueThe new value.

◆ set_email()

void google_identitytoolkit_api::UserInfo::set_email ( const StringPiece &  value)
inline

Change the 'email' attribute.

The email of the user.

Parameters
[in]valueThe new value.

◆ set_email_verified()

void google_identitytoolkit_api::UserInfo::set_email_verified ( bool  value)
inline

Change the 'emailVerified' attribute.

Whether the email has been verified.

Parameters
[in]valueThe new value.

◆ set_last_login_at()

void google_identitytoolkit_api::UserInfo::set_last_login_at ( int64  value)
inline

Change the 'lastLoginAt' attribute.

last login timestamp.

Parameters
[in]valueThe new value.

◆ set_local_id()

void google_identitytoolkit_api::UserInfo::set_local_id ( const StringPiece &  value)
inline

Change the 'localId' attribute.

The local ID of the user.

Parameters
[in]valueThe new value.

◆ set_password_hash()

void google_identitytoolkit_api::UserInfo::set_password_hash ( const StringPiece &  value)
inline

Change the 'passwordHash' attribute.

The user's hashed password.

Parameters
[in]valueThe new value.

◆ set_password_updated_at()

void google_identitytoolkit_api::UserInfo::set_password_updated_at ( double  value)
inline

Change the 'passwordUpdatedAt' attribute.

The timestamp when the password was last updated.

Parameters
[in]valueThe new value.

◆ set_phone_number()

void google_identitytoolkit_api::UserInfo::set_phone_number ( const StringPiece &  value)
inline

Change the 'phoneNumber' attribute.

User's phone number.

Parameters
[in]valueThe new value.

◆ set_photo_url()

void google_identitytoolkit_api::UserInfo::set_photo_url ( const StringPiece &  value)
inline

Change the 'photoUrl' attribute.

The URL of the user profile photo.

Parameters
[in]valueThe new value.

◆ set_raw_password()

void google_identitytoolkit_api::UserInfo::set_raw_password ( const StringPiece &  value)
inline

Change the 'rawPassword' attribute.

The user's plain text password.

Parameters
[in]valueThe new value.

◆ set_salt()

void google_identitytoolkit_api::UserInfo::set_salt ( const StringPiece &  value)
inline

Change the 'salt' attribute.

The user's password salt.

Parameters
[in]valueThe new value.

◆ set_screen_name()

void google_identitytoolkit_api::UserInfo::set_screen_name ( const StringPiece &  value)
inline

Change the 'screenName' attribute.

User's screen name at Twitter or login name at Github.

Parameters
[in]valueThe new value.

◆ set_valid_since()

void google_identitytoolkit_api::UserInfo::set_valid_since ( int64  value)
inline

Change the 'validSince' attribute.

Timestamp in seconds for valid login token.

Parameters
[in]valueThe new value.

◆ set_version()

void google_identitytoolkit_api::UserInfo::set_version ( int32  value)
inline

Change the 'version' attribute.

Version of the user's password.

Parameters
[in]valueThe new value.

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