#include <userinfo.h>
◆ Userinfo() [1/2]
| google_oauth2_api::Userinfo::Userinfo |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ Userinfo() [2/2]
| google_oauth2_api::Userinfo::Userinfo |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~Userinfo()
| google_oauth2_api::Userinfo::~Userinfo |
( |
| ) |
|
|
virtual |
◆ clear_email()
| void google_oauth2_api::Userinfo::clear_email |
( |
| ) |
|
|
inline |
Clears the 'email' attribute.
◆ clear_family_name()
| void google_oauth2_api::Userinfo::clear_family_name |
( |
| ) |
|
|
inline |
Clears the 'family_name' attribute.
◆ clear_gender()
| void google_oauth2_api::Userinfo::clear_gender |
( |
| ) |
|
|
inline |
Clears the 'gender' attribute.
◆ clear_given_name()
| void google_oauth2_api::Userinfo::clear_given_name |
( |
| ) |
|
|
inline |
Clears the 'given_name' attribute.
◆ clear_hd()
| void google_oauth2_api::Userinfo::clear_hd |
( |
| ) |
|
|
inline |
Clears the 'hd' attribute.
◆ clear_id()
| void google_oauth2_api::Userinfo::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id' attribute.
◆ clear_link()
| void google_oauth2_api::Userinfo::clear_link |
( |
| ) |
|
|
inline |
Clears the 'link' attribute.
◆ clear_locale()
| void google_oauth2_api::Userinfo::clear_locale |
( |
| ) |
|
|
inline |
Clears the 'locale' attribute.
◆ clear_name()
| void google_oauth2_api::Userinfo::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name' attribute.
◆ clear_picture()
| void google_oauth2_api::Userinfo::clear_picture |
( |
| ) |
|
|
inline |
Clears the 'picture' attribute.
◆ clear_verified_email()
| void google_oauth2_api::Userinfo::clear_verified_email |
( |
| ) |
|
|
inline |
Clears the 'verified_email' attribute.
◆ get_email()
| const StringPiece google_oauth2_api::Userinfo::get_email |
( |
| ) |
const |
|
inline |
Get the value of the 'email' attribute.
◆ get_family_name()
| const StringPiece google_oauth2_api::Userinfo::get_family_name |
( |
| ) |
const |
|
inline |
Get the value of the 'family_name' attribute.
◆ get_gender()
| const StringPiece google_oauth2_api::Userinfo::get_gender |
( |
| ) |
const |
|
inline |
Get the value of the 'gender' attribute.
◆ get_given_name()
| const StringPiece google_oauth2_api::Userinfo::get_given_name |
( |
| ) |
const |
|
inline |
Get the value of the 'given_name' attribute.
◆ get_hd()
| const StringPiece google_oauth2_api::Userinfo::get_hd |
( |
| ) |
const |
|
inline |
Get the value of the 'hd' attribute.
◆ get_id()
| const StringPiece google_oauth2_api::Userinfo::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id' attribute.
◆ get_link()
| const StringPiece google_oauth2_api::Userinfo::get_link |
( |
| ) |
const |
|
inline |
Get the value of the 'link' attribute.
◆ get_locale()
| const StringPiece google_oauth2_api::Userinfo::get_locale |
( |
| ) |
const |
|
inline |
Get the value of the 'locale' attribute.
◆ get_name()
| const StringPiece google_oauth2_api::Userinfo::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name' attribute.
◆ get_picture()
| const StringPiece google_oauth2_api::Userinfo::get_picture |
( |
| ) |
const |
|
inline |
Get the value of the 'picture' attribute.
◆ get_verified_email()
| bool google_oauth2_api::Userinfo::get_verified_email |
( |
| ) |
const |
|
inline |
Get the value of the 'verified_email' attribute.
◆ GetTypeName()
| const StringPiece google_oauth2_api::Userinfo::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_email()
| bool google_oauth2_api::Userinfo::has_email |
( |
| ) |
const |
|
inline |
Determine if the 'email' attribute was set.
- Returns
- true if the '
email' attribute was set.
◆ has_family_name()
| bool google_oauth2_api::Userinfo::has_family_name |
( |
| ) |
const |
|
inline |
Determine if the 'family_name' attribute was set.
- Returns
- true if the '
family_name' attribute was set.
◆ has_gender()
| bool google_oauth2_api::Userinfo::has_gender |
( |
| ) |
const |
|
inline |
Determine if the 'gender' attribute was set.
- Returns
- true if the '
gender' attribute was set.
◆ has_given_name()
| bool google_oauth2_api::Userinfo::has_given_name |
( |
| ) |
const |
|
inline |
Determine if the 'given_name' attribute was set.
- Returns
- true if the '
given_name' attribute was set.
◆ has_hd()
| bool google_oauth2_api::Userinfo::has_hd |
( |
| ) |
const |
|
inline |
Determine if the 'hd' attribute was set.
- Returns
- true if the '
hd' attribute was set.
◆ has_id()
| bool google_oauth2_api::Userinfo::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id' attribute was set.
- Returns
- true if the '
id' attribute was set.
◆ has_link()
| bool google_oauth2_api::Userinfo::has_link |
( |
| ) |
const |
|
inline |
Determine if the 'link' attribute was set.
- Returns
- true if the '
link' attribute was set.
◆ has_locale()
| bool google_oauth2_api::Userinfo::has_locale |
( |
| ) |
const |
|
inline |
Determine if the 'locale' attribute was set.
- Returns
- true if the '
locale' attribute was set.
◆ has_name()
| bool google_oauth2_api::Userinfo::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name' attribute was set.
- Returns
- true if the '
name' attribute was set.
◆ has_picture()
| bool google_oauth2_api::Userinfo::has_picture |
( |
| ) |
const |
|
inline |
Determine if the 'picture' attribute was set.
- Returns
- true if the '
picture' attribute was set.
◆ has_verified_email()
| bool google_oauth2_api::Userinfo::has_verified_email |
( |
| ) |
const |
|
inline |
Determine if the 'verified_email' attribute was set.
- Returns
- true if the '
verified_email' attribute was set.
◆ New()
| Userinfo * google_oauth2_api::Userinfo::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_email()
| void google_oauth2_api::Userinfo::set_email |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'email' attribute.
The user's email address.
- Parameters
-
◆ set_family_name()
| void google_oauth2_api::Userinfo::set_family_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'family_name' attribute.
The user's last name.
- Parameters
-
◆ set_gender()
| void google_oauth2_api::Userinfo::set_gender |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'gender' attribute.
The user's gender.
- Parameters
-
◆ set_given_name()
| void google_oauth2_api::Userinfo::set_given_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'given_name' attribute.
The user's first name.
- Parameters
-
◆ set_hd()
| void google_oauth2_api::Userinfo::set_hd |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'hd' attribute.
The hosted domain e.g. example.com if the user is Google apps user.
- Parameters
-
◆ set_id()
| void google_oauth2_api::Userinfo::set_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'id' attribute.
The obfuscated ID of the user.
- Parameters
-
◆ set_link()
| void google_oauth2_api::Userinfo::set_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'link' attribute.
URL of the profile page.
- Parameters
-
◆ set_locale()
| void google_oauth2_api::Userinfo::set_locale |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'locale' attribute.
The user's preferred locale.
- Parameters
-
◆ set_name()
| void google_oauth2_api::Userinfo::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name' attribute.
The user's full name.
- Parameters
-
◆ set_picture()
| void google_oauth2_api::Userinfo::set_picture |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'picture' attribute.
URL of the user's picture image.
- Parameters
-
◆ set_verified_email()
| void google_oauth2_api::Userinfo::set_verified_email |
( |
bool |
value | ) |
|
|
inline |
Change the 'verified_email' attribute.
Boolean flag which is true if the email address is verified. Always verified because we only return the user's primary email address.
- Parameters
-
The documentation for this class was generated from the following files:
- google/oauth2_api/userinfo.h
- google/oauth2_api/userinfo.cc