on develop help sign in
Updating identitytoolkit service definition
commitd78ff99c9f01ba007abf26e8f1228bd72afd7a7e authorBrendan Hay <brendan.g.hay@gmail.com> dateSat 11 Feb 2017, 11:26 (10 years ago) parent12e1056
1 file changed+96−23
gen/model/identitytoolkit/v3/identitytoolkit-api.json+96−23
gen/model/identitytoolkit/v3/identitytoolkit-api.json+96−23
@@ -1,19 +1,19 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/wf3hMfh68A1iU1Ee8ZNiVo3poVk\"",
3+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/9lrbPxfnfcTzLSOgIxD2Vj83GmI\"",
44 "discoveryVersion": "v1",
55 "id": "identitytoolkit:v3",
66 "name": "identitytoolkit",
77 "canonicalName": "Identity Toolkit",
88 "version": "v3",
9− "revision": "20161010",
9+ "revision": "20161206",
1010 "title": "Google Identity Toolkit API",
1111 "description": "Help the third party sites to implement federated login.",
1212 "ownerDomain": "google.com",
1313 "ownerName": "Google",
1414 "icons": {
15− "x16": "http://www.google.com/images/icons/product/search-16.gif",
16− "x32": "http://www.google.com/images/icons/product/search-32.gif"
15+ "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
16+ "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
1717 },
1818 "documentationLink": "https://developers.google.com/identity-toolkit/v3/",
1919 "protocol": "rest",
@@ -70,6 +70,9 @@
7070 "auth": {
7171 "oauth2": {
7272 "scopes": {
73+ "https://www.googleapis.com/auth/cloud-platform": {
74+ "description": "View and manage your data across Google Cloud Platform services"
75+ },
7376 "https://www.googleapis.com/auth/firebase": {
7477 "description": "View and administer all your Firebase data and settings"
7578 }
@@ -350,6 +353,10 @@
350353 "nextPageToken": {
351354 "type": "string",
352355 "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."
353360 }
354361 }
355362 },
@@ -407,6 +414,9 @@
407414 "$ref": "EmailTemplate",
408415 "description": "Change email template."
409416 },
417+ "dynamicLinksDomain": {
418+ "type": "string"
419+ },
410420 "enableAnonymousUser": {
411421 "type": "boolean",
412422 "description": "Whether anonymous user is enabled."
@@ -683,6 +693,10 @@
683693 "type": "string",
684694 "description": "Response to the captcha."
685695 },
696+ "disabled": {
697+ "type": "boolean",
698+ "description": "Whether to disable the user. Only can be used by service account."
699+ },
686700 "displayName": {
687701 "type": "string",
688702 "description": "The name of the user."
@@ -691,6 +705,10 @@
691705 "type": "string",
692706 "description": "The email of the user."
693707 },
708+ "emailVerified": {
709+ "type": "boolean",
710+ "description": "Mark the email as verified or not. Only can be used by service account."
711+ },
694712 "idToken": {
695713 "type": "string",
696714 "description": "The GITKit token of the authenticated user."
@@ -702,6 +720,10 @@
702720 "password": {
703721 "type": "string",
704722 "description": "The new password of the user."
723+ },
724+ "photoUrl": {
725+ "type": "string",
726+ "description": "The photo url of the user."
705727 }
706728 }
707729 },
@@ -710,6 +732,10 @@
710732 "type": "object",
711733 "description": "Request to upload user account in batch.",
712734 "properties": {
735+ "allowOverwrite": {
736+ "type": "boolean",
737+ "description": "Whether allow overwrite existing account when user local_id exists."
738+ },
713739 "delegatedProjectNumber": {
714740 "type": "string",
715741 "description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.",
@@ -1196,10 +1222,6 @@
11961222 "type": "string",
11971223 "description": "User's raw identifier directly returned from IDP."
11981224 },
1199− "rawUserInfo": {
1200− "type": "string",
1201− "description": "Raw IDP-returned user info."
1202− },
12031225 "screenName": {
12041226 "type": "string",
12051227 "description": "User's screen name at Twitter or login name at Github."
@@ -1207,6 +1229,10 @@
12071229 }
12081230 }
12091231 },
1232+ "rawPassword": {
1233+ "type": "string",
1234+ "description": "The user's plain text password."
1235+ },
12101236 "salt": {
12111237 "type": "string",
12121238 "description": "The user's password salt.",
@@ -1490,7 +1516,10 @@
14901516 },
14911517 "response": {
14921518 "$ref": "CreateAuthUriResponse"
1493− }
1519+ },
1520+ "scopes": [
1521+ "https://www.googleapis.com/auth/cloud-platform"
1522+ ]
14941523 },
14951524 "deleteAccount": {
14961525 "id": "identitytoolkit.relyingparty.deleteAccount",
@@ -1502,7 +1531,10 @@
15021531 },
15031532 "response": {
15041533 "$ref": "DeleteAccountResponse"
1505− }
1534+ },
1535+ "scopes": [
1536+ "https://www.googleapis.com/auth/cloud-platform"
1537+ ]
15061538 },
15071539 "downloadAccount": {
15081540 "id": "identitytoolkit.relyingparty.downloadAccount",
@@ -1516,6 +1548,7 @@
15161548 "$ref": "DownloadAccountResponse"
15171549 },
15181550 "scopes": [
1551+ "https://www.googleapis.com/auth/cloud-platform",
15191552 "https://www.googleapis.com/auth/firebase"
15201553 ]
15211554 },
@@ -1529,7 +1562,10 @@
15291562 },
15301563 "response": {
15311564 "$ref": "GetAccountInfoResponse"
1532− }
1565+ },
1566+ "scopes": [
1567+ "https://www.googleapis.com/auth/cloud-platform"
1568+ ]
15331569 },
15341570 "getOobConfirmationCode": {
15351571 "id": "identitytoolkit.relyingparty.getOobConfirmationCode",
@@ -1541,7 +1577,10 @@
15411577 },
15421578 "response": {
15431579 "$ref": "GetOobConfirmationCodeResponse"
1544− }
1580+ },
1581+ "scopes": [
1582+ "https://www.googleapis.com/auth/cloud-platform"
1583+ ]
15451584 },
15461585 "getProjectConfig": {
15471586 "id": "identitytoolkit.relyingparty.getProjectConfig",
@@ -1562,7 +1601,10 @@
15621601 },
15631602 "response": {
15641603 "$ref": "IdentitytoolkitRelyingpartyGetProjectConfigResponse"
1565− }
1604+ },
1605+ "scopes": [
1606+ "https://www.googleapis.com/auth/cloud-platform"
1607+ ]
15661608 },
15671609 "getPublicKeys": {
15681610 "id": "identitytoolkit.relyingparty.getPublicKeys",
@@ -1571,7 +1613,10 @@
15711613 "description": "Get token signing public key.",
15721614 "response": {
15731615 "$ref": "IdentitytoolkitRelyingpartyGetPublicKeysResponse"
1574− }
1616+ },
1617+ "scopes": [
1618+ "https://www.googleapis.com/auth/cloud-platform"
1619+ ]
15751620 },
15761621 "getRecaptchaParam": {
15771622 "id": "identitytoolkit.relyingparty.getRecaptchaParam",
@@ -1580,7 +1625,10 @@
15801625 "description": "Get recaptcha secure param.",
15811626 "response": {
15821627 "$ref": "GetRecaptchaParamResponse"
1583− }
1628+ },
1629+ "scopes": [
1630+ "https://www.googleapis.com/auth/cloud-platform"
1631+ ]
15841632 },
15851633 "resetPassword": {
15861634 "id": "identitytoolkit.relyingparty.resetPassword",
@@ -1592,7 +1640,10 @@
15921640 },
15931641 "response": {
15941642 "$ref": "ResetPasswordResponse"
1595− }
1643+ },
1644+ "scopes": [
1645+ "https://www.googleapis.com/auth/cloud-platform"
1646+ ]
15961647 },
15971648 "setAccountInfo": {
15981649 "id": "identitytoolkit.relyingparty.setAccountInfo",
@@ -1604,7 +1655,10 @@
16041655 },
16051656 "response": {
16061657 "$ref": "SetAccountInfoResponse"
1607− }
1658+ },
1659+ "scopes": [
1660+ "https://www.googleapis.com/auth/cloud-platform"
1661+ ]
16081662 },
16091663 "setProjectConfig": {
16101664 "id": "identitytoolkit.relyingparty.setProjectConfig",
@@ -1616,7 +1670,10 @@
16161670 },
16171671 "response": {
16181672 "$ref": "IdentitytoolkitRelyingpartySetProjectConfigResponse"
1619− }
1673+ },
1674+ "scopes": [
1675+ "https://www.googleapis.com/auth/cloud-platform"
1676+ ]
16201677 },
16211678 "signOutUser": {
16221679 "id": "identitytoolkit.relyingparty.signOutUser",
@@ -1628,7 +1685,10 @@
16281685 },
16291686 "response": {
16301687 "$ref": "IdentitytoolkitRelyingpartySignOutUserResponse"
1631− }
1688+ },
1689+ "scopes": [
1690+ "https://www.googleapis.com/auth/cloud-platform"
1691+ ]
16321692 },
16331693 "signupNewUser": {
16341694 "id": "identitytoolkit.relyingparty.signupNewUser",
@@ -1640,7 +1700,10 @@
16401700 },
16411701 "response": {
16421702 "$ref": "SignupNewUserResponse"
1643− }
1703+ },
1704+ "scopes": [
1705+ "https://www.googleapis.com/auth/cloud-platform"
1706+ ]
16441707 },
16451708 "uploadAccount": {
16461709 "id": "identitytoolkit.relyingparty.uploadAccount",
@@ -1654,6 +1717,7 @@
16541717 "$ref": "UploadAccountResponse"
16551718 },
16561719 "scopes": [
1720+ "https://www.googleapis.com/auth/cloud-platform",
16571721 "https://www.googleapis.com/auth/firebase"
16581722 ]
16591723 },
@@ -1667,7 +1731,10 @@
16671731 },
16681732 "response": {
16691733 "$ref": "VerifyAssertionResponse"
1670− }
1734+ },
1735+ "scopes": [
1736+ "https://www.googleapis.com/auth/cloud-platform"
1737+ ]
16711738 },
16721739 "verifyCustomToken": {
16731740 "id": "identitytoolkit.relyingparty.verifyCustomToken",
@@ -1679,7 +1746,10 @@
16791746 },
16801747 "response": {
16811748 "$ref": "VerifyCustomTokenResponse"
1682− }
1749+ },
1750+ "scopes": [
1751+ "https://www.googleapis.com/auth/cloud-platform"
1752+ ]
16831753 },
16841754 "verifyPassword": {
16851755 "id": "identitytoolkit.relyingparty.verifyPassword",
@@ -1691,7 +1761,10 @@
16911761 },
16921762 "response": {
16931763 "$ref": "VerifyPasswordResponse"
1694− }
1764+ },
1765+ "scopes": [
1766+ "https://www.googleapis.com/auth/cloud-platform"
1767+ ]
16951768 }
16961769 }
16971770 }