on develop help sign in
Updating identitytoolkit service definition
d78ff99Brendan Hay
gen/model/identitytoolkit/v3/identitytoolkit-api.json+96−23
@@ -1,19 +1,19 @@
1{
1{
2 "kind": "discovery#restDescription",
2 "kind": "discovery#restDescription",
3− "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/wf3hMfh68A1iU1Ee8ZNiVo3poVk\"",
3+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/9lrbPxfnfcTzLSOgIxD2Vj83GmI\"",
4 "discoveryVersion": "v1",
4 "discoveryVersion": "v1",
5 "id": "identitytoolkit:v3",
5 "id": "identitytoolkit:v3",
6 "name": "identitytoolkit",
6 "name": "identitytoolkit",
7 "canonicalName": "Identity Toolkit",
7 "canonicalName": "Identity Toolkit",
8 "version": "v3",
8 "version": "v3",
9− "revision": "20161010",
9+ "revision": "20161206",
10 "title": "Google Identity Toolkit API",
10 "title": "Google Identity Toolkit API",
11 "description": "Help the third party sites to implement federated login.",
11 "description": "Help the third party sites to implement federated login.",
12 "ownerDomain": "google.com",
12 "ownerDomain": "google.com",
13 "ownerName": "Google",
13 "ownerName": "Google",
14 "icons": {
14 "icons": {
15− "x16": "http://www.google.com/images/icons/product/search-16.gif",
15+ "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
16− "x32": "http://www.google.com/images/icons/product/search-32.gif"
16+ "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
17 },
17 },
18 "documentationLink": "https://developers.google.com/identity-toolkit/v3/",
18 "documentationLink": "https://developers.google.com/identity-toolkit/v3/",
19 "protocol": "rest",
19 "protocol": "rest",
@@ -70,6 +70,9 @@
70 "auth": {
70 "auth": {
71 "oauth2": {
71 "oauth2": {
72 "scopes": {
72 "scopes": {
73+ "https://www.googleapis.com/auth/cloud-platform": {
74+ "description": "View and manage your data across Google Cloud Platform services"
75+ },
73 "https://www.googleapis.com/auth/firebase": {
76 "https://www.googleapis.com/auth/firebase": {
74 "description": "View and administer all your Firebase data and settings"
77 "description": "View and administer all your Firebase data and settings"
75 }
78 }
@@ -350,6 +353,10 @@
350 "nextPageToken": {
353 "nextPageToken": {
351 "type": "string",
354 "type": "string",
352 "description": "The token for the next page. This should be taken from the previous response."
355 "description": "The token for the next page. This should be taken from the previous response."
356+ },
357+ "targetProjectId": {
358+ "type": "string",
359+ "description": "Specify which project (field value is actually project id) to operate. Only used when provided credential."
353 }
360 }
354 }
361 }
355 },
362 },
@@ -407,6 +414,9 @@
407 "$ref": "EmailTemplate",
414 "$ref": "EmailTemplate",
408 "description": "Change email template."
415 "description": "Change email template."
409 },
416 },
417+ "dynamicLinksDomain": {
418+ "type": "string"
419+ },
410 "enableAnonymousUser": {
420 "enableAnonymousUser": {
411 "type": "boolean",
421 "type": "boolean",
412 "description": "Whether anonymous user is enabled."
422 "description": "Whether anonymous user is enabled."
@@ -683,6 +693,10 @@
683 "type": "string",
693 "type": "string",
684 "description": "Response to the captcha."
694 "description": "Response to the captcha."
685 },
695 },
696+ "disabled": {
697+ "type": "boolean",
698+ "description": "Whether to disable the user. Only can be used by service account."
699+ },
686 "displayName": {
700 "displayName": {
687 "type": "string",
701 "type": "string",
688 "description": "The name of the user."
702 "description": "The name of the user."
@@ -691,6 +705,10 @@
691 "type": "string",
705 "type": "string",
692 "description": "The email of the user."
706 "description": "The email of the user."
693 },
707 },
708+ "emailVerified": {
709+ "type": "boolean",
710+ "description": "Mark the email as verified or not. Only can be used by service account."
711+ },
694 "idToken": {
712 "idToken": {
695 "type": "string",
713 "type": "string",
696 "description": "The GITKit token of the authenticated user."
714 "description": "The GITKit token of the authenticated user."
@@ -702,6 +720,10 @@
702 "password": {
720 "password": {
703 "type": "string",
721 "type": "string",
704 "description": "The new password of the user."
722 "description": "The new password of the user."
723+ },
724+ "photoUrl": {
725+ "type": "string",
726+ "description": "The photo url of the user."
705 }
727 }
706 }
728 }
707 },
729 },
@@ -710,6 +732,10 @@
710 "type": "object",
732 "type": "object",
711 "description": "Request to upload user account in batch.",
733 "description": "Request to upload user account in batch.",
712 "properties": {
734 "properties": {
735+ "allowOverwrite": {
736+ "type": "boolean",
737+ "description": "Whether allow overwrite existing account when user local_id exists."
738+ },
713 "delegatedProjectNumber": {
739 "delegatedProjectNumber": {
714 "type": "string",
740 "type": "string",
715 "description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.",
741 "description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.",
@@ -1196,10 +1222,6 @@
1196 "type": "string",
1222 "type": "string",
1197 "description": "User's raw identifier directly returned from IDP."
1223 "description": "User's raw identifier directly returned from IDP."
1198 },
1224 },
1199− "rawUserInfo": {
1200− "type": "string",
1201− "description": "Raw IDP-returned user info."
1202− },
1203 "screenName": {
1225 "screenName": {
1204 "type": "string",
1226 "type": "string",
1205 "description": "User's screen name at Twitter or login name at Github."
1227 "description": "User's screen name at Twitter or login name at Github."
@@ -1207,6 +1229,10 @@
1207 }
1229 }
1208 }
1230 }
1209 },
1231 },
1232+ "rawPassword": {
1233+ "type": "string",
1234+ "description": "The user's plain text password."
1235+ },
1210 "salt": {
1236 "salt": {
1211 "type": "string",
1237 "type": "string",
1212 "description": "The user's password salt.",
1238 "description": "The user's password salt.",
@@ -1490,7 +1516,10 @@
1490 },
1516 },
1491 "response": {
1517 "response": {
1492 "$ref": "CreateAuthUriResponse"
1518 "$ref": "CreateAuthUriResponse"
1493− }
1519+ },
1520+ "scopes": [
1521+ "https://www.googleapis.com/auth/cloud-platform"
1522+ ]
1494 },
1523 },
1495 "deleteAccount": {
1524 "deleteAccount": {
1496 "id": "identitytoolkit.relyingparty.deleteAccount",
1525 "id": "identitytoolkit.relyingparty.deleteAccount",
@@ -1502,7 +1531,10 @@
1502 },
1531 },
1503 "response": {
1532 "response": {
1504 "$ref": "DeleteAccountResponse"
1533 "$ref": "DeleteAccountResponse"
1505− }
1534+ },
1535+ "scopes": [
1536+ "https://www.googleapis.com/auth/cloud-platform"
1537+ ]
1506 },
1538 },
1507 "downloadAccount": {
1539 "downloadAccount": {
1508 "id": "identitytoolkit.relyingparty.downloadAccount",
1540 "id": "identitytoolkit.relyingparty.downloadAccount",
@@ -1516,6 +1548,7 @@
1516 "$ref": "DownloadAccountResponse"
1548 "$ref": "DownloadAccountResponse"
1517 },
1549 },
1518 "scopes": [
1550 "scopes": [
1551+ "https://www.googleapis.com/auth/cloud-platform",
1519 "https://www.googleapis.com/auth/firebase"
1552 "https://www.googleapis.com/auth/firebase"
1520 ]
1553 ]
1521 },
1554 },
@@ -1529,7 +1562,10 @@
1529 },
1562 },
1530 "response": {
1563 "response": {
1531 "$ref": "GetAccountInfoResponse"
1564 "$ref": "GetAccountInfoResponse"
1532− }
1565+ },
1566+ "scopes": [
1567+ "https://www.googleapis.com/auth/cloud-platform"
1568+ ]
1533 },
1569 },
1534 "getOobConfirmationCode": {
1570 "getOobConfirmationCode": {
1535 "id": "identitytoolkit.relyingparty.getOobConfirmationCode",
1571 "id": "identitytoolkit.relyingparty.getOobConfirmationCode",
@@ -1541,7 +1577,10 @@
1541 },
1577 },
1542 "response": {
1578 "response": {
1543 "$ref": "GetOobConfirmationCodeResponse"
1579 "$ref": "GetOobConfirmationCodeResponse"
1544− }
1580+ },
1581+ "scopes": [
1582+ "https://www.googleapis.com/auth/cloud-platform"
1583+ ]
1545 },
1584 },
1546 "getProjectConfig": {
1585 "getProjectConfig": {
1547 "id": "identitytoolkit.relyingparty.getProjectConfig",
1586 "id": "identitytoolkit.relyingparty.getProjectConfig",
@@ -1562,7 +1601,10 @@
1562 },
1601 },
1563 "response": {
1602 "response": {
1564 "$ref": "IdentitytoolkitRelyingpartyGetProjectConfigResponse"
1603 "$ref": "IdentitytoolkitRelyingpartyGetProjectConfigResponse"
1565− }
1604+ },
1605+ "scopes": [
1606+ "https://www.googleapis.com/auth/cloud-platform"
1607+ ]
1566 },
1608 },
1567 "getPublicKeys": {
1609 "getPublicKeys": {
1568 "id": "identitytoolkit.relyingparty.getPublicKeys",
1610 "id": "identitytoolkit.relyingparty.getPublicKeys",
@@ -1571,7 +1613,10 @@
1571 "description": "Get token signing public key.",
1613 "description": "Get token signing public key.",
1572 "response": {
1614 "response": {
1573 "$ref": "IdentitytoolkitRelyingpartyGetPublicKeysResponse"
1615 "$ref": "IdentitytoolkitRelyingpartyGetPublicKeysResponse"
1574− }
1616+ },
1617+ "scopes": [
1618+ "https://www.googleapis.com/auth/cloud-platform"
1619+ ]
1575 },
1620 },
1576 "getRecaptchaParam": {
1621 "getRecaptchaParam": {
1577 "id": "identitytoolkit.relyingparty.getRecaptchaParam",
1622 "id": "identitytoolkit.relyingparty.getRecaptchaParam",
@@ -1580,7 +1625,10 @@
1580 "description": "Get recaptcha secure param.",
1625 "description": "Get recaptcha secure param.",
1581 "response": {
1626 "response": {
1582 "$ref": "GetRecaptchaParamResponse"
1627 "$ref": "GetRecaptchaParamResponse"
1583− }
1628+ },
1629+ "scopes": [
1630+ "https://www.googleapis.com/auth/cloud-platform"
1631+ ]
1584 },
1632 },
1585 "resetPassword": {
1633 "resetPassword": {
1586 "id": "identitytoolkit.relyingparty.resetPassword",
1634 "id": "identitytoolkit.relyingparty.resetPassword",
@@ -1592,7 +1640,10 @@
1592 },
1640 },
1593 "response": {
1641 "response": {
1594 "$ref": "ResetPasswordResponse"
1642 "$ref": "ResetPasswordResponse"
1595− }
1643+ },
1644+ "scopes": [
1645+ "https://www.googleapis.com/auth/cloud-platform"
1646+ ]
1596 },
1647 },
1597 "setAccountInfo": {
1648 "setAccountInfo": {
1598 "id": "identitytoolkit.relyingparty.setAccountInfo",
1649 "id": "identitytoolkit.relyingparty.setAccountInfo",
@@ -1604,7 +1655,10 @@
1604 },
1655 },
1605 "response": {
1656 "response": {
1606 "$ref": "SetAccountInfoResponse"
1657 "$ref": "SetAccountInfoResponse"
1607− }
1658+ },
1659+ "scopes": [
1660+ "https://www.googleapis.com/auth/cloud-platform"
1661+ ]
1608 },
1662 },
1609 "setProjectConfig": {
1663 "setProjectConfig": {
1610 "id": "identitytoolkit.relyingparty.setProjectConfig",
1664 "id": "identitytoolkit.relyingparty.setProjectConfig",
@@ -1616,7 +1670,10 @@
1616 },
1670 },
1617 "response": {
1671 "response": {
1618 "$ref": "IdentitytoolkitRelyingpartySetProjectConfigResponse"
1672 "$ref": "IdentitytoolkitRelyingpartySetProjectConfigResponse"
1619− }
1673+ },
1674+ "scopes": [
1675+ "https://www.googleapis.com/auth/cloud-platform"
1676+ ]
1620 },
1677 },
1621 "signOutUser": {
1678 "signOutUser": {
1622 "id": "identitytoolkit.relyingparty.signOutUser",
1679 "id": "identitytoolkit.relyingparty.signOutUser",
@@ -1628,7 +1685,10 @@
1628 },
1685 },
1629 "response": {
1686 "response": {
1630 "$ref": "IdentitytoolkitRelyingpartySignOutUserResponse"
1687 "$ref": "IdentitytoolkitRelyingpartySignOutUserResponse"
1631− }
1688+ },
1689+ "scopes": [
1690+ "https://www.googleapis.com/auth/cloud-platform"
1691+ ]
1632 },
1692 },
1633 "signupNewUser": {
1693 "signupNewUser": {
1634 "id": "identitytoolkit.relyingparty.signupNewUser",
1694 "id": "identitytoolkit.relyingparty.signupNewUser",
@@ -1640,7 +1700,10 @@
1640 },
1700 },
1641 "response": {
1701 "response": {
1642 "$ref": "SignupNewUserResponse"
1702 "$ref": "SignupNewUserResponse"
1643− }
1703+ },
1704+ "scopes": [
1705+ "https://www.googleapis.com/auth/cloud-platform"
1706+ ]
1644 },
1707 },
1645 "uploadAccount": {
1708 "uploadAccount": {
1646 "id": "identitytoolkit.relyingparty.uploadAccount",
1709 "id": "identitytoolkit.relyingparty.uploadAccount",
@@ -1654,6 +1717,7 @@
1654 "$ref": "UploadAccountResponse"
1717 "$ref": "UploadAccountResponse"
1655 },
1718 },
1656 "scopes": [
1719 "scopes": [
1720+ "https://www.googleapis.com/auth/cloud-platform",
1657 "https://www.googleapis.com/auth/firebase"
1721 "https://www.googleapis.com/auth/firebase"
1658 ]
1722 ]
1659 },
1723 },
@@ -1667,7 +1731,10 @@
1667 },
1731 },
1668 "response": {
1732 "response": {
1669 "$ref": "VerifyAssertionResponse"
1733 "$ref": "VerifyAssertionResponse"
1670− }
1734+ },
1735+ "scopes": [
1736+ "https://www.googleapis.com/auth/cloud-platform"
1737+ ]
1671 },
1738 },
1672 "verifyCustomToken": {
1739 "verifyCustomToken": {
1673 "id": "identitytoolkit.relyingparty.verifyCustomToken",
1740 "id": "identitytoolkit.relyingparty.verifyCustomToken",
@@ -1679,7 +1746,10 @@
1679 },
1746 },
1680 "response": {
1747 "response": {
1681 "$ref": "VerifyCustomTokenResponse"
1748 "$ref": "VerifyCustomTokenResponse"
1682− }
1749+ },
1750+ "scopes": [
1751+ "https://www.googleapis.com/auth/cloud-platform"
1752+ ]
1683 },
1753 },
1684 "verifyPassword": {
1754 "verifyPassword": {
1685 "id": "identitytoolkit.relyingparty.verifyPassword",
1755 "id": "identitytoolkit.relyingparty.verifyPassword",
@@ -1691,7 +1761,10 @@
1691 },
1761 },
1692 "response": {
1762 "response": {
1693 "$ref": "VerifyPasswordResponse"
1763 "$ref": "VerifyPasswordResponse"
1694− }
1764+ },
1765+ "scopes": [
1766+ "https://www.googleapis.com/auth/cloud-platform"
1767+ ]
1695 }
1768 }
1696 }
1769 }
1697 }
1770 }