identitytoolkit  v3
identity_toolkit_service.h
1 // Copyright 2010 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 // use this file except in compliance with the License. You may obtain a copy of
5 // the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 // License for the specific language governing permissions and limitations under
13 // the License.
14 //
15 //------------------------------------------------------------------------------
16 // This code was generated by google-apis-code-generator 1.5.1
17 // Build date: 2018-10-08 17:45:39 UTC
18 // on: 2020-04-06, 12:09:29 UTC
19 // C++ generator version: 0.1.4
20 //
21 // Changes to this file may cause incorrect behavior and will be lost if
22 // the code is regenerated.
23 //------------------------------------------------------------------------------
24 #ifndef GOOGLE_IDENTITYTOOLKIT_API_IDENTITY_TOOLKIT_SERVICE_H_
25 #define GOOGLE_IDENTITYTOOLKIT_API_IDENTITY_TOOLKIT_SERVICE_H_
26 
27 #include <string>
28 #include "googleapis/base/macros.h"
29 #include "googleapis/client/service/client_service.h"
30 #include "googleapis/client/util/status.h"
31 #include "googleapis/client/util/uri_template.h"
32 
33 #include "google/identitytoolkit_api/create_auth_uri_response.h"
34 #include "google/identitytoolkit_api/delete_account_response.h"
35 #include "google/identitytoolkit_api/download_account_response.h"
36 #include "google/identitytoolkit_api/email_link_signin_response.h"
37 #include "google/identitytoolkit_api/get_account_info_response.h"
38 #include "google/identitytoolkit_api/get_oob_confirmation_code_response.h"
39 #include "google/identitytoolkit_api/get_recaptcha_param_response.h"
40 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_create_auth_uri_request.h"
41 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_delete_account_request.h"
42 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_download_account_request.h"
43 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_email_link_signin_request.h"
44 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_get_account_info_request.h"
45 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_get_project_config_response.h"
46 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_reset_password_request.h"
47 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_send_verification_code_request.h"
48 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_send_verification_code_response.h"
49 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_set_account_info_request.h"
50 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_set_project_config_request.h"
51 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_set_project_config_response.h"
52 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_sign_out_user_request.h"
53 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_sign_out_user_response.h"
54 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_signup_new_user_request.h"
55 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_upload_account_request.h"
56 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_verify_assertion_request.h"
57 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_verify_custom_token_request.h"
58 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_verify_password_request.h"
59 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_verify_phone_number_request.h"
60 #include "google/identitytoolkit_api/identitytoolkit_relyingparty_verify_phone_number_response.h"
61 #include "google/identitytoolkit_api/relyingparty.h"
62 #include "google/identitytoolkit_api/reset_password_response.h"
63 #include "google/identitytoolkit_api/set_account_info_response.h"
64 #include "google/identitytoolkit_api/signup_new_user_response.h"
65 #include "google/identitytoolkit_api/upload_account_response.h"
66 #include "google/identitytoolkit_api/verify_assertion_response.h"
67 #include "google/identitytoolkit_api/verify_custom_token_response.h"
68 #include "google/identitytoolkit_api/verify_password_response.h"
69 
70 
72 using namespace googleapis;
103 class IdentityToolkitService;
104 
113  : public client::ClientServiceRequest {
114  public:
137  const client::ClientService* service,
138  client::AuthorizationCredential* credential,
139  client::HttpRequest::HttpMethod method,
140  const StringPiece& uri_template);
141 
146 
147 
151  void clear_alt() {
152  _have_alt_ = false;
153  client::ClearCppValueHelper(&alt_);
154  }
155 
156 
162  const string& get_alt() const { return alt_; }
163 
169  string* mutable_alt() {
170  _have_alt_ = true;
171  return &alt_;
172  }
173 
174 
180  void set_alt(const string& value) {
181  _have_alt_ = true;
182  alt_ = value;
183  }
184 
185 
186 
190  void clear_fields() {
191  _have_fields_ = false;
192  client::ClearCppValueHelper(&fields_);
193  }
194 
195 
201  const string& get_fields() const { return fields_; }
202 
208  string* mutable_fields() {
209  _have_fields_ = true;
210  return &fields_;
211  }
212 
213 
220  void set_fields(const string& value) {
221  _have_fields_ = true;
222  fields_ = value;
223  }
224 
225 
226 
230  void clear_key() {
231  _have_key_ = false;
232  client::ClearCppValueHelper(&key_);
233  }
234 
235 
241  const string& get_key() const { return key_; }
242 
248  string* mutable_key() {
249  _have_key_ = true;
250  return &key_;
251  }
252 
253 
261  void set_key(const string& value) {
262  _have_key_ = true;
263  key_ = value;
264  }
265 
266 
267 
272  _have_oauth_token_ = false;
273  client::ClearCppValueHelper(&oauth_token_);
274  }
275 
276 
282  const string& get_oauth_token() const { return oauth_token_; }
283 
290  string* mutable_oauthToken() {
291  _have_oauth_token_ = true;
292  return &oauth_token_;
293  }
294 
295 
301  void set_oauth_token(const string& value) {
302  _have_oauth_token_ = true;
303  oauth_token_ = value;
304  }
305 
306 
307 
312  _have_pretty_print_ = false;
313  client::ClearCppValueHelper(&pretty_print_);
314  }
315 
316 
322  bool get_pretty_print() const { return pretty_print_; }
323 
329  void set_pretty_print(bool value) {
330  _have_pretty_print_ = true;
331  pretty_print_ = value;
332  }
333 
338  _have_quota_user_ = false;
339  client::ClearCppValueHelper(&quota_user_);
340  }
341 
342 
348  const string& get_quota_user() const { return quota_user_; }
349 
356  string* mutable_quotaUser() {
357  _have_quota_user_ = true;
358  return &quota_user_;
359  }
360 
361 
368  void set_quota_user(const string& value) {
369  _have_quota_user_ = true;
370  quota_user_ = value;
371  }
372 
373 
374 
378  void clear_user_ip() {
379  _have_user_ip_ = false;
380  client::ClearCppValueHelper(&user_ip_);
381  }
382 
383 
389  const string& get_user_ip() const { return user_ip_; }
390 
396  string* mutable_userIp() {
397  _have_user_ip_ = true;
398  return &user_ip_;
399  }
400 
401 
408  void set_user_ip(const string& value) {
409  _have_user_ip_ = true;
410  user_ip_ = value;
411  }
412 
423  virtual util::Status AppendVariable(
424  const StringPiece& variable_name,
425  const client::UriTemplateConfig& config,
426  string* target);
427 
433  virtual util::Status AppendOptionalQueryParameters(string* target);
434 
435 
436  protected:
442  void AddJsonContentToRequest(const client::JsonCppData *content);
443 
444  private:
445  string alt_;
446  string fields_;
447  string key_;
448  string oauth_token_;
449  bool pretty_print_;
450  string quota_user_;
451  string user_ip_;
452  bool _have_alt_ : 1;
453  bool _have_fields_ : 1;
454  bool _have_key_ : 1;
455  bool _have_oauth_token_ : 1;
456  bool _have_pretty_print_ : 1;
457  bool _have_quota_user_ : 1;
458  bool _have_user_ip_ : 1;
459 
460  DISALLOW_COPY_AND_ASSIGN(IdentityToolkitServiceBaseRequest);
461 };
462 
463 
464 
478  public:
488  const IdentityToolkitService* _service_,
489  client::AuthorizationCredential* _credential_,
491 
496 
508  CreateAuthUriResponse* data) {
509  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
510  }
511 
512  private:
513  string _content_;
514  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_CreateAuthUriMethod);
515 };
516 
530  public:
540  const IdentityToolkitService* _service_,
541  client::AuthorizationCredential* _credential_,
543 
548 
560  DeleteAccountResponse* data) {
561  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
562  }
563 
564  private:
565  string _content_;
566  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_DeleteAccountMethod);
567 };
568 
583  public:
593  const IdentityToolkitService* _service_,
594  client::AuthorizationCredential* _credential_,
596 
601 
613  DownloadAccountResponse* data) {
614  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
615  }
616 
617  private:
618  string _content_;
619  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_DownloadAccountMethod);
620 };
621 
622 typedef client::ServiceRequestPager<
625  RelyingpartyResource_DownloadAccountMethodPager;
626 
640  public:
650  const IdentityToolkitService* _service_,
651  client::AuthorizationCredential* _credential_,
653 
658 
670  EmailLinkSigninResponse* data) {
671  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
672  }
673 
674  private:
675  string _content_;
676  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_EmailLinkSigninMethod);
677 };
678 
692  public:
702  const IdentityToolkitService* _service_,
703  client::AuthorizationCredential* _credential_,
705 
710 
722  GetAccountInfoResponse* data) {
723  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
724  }
725 
726  private:
727  string _content_;
728  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_GetAccountInfoMethod);
729 };
730 
744  public:
754  const IdentityToolkitService* _service_,
755  client::AuthorizationCredential* _credential_,
756  const Relyingparty& _content_);
757 
762 
775  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
776  }
777 
778  private:
779  string _content_;
780  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_GetOobConfirmationCodeMethod);
781 };
782 
796  public:
805  const IdentityToolkitService* _service_,
806  client::AuthorizationCredential* _credential_);
807 
812 
813 
818  _have_project_number_ = false;
819  client::ClearCppValueHelper(&project_number_);
820  }
821 
822 
828  const string& get_project_number() const { return project_number_; }
829 
837  _have_project_number_ = true;
838  return &project_number_;
839  }
840 
841 
847  void set_project_number(const string& value) {
848  _have_project_number_ = true;
849  project_number_ = value;
850  }
851 
852 
853 
859  _have_delegated_project_number_ = false;
860  client::ClearCppValueHelper(&delegated_project_number_);
861  }
862 
863 
869  const string& get_delegated_project_number() const { return delegated_project_number_; }
870 
878  _have_delegated_project_number_ = true;
879  return &delegated_project_number_;
880  }
881 
882 
888  void set_delegated_project_number(const string& value) {
889  _have_delegated_project_number_ = true;
890  delegated_project_number_ = value;
891  }
892 
902  virtual util::Status AppendVariable(
903  const StringPiece& variable_name,
904  const client::UriTemplateConfig& config,
905  string* target);
906 
912  virtual util::Status AppendOptionalQueryParameters(string* target);
913 
914 
927  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
928  }
929 
930  private:
931  string project_number_;
932  string delegated_project_number_;
933  bool _have_project_number_ : 1;
934  bool _have_delegated_project_number_ : 1;
935  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_GetProjectConfigMethod);
936 };
937 
951  public:
960  const IdentityToolkitService* _service_,
961  client::AuthorizationCredential* _credential_);
962 
967 
980  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
981  }
982 
983  private:
984  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_GetPublicKeysMethod);
985 };
986 
1000  public:
1009  const IdentityToolkitService* _service_,
1010  client::AuthorizationCredential* _credential_);
1011 
1016 
1028  GetRecaptchaParamResponse* data) {
1029  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
1030  }
1031 
1032  private:
1033  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_GetRecaptchaParamMethod);
1034 };
1035 
1049  public:
1059  const IdentityToolkitService* _service_,
1060  client::AuthorizationCredential* _credential_,
1062 
1067 
1079  ResetPasswordResponse* data) {
1080  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
1081  }
1082 
1083  private:
1084  string _content_;
1085  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_ResetPasswordMethod);
1086 };
1087 
1101  public:
1111  const IdentityToolkitService* _service_,
1112  client::AuthorizationCredential* _credential_,
1114 
1119 
1132  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
1133  }
1134 
1135  private:
1136  string _content_;
1137  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_SendVerificationCodeMethod);
1138 };
1139 
1153  public:
1163  const IdentityToolkitService* _service_,
1164  client::AuthorizationCredential* _credential_,
1166 
1171 
1183  SetAccountInfoResponse* data) {
1184  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
1185  }
1186 
1187  private:
1188  string _content_;
1189  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_SetAccountInfoMethod);
1190 };
1191 
1205  public:
1215  const IdentityToolkitService* _service_,
1216  client::AuthorizationCredential* _credential_,
1218 
1223 
1236  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
1237  }
1238 
1239  private:
1240  string _content_;
1241  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_SetProjectConfigMethod);
1242 };
1243 
1257  public:
1267  const IdentityToolkitService* _service_,
1268  client::AuthorizationCredential* _credential_,
1270 
1275 
1288  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
1289  }
1290 
1291  private:
1292  string _content_;
1293  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_SignOutUserMethod);
1294 };
1295 
1309  public:
1319  const IdentityToolkitService* _service_,
1320  client::AuthorizationCredential* _credential_,
1322 
1327 
1339  SignupNewUserResponse* data) {
1340  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
1341  }
1342 
1343  private:
1344  string _content_;
1345  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_SignupNewUserMethod);
1346 };
1347 
1362  public:
1372  const IdentityToolkitService* _service_,
1373  client::AuthorizationCredential* _credential_,
1375 
1380 
1392  UploadAccountResponse* data) {
1393  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
1394  }
1395 
1396  private:
1397  string _content_;
1398  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_UploadAccountMethod);
1399 };
1400 
1414  public:
1424  const IdentityToolkitService* _service_,
1425  client::AuthorizationCredential* _credential_,
1427 
1432 
1444  VerifyAssertionResponse* data) {
1445  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
1446  }
1447 
1448  private:
1449  string _content_;
1450  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_VerifyAssertionMethod);
1451 };
1452 
1466  public:
1476  const IdentityToolkitService* _service_,
1477  client::AuthorizationCredential* _credential_,
1479 
1484 
1496  VerifyCustomTokenResponse* data) {
1497  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
1498  }
1499 
1500  private:
1501  string _content_;
1502  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_VerifyCustomTokenMethod);
1503 };
1504 
1518  public:
1528  const IdentityToolkitService* _service_,
1529  client::AuthorizationCredential* _credential_,
1531 
1536 
1548  VerifyPasswordResponse* data) {
1549  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
1550  }
1551 
1552  private:
1553  string _content_;
1554  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_VerifyPasswordMethod);
1555 };
1556 
1570  public:
1580  const IdentityToolkitService* _service_,
1581  client::AuthorizationCredential* _credential_,
1583 
1588 
1601  return IdentityToolkitServiceBaseRequest::ExecuteAndParseResponse(data);
1602  }
1603 
1604  private:
1605  string _content_;
1606  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource_VerifyPhoneNumberMethod);
1607 };
1608 
1609 
1610 
1619 class IdentityToolkitService : public client::ClientService {
1620  public:
1624  static const char googleapis_API_NAME[];
1625 
1629  static const char googleapis_API_VERSION[];
1630 
1634  static const char googleapis_API_GENERATOR[];
1635 
1636 
1643  public:
1651  explicit RelyingpartyResource(IdentityToolkitService* service);
1652 
1657 
1658 
1668  RelyingpartyResource_CreateAuthUriMethod* NewCreateAuthUriMethod(
1669  client::AuthorizationCredential* _credential_,
1670  const IdentitytoolkitRelyingpartyCreateAuthUriRequest& _content_) const;
1671 
1681  RelyingpartyResource_DeleteAccountMethod* NewDeleteAccountMethod(
1682  client::AuthorizationCredential* _credential_,
1683  const IdentitytoolkitRelyingpartyDeleteAccountRequest& _content_) const;
1684 
1694  RelyingpartyResource_DownloadAccountMethod* NewDownloadAccountMethod(
1695  client::AuthorizationCredential* _credential_,
1696  const IdentitytoolkitRelyingpartyDownloadAccountRequest& _content_) const;
1697 
1706  RelyingpartyResource_DownloadAccountMethodPager* NewDownloadAccountMethodPager(
1707  client::AuthorizationCredential* _credential_,
1708  const IdentitytoolkitRelyingpartyDownloadAccountRequest& _content_) const;
1709 
1719  RelyingpartyResource_EmailLinkSigninMethod* NewEmailLinkSigninMethod(
1720  client::AuthorizationCredential* _credential_,
1721  const IdentitytoolkitRelyingpartyEmailLinkSigninRequest& _content_) const;
1722 
1732  RelyingpartyResource_GetAccountInfoMethod* NewGetAccountInfoMethod(
1733  client::AuthorizationCredential* _credential_,
1734  const IdentitytoolkitRelyingpartyGetAccountInfoRequest& _content_) const;
1735 
1745  RelyingpartyResource_GetOobConfirmationCodeMethod* NewGetOobConfirmationCodeMethod(
1746  client::AuthorizationCredential* _credential_,
1747  const Relyingparty& _content_) const;
1748 
1757  RelyingpartyResource_GetProjectConfigMethod* NewGetProjectConfigMethod(
1758  client::AuthorizationCredential* _credential_) const;
1759 
1768  RelyingpartyResource_GetPublicKeysMethod* NewGetPublicKeysMethod(
1769  client::AuthorizationCredential* _credential_) const;
1770 
1779  RelyingpartyResource_GetRecaptchaParamMethod* NewGetRecaptchaParamMethod(
1780  client::AuthorizationCredential* _credential_) const;
1781 
1791  RelyingpartyResource_ResetPasswordMethod* NewResetPasswordMethod(
1792  client::AuthorizationCredential* _credential_,
1793  const IdentitytoolkitRelyingpartyResetPasswordRequest& _content_) const;
1794 
1804  RelyingpartyResource_SendVerificationCodeMethod* NewSendVerificationCodeMethod(
1805  client::AuthorizationCredential* _credential_,
1807 
1817  RelyingpartyResource_SetAccountInfoMethod* NewSetAccountInfoMethod(
1818  client::AuthorizationCredential* _credential_,
1819  const IdentitytoolkitRelyingpartySetAccountInfoRequest& _content_) const;
1820 
1830  RelyingpartyResource_SetProjectConfigMethod* NewSetProjectConfigMethod(
1831  client::AuthorizationCredential* _credential_,
1833 
1843  RelyingpartyResource_SignOutUserMethod* NewSignOutUserMethod(
1844  client::AuthorizationCredential* _credential_,
1845  const IdentitytoolkitRelyingpartySignOutUserRequest& _content_) const;
1846 
1856  RelyingpartyResource_SignupNewUserMethod* NewSignupNewUserMethod(
1857  client::AuthorizationCredential* _credential_,
1858  const IdentitytoolkitRelyingpartySignupNewUserRequest& _content_) const;
1859 
1869  RelyingpartyResource_UploadAccountMethod* NewUploadAccountMethod(
1870  client::AuthorizationCredential* _credential_,
1871  const IdentitytoolkitRelyingpartyUploadAccountRequest& _content_) const;
1872 
1882  RelyingpartyResource_VerifyAssertionMethod* NewVerifyAssertionMethod(
1883  client::AuthorizationCredential* _credential_,
1884  const IdentitytoolkitRelyingpartyVerifyAssertionRequest& _content_) const;
1885 
1895  RelyingpartyResource_VerifyCustomTokenMethod* NewVerifyCustomTokenMethod(
1896  client::AuthorizationCredential* _credential_,
1898 
1908  RelyingpartyResource_VerifyPasswordMethod* NewVerifyPasswordMethod(
1909  client::AuthorizationCredential* _credential_,
1910  const IdentitytoolkitRelyingpartyVerifyPasswordRequest& _content_) const;
1911 
1921  RelyingpartyResource_VerifyPhoneNumberMethod* NewVerifyPhoneNumberMethod(
1922  client::AuthorizationCredential* _credential_,
1924 
1925  private:
1926  IdentityToolkitService* service_;
1927 
1928  DISALLOW_COPY_AND_ASSIGN(RelyingpartyResource);
1929  };
1930 
1931 
1932 
1939  explicit IdentityToolkitService(client::HttpTransport* transport);
1940 
1944  virtual ~IdentityToolkitService();
1945 
1952  return relyingparty_;
1953  }
1954 
1961  class SCOPES {
1962  public:
1966  static const char CLOUD_PLATFORM[];
1967 
1971  static const char FIREBASE[];
1972 
1973  private:
1974  SCOPES(); // Never instantiated.
1975  ~SCOPES(); // Never instantiated.
1976  };
1977 
1978  private:
1979  RelyingpartyResource relyingparty_;
1980 
1981  DISALLOW_COPY_AND_ASSIGN(IdentityToolkitService);
1982 };
1983 
1984 
2015 } // namespace google_identitytoolkit_api
2016 #endif // GOOGLE_IDENTITYTOOLKIT_API_IDENTITY_TOOLKIT_SERVICE_H_
util::Status ExecuteAndParseResponse(IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse *data)
Definition: identity_toolkit_service.h:1599
string * mutable_fields()
Definition: identity_toolkit_service.h:208
Definition: create_auth_uri_response.h:50
~RelyingpartyResource()
Definition: identity_toolkit_service.h:1656
void clear_pretty_print()
Definition: identity_toolkit_service.h:311
void set_delegated_project_number(const string &value)
Definition: identity_toolkit_service.h:888
Definition: identitytoolkit_relyingparty_verify_custom_token_request.h:51
Definition: identitytoolkit_relyingparty_sign_out_user_request.h:50
util::Status ExecuteAndParseResponse(IdentitytoolkitRelyingpartySetProjectConfigResponse *data)
Definition: identity_toolkit_service.h:1234
Definition: verify_custom_token_response.h:51
void clear_project_number()
Definition: identity_toolkit_service.h:817
Definition: identitytoolkit_relyingparty_verify_phone_number_response.h:51
Definition: download_account_response.h:52
const string & get_project_number() const
Definition: identity_toolkit_service.h:828
string * mutable_oauthToken()
Definition: identity_toolkit_service.h:290
util::Status ExecuteAndParseResponse(DownloadAccountResponse *data)
Definition: identity_toolkit_service.h:612
void clear_alt()
Definition: identity_toolkit_service.h:151
Definition: identitytoolkit_relyingparty_signup_new_user_request.h:51
string * mutable_alt()
Definition: identity_toolkit_service.h:169
const string & get_oauth_token() const
Definition: identity_toolkit_service.h:282
util::Status ExecuteAndParseResponse(IdentitytoolkitRelyingpartyGetProjectConfigResponse *data)
Definition: identity_toolkit_service.h:925
void set_quota_user(const string &value)
Definition: identity_toolkit_service.h:368
Definition: identitytoolkit_relyingparty_send_verification_code_response.h:50
Definition: identitytoolkit_relyingparty_email_link_signin_request.h:50
Definition: create_auth_uri_response.cc:40
util::Status ExecuteAndParseResponse(DeleteAccountResponse *data)
Definition: identity_toolkit_service.h:559
const string & get_quota_user() const
Definition: identity_toolkit_service.h:348
util::Status ExecuteAndParseResponse(GetRecaptchaParamResponse *data)
Definition: identity_toolkit_service.h:1027
const string & get_key() const
Definition: identity_toolkit_service.h:241
Definition: set_account_info_response.h:51
Definition: verify_assertion_response.h:51
void clear_fields()
Definition: identity_toolkit_service.h:190
Definition: identitytoolkit_relyingparty_set_account_info_request.h:51
const string & get_alt() const
Definition: identity_toolkit_service.h:162
string * mutable_projectNumber()
Definition: identity_toolkit_service.h:836
bool get_pretty_print() const
Definition: identity_toolkit_service.h:322
util::Status ExecuteAndParseResponse(SetAccountInfoResponse *data)
Definition: identity_toolkit_service.h:1182
Definition: identity_toolkit_service.h:1961
util::Status ExecuteAndParseResponse(CreateAuthUriResponse *data)
Definition: identity_toolkit_service.h:507
Definition: delete_account_response.h:50
util::Status ExecuteAndParseResponse(GetOobConfirmationCodeResponse *data)
Definition: identity_toolkit_service.h:773
void clear_delegated_project_number()
Definition: identity_toolkit_service.h:858
util::Status ExecuteAndParseResponse(GetAccountInfoResponse *data)
Definition: identity_toolkit_service.h:721
util::Status ExecuteAndParseResponse(IdentitytoolkitRelyingpartyGetPublicKeysResponse *data)
Definition: identity_toolkit_service.h:978
util::Status ExecuteAndParseResponse(IdentitytoolkitRelyingpartySignOutUserResponse *data)
Definition: identity_toolkit_service.h:1286
Definition: identitytoolkit_relyingparty_verify_assertion_request.h:51
util::Status ExecuteAndParseResponse(VerifyAssertionResponse *data)
Definition: identity_toolkit_service.h:1443
Definition: identitytoolkit_relyingparty_download_account_request.h:51
const string & get_delegated_project_number() const
Definition: identity_toolkit_service.h:869
util::Status ExecuteAndParseResponse(IdentitytoolkitRelyingpartySendVerificationCodeResponse *data)
Definition: identity_toolkit_service.h:1130
string * mutable_quotaUser()
Definition: identity_toolkit_service.h:356
void clear_user_ip()
Definition: identity_toolkit_service.h:378
void clear_oauth_token()
Definition: identity_toolkit_service.h:271
Definition: identitytoolkit_relyingparty_send_verification_code_request.h:50
Definition: get_recaptcha_param_response.h:50
Definition: identitytoolkit_relyingparty_set_project_config_request.h:54
const string & get_user_ip() const
Definition: identity_toolkit_service.h:389
Definition: identitytoolkit_relyingparty_get_project_config_response.h:53
void set_fields(const string &value)
Definition: identity_toolkit_service.h:220
void clear_key()
Definition: identity_toolkit_service.h:230
Definition: identitytoolkit_relyingparty_set_project_config_response.h:50
util::Status ExecuteAndParseResponse(SignupNewUserResponse *data)
Definition: identity_toolkit_service.h:1338
Definition: relyingparty.h:51
Definition: identitytoolkit_relyingparty_get_account_info_request.h:51
Definition: signup_new_user_response.h:52
void set_user_ip(const string &value)
Definition: identity_toolkit_service.h:408
Definition: upload_account_response.h:51
Definition: identitytoolkit_relyingparty_verify_password_request.h:51
void set_pretty_print(bool value)
Definition: identity_toolkit_service.h:329
util::Status ExecuteAndParseResponse(ResetPasswordResponse *data)
Definition: identity_toolkit_service.h:1078
Definition: identitytoolkit_relyingparty_reset_password_request.h:50
Definition: get_oob_confirmation_code_response.h:51
void set_key(const string &value)
Definition: identity_toolkit_service.h:261
Definition: identitytoolkit_relyingparty_upload_account_request.h:53
util::Status ExecuteAndParseResponse(UploadAccountResponse *data)
Definition: identity_toolkit_service.h:1391
Definition: reset_password_response.h:50
Definition: identity_toolkit_service.h:112
Definition: identitytoolkit_relyingparty_get_public_keys_response.h:49
void clear_quota_user()
Definition: identity_toolkit_service.h:337
string * mutable_delegatedProjectNumber()
Definition: identity_toolkit_service.h:877
Definition: email_link_signin_response.h:51
void set_alt(const string &value)
Definition: identity_toolkit_service.h:180
Definition: verify_password_response.h:51
Definition: get_account_info_response.h:52
Definition: identitytoolkit_relyingparty_sign_out_user_response.h:50
void set_oauth_token(const string &value)
Definition: identity_toolkit_service.h:301
void set_project_number(const string &value)
Definition: identity_toolkit_service.h:847
string * mutable_userIp()
Definition: identity_toolkit_service.h:396
util::Status ExecuteAndParseResponse(EmailLinkSigninResponse *data)
Definition: identity_toolkit_service.h:669
Definition: identitytoolkit_relyingparty_delete_account_request.h:51
string * mutable_key()
Definition: identity_toolkit_service.h:248
Definition: identity_toolkit_service.h:1619
util::Status ExecuteAndParseResponse(VerifyPasswordResponse *data)
Definition: identity_toolkit_service.h:1547
const string & get_fields() const
Definition: identity_toolkit_service.h:201
util::Status ExecuteAndParseResponse(VerifyCustomTokenResponse *data)
Definition: identity_toolkit_service.h:1495
Definition: identitytoolkit_relyingparty_verify_phone_number_request.h:50
Definition: identitytoolkit_relyingparty_create_auth_uri_request.h:51
const RelyingpartyResource & get_relyingparty() const
Definition: identity_toolkit_service.h:1951