Upgrade to latest API versions + code regen

This commit is contained in:
Sebastian Thiel
2017-12-12 14:30:54 +01:00
parent dc30217711
commit 357a0e650e
776 changed files with 356718 additions and 104442 deletions

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/YDuUtEWk-s4RoFmU1uyfiL_piZ0\"",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/5REpmDGFG7X9F_txWwyqL9Yixn0\"",
"discoveryVersion": "v1",
"id": "identitytoolkit:v3",
"name": "identitytoolkit",
"canonicalName": "Identity Toolkit",
"version": "v3",
"revision": "20170828",
"revision": "20171122",
"title": "Google Identity Toolkit API",
"description": "Help the third party sites to implement federated login.",
"ownerDomain": "google.com",
@@ -120,6 +120,13 @@
"sessionId": {
"type": "string",
"description": "Session ID which should be passed in the following verifyAssertion request."
},
"signinMethods": {
"type": "array",
"description": "All sign-in methods this user has used.",
"items": {
"type": "string"
}
}
}
},
@@ -158,6 +165,43 @@
}
}
},
"EmailLinkSigninResponse": {
"id": "EmailLinkSigninResponse",
"type": "object",
"description": "Response of email signIn.",
"properties": {
"email": {
"type": "string",
"description": "The user's email."
},
"expiresIn": {
"type": "string",
"description": "Expiration time of STS id token in seconds.",
"format": "int64"
},
"idToken": {
"type": "string",
"description": "The STS id token to login the newly signed in user."
},
"isNewUser": {
"type": "boolean",
"description": "Whether the user is new."
},
"kind": {
"type": "string",
"description": "The fixed string \"identitytoolkit#EmailLinkSigninResponse\".",
"default": "identitytoolkit#EmailLinkSigninResponse"
},
"localId": {
"type": "string",
"description": "The RP local ID of the user."
},
"refreshToken": {
"type": "string",
"description": "The refresh token for the signed in user."
}
}
},
"EmailTemplate": {
"id": "EmailTemplate",
"type": "object",
@@ -360,6 +404,25 @@
}
}
},
"IdentitytoolkitRelyingpartyEmailLinkSigninRequest": {
"id": "IdentitytoolkitRelyingpartyEmailLinkSigninRequest",
"type": "object",
"description": "Request to sign in with email.",
"properties": {
"email": {
"type": "string",
"description": "The email address of the user."
},
"idToken": {
"type": "string",
"description": "Token for linking flow."
},
"oobCode": {
"type": "string",
"description": "The confirmation code."
}
}
},
"IdentitytoolkitRelyingpartyGetAccountInfoRequest": {
"id": "IdentitytoolkitRelyingpartyGetAccountInfoRequest",
"type": "object",
@@ -1751,6 +1814,21 @@
"https://www.googleapis.com/auth/firebase"
]
},
"emailLinkSignin": {
"id": "identitytoolkit.relyingparty.emailLinkSignin",
"path": "emailLinkSignin",
"httpMethod": "POST",
"description": "Reset password for a user.",
"request": {
"$ref": "IdentitytoolkitRelyingpartyEmailLinkSigninRequest"
},
"response": {
"$ref": "EmailLinkSigninResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getAccountInfo": {
"id": "identitytoolkit.relyingparty.getAccountInfo",
"path": "getAccountInfo",