22 #include <olp/authentication/AuthenticationApi.h>
25 namespace authentication {
49 access_token_ = std::move(access_token);
67 firstname_ = std::move(firstname);
84 void SetLastname(std::string lastname) { lastname_ = std::move(lastname); }
103 country_code_ = std::move(country_code);
122 void SetLanguage(std::string language) { language_ = std::move(language); }
136 void SetClientId(std::string client_id) { client_id_ = std::move(client_id); }
144 const std::string&
GetRealm()
const {
return realm_; }
152 void SetRealm(std::string realm) { realm_ = std::move(realm); }
155 std::string access_token_;
156 std::string firstname_;
157 std::string lastname_;
158 std::string country_code_;
159 std::string language_;
160 std::string client_id_;
The Apple sign-in properties.
Definition: AppleSignInProperties.h:30
void SetFirstname(std::string firstname)
Sets the first name of the user.
Definition: AppleSignInProperties.h:66
const std::string & GetRealm() const
Gets the platform realm to which the application ID (client_id) belongs.
Definition: AppleSignInProperties.h:144
void SetCountryCode(std::string country_code)
Sets the code of the user's country in the ISO 3166-1 alpha-3 format.
Definition: AppleSignInProperties.h:102
const std::string & GetCountryCode() const
Gets the code of the user's country in the ISO 3166-1 alpha-3 format.
Definition: AppleSignInProperties.h:92
const std::string & GetFirstname() const
Gets the first name of the user.
Definition: AppleSignInProperties.h:57
void SetRealm(std::string realm)
Sets the platform realm to which the application ID (client_id) belongs.
Definition: AppleSignInProperties.h:152
const std::string & GetLanguage() const
Gets the code of the user's language in the ISO 639-1 alpha-2 format.
Definition: AppleSignInProperties.h:112
const std::string & GetLastname() const
Gets the last name of the user.
Definition: AppleSignInProperties.h:75
const std::string & GetAccessToken() const
Gets the bearer in the authorization request header.
Definition: AppleSignInProperties.h:39
void SetLanguage(std::string language)
Sets the code of the user's language in the ISO 639-1 alpha-2 format.
Definition: AppleSignInProperties.h:122
void SetClientId(std::string client_id)
Sets the application ID.
Definition: AppleSignInProperties.h:136
void SetAccessToken(std::string access_token)
Sets the bearer in the authorization request header.
Definition: AppleSignInProperties.h:48
void SetLastname(std::string lastname)
Sets the last name of the user.
Definition: AppleSignInProperties.h:84
const std::string & GetClientId() const
Gets the application ID.
Definition: AppleSignInProperties.h:129
Rules all the other namespaces.
Definition: AppleSignInProperties.h:24