| OLD | NEW |
| 1 { | 1 { |
| 2 "auth": { | 2 "auth": { |
| 3 "oauth2": { | 3 "oauth2": { |
| 4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
| 6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
| 7 }, | 7 }, |
| 8 "https://www.googleapis.com/auth/firebase": { | 8 "https://www.googleapis.com/auth/firebase": { |
| 9 "description": "View and administer all your Firebase data a
nd settings" | 9 "description": "View and administer all your Firebase data a
nd settings" |
| 10 } | 10 } |
| 11 } | 11 } |
| 12 } | 12 } |
| 13 }, | 13 }, |
| 14 "basePath": "/identitytoolkit/v3/relyingparty/", | 14 "basePath": "/identitytoolkit/v3/relyingparty/", |
| 15 "baseUrl": "https://www.googleapis.com/identitytoolkit/v3/relyingparty/", | 15 "baseUrl": "https://www.googleapis.com/identitytoolkit/v3/relyingparty/", |
| 16 "batchPath": "batch", | 16 "batchPath": "batch/identitytoolkit/v3", |
| 17 "canonicalName": "Identity Toolkit", | 17 "canonicalName": "Identity Toolkit", |
| 18 "description": "Help the third party sites to implement federated login.", | 18 "description": "Help the third party sites to implement federated login.", |
| 19 "discoveryVersion": "v1", | 19 "discoveryVersion": "v1", |
| 20 "documentationLink": "https://developers.google.com/identity-toolkit/v3/", | 20 "documentationLink": "https://developers.google.com/identity-toolkit/v3/", |
| 21 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/lY4purhHKClSF7bHp4Xq20FjMmM\"", | 21 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/YDuUtEWk-s4RoFmU1uyfiL_piZ0\"", |
| 22 "icons": { | 22 "icons": { |
| 23 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.
png", | 23 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.
png", |
| 24 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.
png" | 24 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.
png" |
| 25 }, | 25 }, |
| 26 "id": "identitytoolkit:v3", | 26 "id": "identitytoolkit:v3", |
| 27 "kind": "discovery#restDescription", | 27 "kind": "discovery#restDescription", |
| 28 "name": "identitytoolkit", | 28 "name": "identitytoolkit", |
| 29 "ownerDomain": "google.com", | 29 "ownerDomain": "google.com", |
| 30 "ownerName": "Google", | 30 "ownerName": "Google", |
| 31 "parameters": { | 31 "parameters": { |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 "request": { | 209 "request": { |
| 210 "$ref": "IdentitytoolkitRelyingpartyResetPasswordRequest
" | 210 "$ref": "IdentitytoolkitRelyingpartyResetPasswordRequest
" |
| 211 }, | 211 }, |
| 212 "response": { | 212 "response": { |
| 213 "$ref": "ResetPasswordResponse" | 213 "$ref": "ResetPasswordResponse" |
| 214 }, | 214 }, |
| 215 "scopes": [ | 215 "scopes": [ |
| 216 "https://www.googleapis.com/auth/cloud-platform" | 216 "https://www.googleapis.com/auth/cloud-platform" |
| 217 ] | 217 ] |
| 218 }, | 218 }, |
| 219 "sendVerificationCode": { |
| 220 "description": "Send SMS verification code.", |
| 221 "httpMethod": "POST", |
| 222 "id": "identitytoolkit.relyingparty.sendVerificationCode", |
| 223 "path": "sendVerificationCode", |
| 224 "request": { |
| 225 "$ref": "IdentitytoolkitRelyingpartySendVerificationCode
Request" |
| 226 }, |
| 227 "response": { |
| 228 "$ref": "IdentitytoolkitRelyingpartySendVerificationCode
Response" |
| 229 }, |
| 230 "scopes": [ |
| 231 "https://www.googleapis.com/auth/cloud-platform" |
| 232 ] |
| 233 }, |
| 219 "setAccountInfo": { | 234 "setAccountInfo": { |
| 220 "description": "Set account info for a user.", | 235 "description": "Set account info for a user.", |
| 221 "httpMethod": "POST", | 236 "httpMethod": "POST", |
| 222 "id": "identitytoolkit.relyingparty.setAccountInfo", | 237 "id": "identitytoolkit.relyingparty.setAccountInfo", |
| 223 "path": "setAccountInfo", | 238 "path": "setAccountInfo", |
| 224 "request": { | 239 "request": { |
| 225 "$ref": "IdentitytoolkitRelyingpartySetAccountInfoReques
t" | 240 "$ref": "IdentitytoolkitRelyingpartySetAccountInfoReques
t" |
| 226 }, | 241 }, |
| 227 "response": { | 242 "response": { |
| 228 "$ref": "SetAccountInfoResponse" | 243 "$ref": "SetAccountInfoResponse" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 "path": "verifyPassword", | 344 "path": "verifyPassword", |
| 330 "request": { | 345 "request": { |
| 331 "$ref": "IdentitytoolkitRelyingpartyVerifyPasswordReques
t" | 346 "$ref": "IdentitytoolkitRelyingpartyVerifyPasswordReques
t" |
| 332 }, | 347 }, |
| 333 "response": { | 348 "response": { |
| 334 "$ref": "VerifyPasswordResponse" | 349 "$ref": "VerifyPasswordResponse" |
| 335 }, | 350 }, |
| 336 "scopes": [ | 351 "scopes": [ |
| 337 "https://www.googleapis.com/auth/cloud-platform" | 352 "https://www.googleapis.com/auth/cloud-platform" |
| 338 ] | 353 ] |
| 354 }, |
| 355 "verifyPhoneNumber": { |
| 356 "description": "Verifies ownership of a phone number and cre
ates/updates the user account accordingly.", |
| 357 "httpMethod": "POST", |
| 358 "id": "identitytoolkit.relyingparty.verifyPhoneNumber", |
| 359 "path": "verifyPhoneNumber", |
| 360 "request": { |
| 361 "$ref": "IdentitytoolkitRelyingpartyVerifyPhoneNumberReq
uest" |
| 362 }, |
| 363 "response": { |
| 364 "$ref": "IdentitytoolkitRelyingpartyVerifyPhoneNumberRes
ponse" |
| 365 }, |
| 366 "scopes": [ |
| 367 "https://www.googleapis.com/auth/cloud-platform" |
| 368 ] |
| 339 } | 369 } |
| 340 } | 370 } |
| 341 } | 371 } |
| 342 }, | 372 }, |
| 343 "revision": "20170803", | 373 "revision": "20170828", |
| 344 "rootUrl": "https://www.googleapis.com/", | 374 "rootUrl": "https://www.googleapis.com/", |
| 345 "schemas": { | 375 "schemas": { |
| 346 "CreateAuthUriResponse": { | 376 "CreateAuthUriResponse": { |
| 347 "description": "Response of creating the IDP authentication URL.", | 377 "description": "Response of creating the IDP authentication URL.", |
| 348 "id": "CreateAuthUriResponse", | 378 "id": "CreateAuthUriResponse", |
| 349 "properties": { | 379 "properties": { |
| 350 "allProviders": { | 380 "allProviders": { |
| 351 "description": "all providers the user has once used to do f
ederated login", | 381 "description": "all providers the user has once used to do f
ederated login", |
| 352 "items": { | 382 "items": { |
| 353 "type": "string" | 383 "type": "string" |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 "description": "The old password inputted by the user.", | 774 "description": "The old password inputted by the user.", |
| 745 "type": "string" | 775 "type": "string" |
| 746 }, | 776 }, |
| 747 "oobCode": { | 777 "oobCode": { |
| 748 "description": "The confirmation code.", | 778 "description": "The confirmation code.", |
| 749 "type": "string" | 779 "type": "string" |
| 750 } | 780 } |
| 751 }, | 781 }, |
| 752 "type": "object" | 782 "type": "object" |
| 753 }, | 783 }, |
| 784 "IdentitytoolkitRelyingpartySendVerificationCodeRequest": { |
| 785 "description": "Request for Identitytoolkit-SendVerificationCode", |
| 786 "id": "IdentitytoolkitRelyingpartySendVerificationCodeRequest", |
| 787 "properties": { |
| 788 "iosReceipt": { |
| 789 "description": "Receipt of successful app token validation w
ith APNS.", |
| 790 "type": "string" |
| 791 }, |
| 792 "iosSecret": { |
| 793 "description": "Secret delivered to iOS app via APNS.", |
| 794 "type": "string" |
| 795 }, |
| 796 "phoneNumber": { |
| 797 "description": "The phone number to send the verification co
de to in E.164 format.", |
| 798 "type": "string" |
| 799 }, |
| 800 "recaptchaToken": { |
| 801 "description": "Recaptcha solution.", |
| 802 "type": "string" |
| 803 } |
| 804 }, |
| 805 "type": "object" |
| 806 }, |
| 807 "IdentitytoolkitRelyingpartySendVerificationCodeResponse": { |
| 808 "description": "Response for Identitytoolkit-SendVerificationCode", |
| 809 "id": "IdentitytoolkitRelyingpartySendVerificationCodeResponse", |
| 810 "properties": { |
| 811 "sessionInfo": { |
| 812 "description": "Encrypted session information", |
| 813 "type": "string" |
| 814 } |
| 815 }, |
| 816 "type": "object" |
| 817 }, |
| 754 "IdentitytoolkitRelyingpartySetAccountInfoRequest": { | 818 "IdentitytoolkitRelyingpartySetAccountInfoRequest": { |
| 755 "description": "Request to set the account information.", | 819 "description": "Request to set the account information.", |
| 756 "id": "IdentitytoolkitRelyingpartySetAccountInfoRequest", | 820 "id": "IdentitytoolkitRelyingpartySetAccountInfoRequest", |
| 757 "properties": { | 821 "properties": { |
| 758 "captchaChallenge": { | 822 "captchaChallenge": { |
| 759 "description": "The captcha challenge.", | 823 "description": "The captcha challenge.", |
| 760 "type": "string" | 824 "type": "string" |
| 761 }, | 825 }, |
| 762 "captchaResponse": { | 826 "captchaResponse": { |
| 763 "description": "Response to the captcha.", | 827 "description": "Response to the captcha.", |
| 764 "type": "string" | 828 "type": "string" |
| 765 }, | 829 }, |
| 766 "createdAt": { | 830 "createdAt": { |
| 767 "description": "The timestamp when the account is created.", | 831 "description": "The timestamp when the account is created.", |
| 768 "format": "int64", | 832 "format": "int64", |
| 769 "type": "string" | 833 "type": "string" |
| 770 }, | 834 }, |
| 835 "customAttributes": { |
| 836 "description": "The custom attributes to be set in the user'
s id token.", |
| 837 "type": "string" |
| 838 }, |
| 771 "delegatedProjectNumber": { | 839 "delegatedProjectNumber": { |
| 772 "description": "GCP project number of the requesting delegat
ed app. Currently only intended for Firebase V1 migration.", | 840 "description": "GCP project number of the requesting delegat
ed app. Currently only intended for Firebase V1 migration.", |
| 773 "format": "int64", | 841 "format": "int64", |
| 774 "type": "string" | 842 "type": "string" |
| 775 }, | 843 }, |
| 776 "deleteAttribute": { | 844 "deleteAttribute": { |
| 777 "description": "The attributes users request to delete.", | 845 "description": "The attributes users request to delete.", |
| 778 "items": { | 846 "items": { |
| 779 "type": "string" | 847 "type": "string" |
| 780 }, | 848 }, |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1010 "type": "object" | 1078 "type": "object" |
| 1011 }, | 1079 }, |
| 1012 "IdentitytoolkitRelyingpartyUploadAccountRequest": { | 1080 "IdentitytoolkitRelyingpartyUploadAccountRequest": { |
| 1013 "description": "Request to upload user account in batch.", | 1081 "description": "Request to upload user account in batch.", |
| 1014 "id": "IdentitytoolkitRelyingpartyUploadAccountRequest", | 1082 "id": "IdentitytoolkitRelyingpartyUploadAccountRequest", |
| 1015 "properties": { | 1083 "properties": { |
| 1016 "allowOverwrite": { | 1084 "allowOverwrite": { |
| 1017 "description": "Whether allow overwrite existing account whe
n user local_id exists.", | 1085 "description": "Whether allow overwrite existing account whe
n user local_id exists.", |
| 1018 "type": "boolean" | 1086 "type": "boolean" |
| 1019 }, | 1087 }, |
| 1088 "blockSize": { |
| 1089 "format": "int32", |
| 1090 "type": "integer" |
| 1091 }, |
| 1092 "cpuMemCost": { |
| 1093 "description": "The following 4 fields are for standard scry
pt algorithm.", |
| 1094 "format": "int32", |
| 1095 "type": "integer" |
| 1096 }, |
| 1020 "delegatedProjectNumber": { | 1097 "delegatedProjectNumber": { |
| 1021 "description": "GCP project number of the requesting delegat
ed app. Currently only intended for Firebase V1 migration.", | 1098 "description": "GCP project number of the requesting delegat
ed app. Currently only intended for Firebase V1 migration.", |
| 1022 "format": "int64", | 1099 "format": "int64", |
| 1023 "type": "string" | 1100 "type": "string" |
| 1024 }, | 1101 }, |
| 1102 "dkLen": { |
| 1103 "format": "int32", |
| 1104 "type": "integer" |
| 1105 }, |
| 1025 "hashAlgorithm": { | 1106 "hashAlgorithm": { |
| 1026 "description": "The password hash algorithm.", | 1107 "description": "The password hash algorithm.", |
| 1027 "type": "string" | 1108 "type": "string" |
| 1028 }, | 1109 }, |
| 1029 "memoryCost": { | 1110 "memoryCost": { |
| 1030 "description": "Memory cost for hash calculation. Used by sc
rypt similar algorithms.", | 1111 "description": "Memory cost for hash calculation. Used by sc
rypt similar algorithms.", |
| 1031 "format": "int32", | 1112 "format": "int32", |
| 1032 "type": "integer" | 1113 "type": "integer" |
| 1033 }, | 1114 }, |
| 1115 "parallelization": { |
| 1116 "format": "int32", |
| 1117 "type": "integer" |
| 1118 }, |
| 1034 "rounds": { | 1119 "rounds": { |
| 1035 "description": "Rounds for hash calculation. Used by scrypt
and similar algorithms.", | 1120 "description": "Rounds for hash calculation. Used by scrypt
and similar algorithms.", |
| 1036 "format": "int32", | 1121 "format": "int32", |
| 1037 "type": "integer" | 1122 "type": "integer" |
| 1038 }, | 1123 }, |
| 1039 "saltSeparator": { | 1124 "saltSeparator": { |
| 1040 "description": "The salt separator.", | 1125 "description": "The salt separator.", |
| 1041 "format": "byte", | 1126 "format": "byte", |
| 1042 "type": "string" | 1127 "type": "string" |
| 1043 }, | 1128 }, |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1177 "description": "The GITKit token for the non-trusted IDP, wh
ich is to be confirmed by the user.", | 1262 "description": "The GITKit token for the non-trusted IDP, wh
ich is to be confirmed by the user.", |
| 1178 "type": "string" | 1263 "type": "string" |
| 1179 }, | 1264 }, |
| 1180 "returnSecureToken": { | 1265 "returnSecureToken": { |
| 1181 "description": "Whether return sts id token and refresh toke
n instead of gitkit token.", | 1266 "description": "Whether return sts id token and refresh toke
n instead of gitkit token.", |
| 1182 "type": "boolean" | 1267 "type": "boolean" |
| 1183 } | 1268 } |
| 1184 }, | 1269 }, |
| 1185 "type": "object" | 1270 "type": "object" |
| 1186 }, | 1271 }, |
| 1272 "IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest": { |
| 1273 "description": "Request for Identitytoolkit-VerifyPhoneNumber", |
| 1274 "id": "IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest", |
| 1275 "properties": { |
| 1276 "code": { |
| 1277 "type": "string" |
| 1278 }, |
| 1279 "idToken": { |
| 1280 "type": "string" |
| 1281 }, |
| 1282 "operation": { |
| 1283 "type": "string" |
| 1284 }, |
| 1285 "phoneNumber": { |
| 1286 "type": "string" |
| 1287 }, |
| 1288 "sessionInfo": { |
| 1289 "description": "The session info previously returned by Iden
tityToolkit-SendVerificationCode.", |
| 1290 "type": "string" |
| 1291 }, |
| 1292 "temporaryProof": { |
| 1293 "type": "string" |
| 1294 }, |
| 1295 "verificationProof": { |
| 1296 "type": "string" |
| 1297 } |
| 1298 }, |
| 1299 "type": "object" |
| 1300 }, |
| 1301 "IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse": { |
| 1302 "description": "Response for Identitytoolkit-VerifyPhoneNumber", |
| 1303 "id": "IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse", |
| 1304 "properties": { |
| 1305 "expiresIn": { |
| 1306 "format": "int64", |
| 1307 "type": "string" |
| 1308 }, |
| 1309 "idToken": { |
| 1310 "type": "string" |
| 1311 }, |
| 1312 "isNewUser": { |
| 1313 "type": "boolean" |
| 1314 }, |
| 1315 "localId": { |
| 1316 "type": "string" |
| 1317 }, |
| 1318 "phoneNumber": { |
| 1319 "type": "string" |
| 1320 }, |
| 1321 "refreshToken": { |
| 1322 "type": "string" |
| 1323 }, |
| 1324 "temporaryProof": { |
| 1325 "type": "string" |
| 1326 }, |
| 1327 "temporaryProofExpiresIn": { |
| 1328 "format": "int64", |
| 1329 "type": "string" |
| 1330 }, |
| 1331 "verificationProof": { |
| 1332 "type": "string" |
| 1333 }, |
| 1334 "verificationProofExpiresIn": { |
| 1335 "format": "int64", |
| 1336 "type": "string" |
| 1337 } |
| 1338 }, |
| 1339 "type": "object" |
| 1340 }, |
| 1187 "IdpConfig": { | 1341 "IdpConfig": { |
| 1188 "description": "Template for a single idp configuration.", | 1342 "description": "Template for a single idp configuration.", |
| 1189 "id": "IdpConfig", | 1343 "id": "IdpConfig", |
| 1190 "properties": { | 1344 "properties": { |
| 1191 "clientId": { | 1345 "clientId": { |
| 1192 "description": "OAuth2 client ID.", | 1346 "description": "OAuth2 client ID.", |
| 1193 "type": "string" | 1347 "type": "string" |
| 1194 }, | 1348 }, |
| 1195 "enabled": { | 1349 "enabled": { |
| 1196 "description": "Whether this IDP is enabled.", | 1350 "description": "Whether this IDP is enabled.", |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1459 }, | 1613 }, |
| 1460 "UserInfo": { | 1614 "UserInfo": { |
| 1461 "description": "Template for an individual account info.", | 1615 "description": "Template for an individual account info.", |
| 1462 "id": "UserInfo", | 1616 "id": "UserInfo", |
| 1463 "properties": { | 1617 "properties": { |
| 1464 "createdAt": { | 1618 "createdAt": { |
| 1465 "description": "User creation timestamp.", | 1619 "description": "User creation timestamp.", |
| 1466 "format": "int64", | 1620 "format": "int64", |
| 1467 "type": "string" | 1621 "type": "string" |
| 1468 }, | 1622 }, |
| 1623 "customAttributes": { |
| 1624 "description": "The custom attributes to be set in the user'
s id token.", |
| 1625 "type": "string" |
| 1626 }, |
| 1469 "customAuth": { | 1627 "customAuth": { |
| 1470 "description": "Whether the user is authenticated by the dev
eloper.", | 1628 "description": "Whether the user is authenticated by the dev
eloper.", |
| 1471 "type": "boolean" | 1629 "type": "boolean" |
| 1472 }, | 1630 }, |
| 1473 "disabled": { | 1631 "disabled": { |
| 1474 "description": "Whether the user is disabled.", | 1632 "description": "Whether the user is disabled.", |
| 1475 "type": "boolean" | 1633 "type": "boolean" |
| 1476 }, | 1634 }, |
| 1477 "displayName": { | 1635 "displayName": { |
| 1478 "description": "The name of the user.", | 1636 "description": "The name of the user.", |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1755 "properties": { | 1913 "properties": { |
| 1756 "expiresIn": { | 1914 "expiresIn": { |
| 1757 "description": "If idToken is STS id token, then this field
will be expiration time of STS id token in seconds.", | 1915 "description": "If idToken is STS id token, then this field
will be expiration time of STS id token in seconds.", |
| 1758 "format": "int64", | 1916 "format": "int64", |
| 1759 "type": "string" | 1917 "type": "string" |
| 1760 }, | 1918 }, |
| 1761 "idToken": { | 1919 "idToken": { |
| 1762 "description": "The GITKit token for authenticated user.", | 1920 "description": "The GITKit token for authenticated user.", |
| 1763 "type": "string" | 1921 "type": "string" |
| 1764 }, | 1922 }, |
| 1923 "isNewUser": { |
| 1924 "description": "True if it's a new user sign-in, false if it
's a returning user.", |
| 1925 "type": "boolean" |
| 1926 }, |
| 1765 "kind": { | 1927 "kind": { |
| 1766 "default": "identitytoolkit#VerifyCustomTokenResponse", | 1928 "default": "identitytoolkit#VerifyCustomTokenResponse", |
| 1767 "description": "The fixed string \"identitytoolkit#VerifyCus
tomTokenResponse\".", | 1929 "description": "The fixed string \"identitytoolkit#VerifyCus
tomTokenResponse\".", |
| 1768 "type": "string" | 1930 "type": "string" |
| 1769 }, | 1931 }, |
| 1770 "refreshToken": { | 1932 "refreshToken": { |
| 1771 "description": "If idToken is STS id token, then this field
will be refresh token.", | 1933 "description": "If idToken is STS id token, then this field
will be refresh token.", |
| 1772 "type": "string" | 1934 "type": "string" |
| 1773 } | 1935 } |
| 1774 }, | 1936 }, |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1830 "type": "boolean" | 1992 "type": "boolean" |
| 1831 } | 1993 } |
| 1832 }, | 1994 }, |
| 1833 "type": "object" | 1995 "type": "object" |
| 1834 } | 1996 } |
| 1835 }, | 1997 }, |
| 1836 "servicePath": "identitytoolkit/v3/relyingparty/", | 1998 "servicePath": "identitytoolkit/v3/relyingparty/", |
| 1837 "title": "Google Identity Toolkit API", | 1999 "title": "Google Identity Toolkit API", |
| 1838 "version": "v3" | 2000 "version": "v3" |
| 1839 } | 2001 } |
| OLD | NEW |