22 #include "AuthenticationApi.h"
25 namespace authentication {
37 const std::string&
GetUserId()
const {
return user_id_; }
44 void SetUserId(std::string user_id) { user_id_ = std::move(user_id); }
51 const std::string&
GetRealm()
const {
return realm_; }
58 void SetRealm(std::string realm) { realm_ = std::move(realm); }
76 facebook_id_ = std::move(facebook_id);
92 firstname_ = std::move(firstname);
107 void SetLastname(std::string lastname) { lastname_ = std::move(lastname); }
114 const std::string&
GetEmail()
const {
return email_; }
121 void SetEmail(std::string email) { email_ = std::move(email); }
136 recovery_email_ = std::move(recovery_email);
144 const std::string&
GetDob()
const {
return dob_; }
151 void SetDob(std::string dob) { dob_ = std::move(dob); }
168 country_code_ = std::move(country_code);
183 void SetLanguage(std::string language) { language_ = std::move(language); }
202 email_verified_ = email_verified;
218 phone_number_ = std::move(phone_number);
235 phone_number_verified_ = phone_number_verified;
251 marketing_enabled_ = marketing_enabled;
302 const std::string&
GetState()
const {
return state_; }
309 void SetState(std::string state) { state_ = std::move(state); }
316 const std::string&
GetHrn()
const {
return hrn_; }
323 void SetHrn(std::string hrn) { hrn_ = std::move(hrn); }
338 account_type_ = std::move(account_type);
342 std::string user_id_;
344 std::string facebook_id_;
345 std::string firstname_;
346 std::string lastname_;
348 std::string recovery_email_;
350 std::string country_code_;
351 std::string language_;
352 bool email_verified_;
353 std::string phone_number_;
354 bool phone_number_verified_;
355 bool marketing_enabled_;
356 time_t created_time_;
357 time_t updated_time_;
360 std::string account_type_;
An account information.
Definition: UserAccountInfoResponse.h:30
bool GetMarketingEnabled() const
Checks if the marketing is enabled.
Definition: UserAccountInfoResponse.h:243
void SetPhoneNumberVerified(bool phone_number_verified)
Sets the verification of the phone number.
Definition: UserAccountInfoResponse.h:234
time_t GetUpdatedTime() const
Gets the timestamp (milliseconds since the Unix epoch) of when the account was last updated.
Definition: UserAccountInfoResponse.h:280
void SetMarketingEnabled(bool marketing_enabled)
Sets the marketing if it is enabled.
Definition: UserAccountInfoResponse.h:250
void SetFirstname(std::string firstname)
Sets the first name of the user.
Definition: UserAccountInfoResponse.h:91
void SetCountryCode(std::string country_code)
Sets the code of the user's country in the ISO 3166-1 alpha-3 format.
Definition: UserAccountInfoResponse.h:167
time_t GetCreatedTime() const
Gets the timestamp (milliseconds since the Unix epoch) of when the account was created.
Definition: UserAccountInfoResponse.h:260
void SetEmailVerified(bool email_verified)
Sets the verification of the primary email address.
Definition: UserAccountInfoResponse.h:201
const std::string & GetFirstname() const
Gets the first name of the user.
Definition: UserAccountInfoResponse.h:84
const std::string & GetState() const
Gets the current state of the account.
Definition: UserAccountInfoResponse.h:302
const std::string & GetCountryCode() const
Gets the code of the user's country in the ISO 3166-1 alpha-3 format.
Definition: UserAccountInfoResponse.h:159
void SetEmail(std::string email)
Sets the primary email address.
Definition: UserAccountInfoResponse.h:121
bool GetEmailVerified() const
Gets the verification of the primary email address.
Definition: UserAccountInfoResponse.h:193
const std::string & GetHrn() const
Gets the HRN of the user.
Definition: UserAccountInfoResponse.h:316
void SetAccountType(std::string account_type)
Sets the account type.
Definition: UserAccountInfoResponse.h:337
const std::string & GetEmail() const
Gets the primary email address.
Definition: UserAccountInfoResponse.h:114
void SetLanguage(std::string language)
Sets the code of the user's language in the ISO 639-1 2 format.
Definition: UserAccountInfoResponse.h:183
void SetRealm(std::string realm)
Sets the realm in which the user account exists.
Definition: UserAccountInfoResponse.h:58
void SetLastname(std::string lastname)
Sets the last name of the user.
Definition: UserAccountInfoResponse.h:107
void SetPhoneNumber(std::string phone_number)
Sets the user's phone number.
Definition: UserAccountInfoResponse.h:217
void SetUpdatedTime(time_t updated_time)
Sets the timestamp (milliseconds since the Unix epoch) of when the account was last updated.
Definition: UserAccountInfoResponse.h:288
const std::string & GetFacebookId() const
Gets the Facebook ID of the user.
Definition: UserAccountInfoResponse.h:68
void SetUserId(std::string user_id)
Sets the HERE Account ID of the user.
Definition: UserAccountInfoResponse.h:44
const std::string & GetUserId() const
Gets the HERE Account ID of the user.
Definition: UserAccountInfoResponse.h:37
const std::string & GetLanguage() const
Gets the code of the user's language in the ISO 639-1 2 format.
Definition: UserAccountInfoResponse.h:176
void SetFacebookId(std::string facebook_id)
Sets the Facebook ID of the user.
Definition: UserAccountInfoResponse.h:75
const std::string & GetDob() const
Gets the day of birth in the day/month/year format.
Definition: UserAccountInfoResponse.h:144
void SetCreatedTime(time_t created_time)
Sets the timestamp (milliseconds since the Unix epoch) of when the account was created.
Definition: UserAccountInfoResponse.h:268
void SetHrn(std::string hrn)
Sets the HRN of the user.
Definition: UserAccountInfoResponse.h:323
const std::string & GetAccountType() const
Gets the account type.
Definition: UserAccountInfoResponse.h:330
const std::string & GetRealm() const
Gets the realm in which the user account exists.
Definition: UserAccountInfoResponse.h:51
void SetDob(std::string dob)
Sets the day of birth.
Definition: UserAccountInfoResponse.h:151
void SetState(std::string state)
Sets the current state of the account.
Definition: UserAccountInfoResponse.h:309
const std::string & GetRecoveryEmail() const
Gets the recovery email address.
Definition: UserAccountInfoResponse.h:128
const std::string & GetPhoneNumber() const
Gets the user's phone number.
Definition: UserAccountInfoResponse.h:210
bool GetPhoneNumberVerified() const
Gets the verification of the phone number.
Definition: UserAccountInfoResponse.h:226
void SetRecoveryEmail(std::string recovery_email)
Sets the recovery email address.
Definition: UserAccountInfoResponse.h:135
const std::string & GetLastname() const
Gets the last name of the user.
Definition: UserAccountInfoResponse.h:100
Rules all the other namespaces.
Definition: AppleSignInProperties.h:24