| OLD | NEW |
| 1 { | 1 { |
| 2 "basePath": "/identitytoolkit/v3/relyingparty/", | 2 "basePath": "/identitytoolkit/v3/relyingparty/", |
| 3 "baseUrl": "https://www.googleapis.com/identitytoolkit/v3/relyingparty/", | 3 "baseUrl": "https://www.googleapis.com/identitytoolkit/v3/relyingparty/", |
| 4 "batchPath": "batch", | 4 "batchPath": "batch", |
| 5 "canonicalName": "Identity Toolkit", | 5 "canonicalName": "Identity Toolkit", |
| 6 "description": "Help the third party sites to implement federated login.", | 6 "description": "Help the third party sites to implement federated login.", |
| 7 "discoveryVersion": "v1", | 7 "discoveryVersion": "v1", |
| 8 "documentationLink": "https://developers.google.com/identity-toolkit/v3/", | 8 "documentationLink": "https://developers.google.com/identity-toolkit/v3/", |
| 9 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/PRVB_KLGJsONNxc9oRcr6WW_ekc\"", | 9 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/hUSUQ1FCOLm-WaxWC_MbF3f27YE\"", |
| 10 "icons": { | 10 "icons": { |
| 11 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 11 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 12 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 12 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 13 }, | 13 }, |
| 14 "id": "identitytoolkit:v3", | 14 "id": "identitytoolkit:v3", |
| 15 "kind": "discovery#restDescription", | 15 "kind": "discovery#restDescription", |
| 16 "name": "identitytoolkit", | 16 "name": "identitytoolkit", |
| 17 "ownerDomain": "google.com", | 17 "ownerDomain": "google.com", |
| 18 "ownerName": "Google", | 18 "ownerName": "Google", |
| 19 "parameters": { | 19 "parameters": { |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 "request": { | 268 "request": { |
| 269 "$ref": "IdentitytoolkitRelyingpartyVerifyPasswordReques
t" | 269 "$ref": "IdentitytoolkitRelyingpartyVerifyPasswordReques
t" |
| 270 }, | 270 }, |
| 271 "response": { | 271 "response": { |
| 272 "$ref": "VerifyPasswordResponse" | 272 "$ref": "VerifyPasswordResponse" |
| 273 } | 273 } |
| 274 } | 274 } |
| 275 } | 275 } |
| 276 } | 276 } |
| 277 }, | 277 }, |
| 278 "revision": "20160728", | 278 "revision": "20160812", |
| 279 "rootUrl": "https://www.googleapis.com/", | 279 "rootUrl": "https://www.googleapis.com/", |
| 280 "schemas": { | 280 "schemas": { |
| 281 "CreateAuthUriResponse": { | 281 "CreateAuthUriResponse": { |
| 282 "description": "Response of creating the IDP authentication URL.", | 282 "description": "Response of creating the IDP authentication URL.", |
| 283 "id": "CreateAuthUriResponse", | 283 "id": "CreateAuthUriResponse", |
| 284 "properties": { | 284 "properties": { |
| 285 "allProviders": { | 285 "allProviders": { |
| 286 "description": "all providers the user has once used to do f
ederated login", | 286 "description": "all providers the user has once used to do f
ederated login", |
| 287 "items": { | 287 "items": { |
| 288 "type": "string" | 288 "type": "string" |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 "type": "object" | 447 "type": "object" |
| 448 }, | 448 }, |
| 449 "IdentitytoolkitRelyingpartyCreateAuthUriRequest": { | 449 "IdentitytoolkitRelyingpartyCreateAuthUriRequest": { |
| 450 "description": "Request to get the IDP authentication URL.", | 450 "description": "Request to get the IDP authentication URL.", |
| 451 "id": "IdentitytoolkitRelyingpartyCreateAuthUriRequest", | 451 "id": "IdentitytoolkitRelyingpartyCreateAuthUriRequest", |
| 452 "properties": { | 452 "properties": { |
| 453 "appId": { | 453 "appId": { |
| 454 "description": "The app ID of the mobile app, base64(CERT_SH
A1):PACKAGE_NAME for Android, BUNDLE_ID for iOS.", | 454 "description": "The app ID of the mobile app, base64(CERT_SH
A1):PACKAGE_NAME for Android, BUNDLE_ID for iOS.", |
| 455 "type": "string" | 455 "type": "string" |
| 456 }, | 456 }, |
| 457 "authFlowType": { |
| 458 "description": "Explicitly specify the auth flow type. Curre
ntly only support \"CODE_FLOW\" type. The field is only used for Google provider
.", |
| 459 "type": "string" |
| 460 }, |
| 457 "clientId": { | 461 "clientId": { |
| 458 "description": "The relying party OAuth client ID.", | 462 "description": "The relying party OAuth client ID.", |
| 459 "type": "string" | 463 "type": "string" |
| 460 }, | 464 }, |
| 461 "context": { | 465 "context": { |
| 462 "description": "The opaque value used by the client to maint
ain context info between the authentication request and the IDP callback.", | 466 "description": "The opaque value used by the client to maint
ain context info between the authentication request and the IDP callback.", |
| 463 "type": "string" | 467 "type": "string" |
| 464 }, | 468 }, |
| 465 "continueUri": { | 469 "continueUri": { |
| 466 "description": "The URI to which the IDP redirects the user
after the federated login flow.", | 470 "description": "The URI to which the IDP redirects the user
after the federated login flow.", |
| (...skipping 19 matching lines...) Expand all Loading... |
| 486 "description": "Optional realm for OpenID protocol. The sub
string \"scheme://domain:port\" of the param \"continueUri\" is used if this is
not set.", | 490 "description": "Optional realm for OpenID protocol. The sub
string \"scheme://domain:port\" of the param \"continueUri\" is used if this is
not set.", |
| 487 "type": "string" | 491 "type": "string" |
| 488 }, | 492 }, |
| 489 "otaApp": { | 493 "otaApp": { |
| 490 "description": "The native app package for OTA installation.
", | 494 "description": "The native app package for OTA installation.
", |
| 491 "type": "string" | 495 "type": "string" |
| 492 }, | 496 }, |
| 493 "providerId": { | 497 "providerId": { |
| 494 "description": "The IdP ID. For white listed IdPs it's a sho
rt domain name e.g. google.com, aol.com, live.net and yahoo.com. For other OpenI
D IdPs it's the OP identifier.", | 498 "description": "The IdP ID. For white listed IdPs it's a sho
rt domain name e.g. google.com, aol.com, live.net and yahoo.com. For other OpenI
D IdPs it's the OP identifier.", |
| 495 "type": "string" | 499 "type": "string" |
| 500 }, |
| 501 "sessionId": { |
| 502 "description": "The session_id passed by client.", |
| 503 "type": "string" |
| 496 } | 504 } |
| 497 }, | 505 }, |
| 498 "type": "object" | 506 "type": "object" |
| 499 }, | 507 }, |
| 500 "IdentitytoolkitRelyingpartyDeleteAccountRequest": { | 508 "IdentitytoolkitRelyingpartyDeleteAccountRequest": { |
| 501 "description": "Request to delete account.", | 509 "description": "Request to delete account.", |
| 502 "id": "IdentitytoolkitRelyingpartyDeleteAccountRequest", | 510 "id": "IdentitytoolkitRelyingpartyDeleteAccountRequest", |
| 503 "properties": { | 511 "properties": { |
| 504 "delegatedProjectNumber": { | 512 "delegatedProjectNumber": { |
| 505 "description": "GCP project number of the requesting delegat
ed app. Currently only intended for Firebase V1 migration.", | 513 "description": "GCP project number of the requesting delegat
ed app. Currently only intended for Firebase V1 migration.", |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 955 "type": "string" | 963 "type": "string" |
| 956 }, | 964 }, |
| 957 "postBody": { | 965 "postBody": { |
| 958 "description": "The post body if the request is a HTTP POST.
", | 966 "description": "The post body if the request is a HTTP POST.
", |
| 959 "type": "string" | 967 "type": "string" |
| 960 }, | 968 }, |
| 961 "requestUri": { | 969 "requestUri": { |
| 962 "description": "The URI to which the IDP redirects the user
back. It may contain federated login result params added by the IDP.", | 970 "description": "The URI to which the IDP redirects the user
back. It may contain federated login result params added by the IDP.", |
| 963 "type": "string" | 971 "type": "string" |
| 964 }, | 972 }, |
| 973 "returnIdpCredential": { |
| 974 "description": "Whether return 200 and IDP credential rather
than throw exception when federated id is already linked.", |
| 975 "type": "boolean" |
| 976 }, |
| 965 "returnRefreshToken": { | 977 "returnRefreshToken": { |
| 966 "description": "Whether to return refresh tokens.", | 978 "description": "Whether to return refresh tokens.", |
| 967 "type": "boolean" | 979 "type": "boolean" |
| 968 }, | 980 }, |
| 969 "returnSecureToken": { | 981 "returnSecureToken": { |
| 970 "description": "Whether return sts id token and refresh toke
n instead of gitkit token.", | 982 "description": "Whether return sts id token and refresh toke
n instead of gitkit token.", |
| 971 "type": "boolean" | 983 "type": "boolean" |
| 972 }, | 984 }, |
| 973 "sessionId": { | 985 "sessionId": { |
| 974 "description": "Session ID, which should match the one in pr
evious createAuthUri request.", | 986 "description": "Session ID, which should match the one in pr
evious createAuthUri request.", |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1346 "description": "The user's photo url at the IDP.
", | 1358 "description": "The user's photo url at the IDP.
", |
| 1347 "type": "string" | 1359 "type": "string" |
| 1348 }, | 1360 }, |
| 1349 "providerId": { | 1361 "providerId": { |
| 1350 "description": "The IdP ID. For white listed IdP
s it's a short domain name, e.g., google.com, aol.com, live.net and yahoo.com. F
or other OpenID IdPs it's the OP identifier.", | 1362 "description": "The IdP ID. For white listed IdP
s it's a short domain name, e.g., google.com, aol.com, live.net and yahoo.com. F
or other OpenID IdPs it's the OP identifier.", |
| 1351 "type": "string" | 1363 "type": "string" |
| 1352 }, | 1364 }, |
| 1353 "rawId": { | 1365 "rawId": { |
| 1354 "description": "User's raw identifier directly r
eturned from IDP.", | 1366 "description": "User's raw identifier directly r
eturned from IDP.", |
| 1355 "type": "string" | 1367 "type": "string" |
| 1368 }, |
| 1369 "rawUserInfo": { |
| 1370 "description": "Raw IDP-returned user info.", |
| 1371 "type": "string" |
| 1372 }, |
| 1373 "screenName": { |
| 1374 "description": "User's screen name at Twitter.", |
| 1375 "type": "string" |
| 1356 } | 1376 } |
| 1357 }, | 1377 }, |
| 1358 "type": "object" | 1378 "type": "object" |
| 1359 }, | 1379 }, |
| 1360 "type": "array" | 1380 "type": "array" |
| 1361 }, | 1381 }, |
| 1362 "salt": { | 1382 "salt": { |
| 1363 "description": "The user's password salt.", | 1383 "description": "The user's password salt.", |
| 1364 "format": "byte", | 1384 "format": "byte", |
| 1365 "type": "string" | 1385 "type": "string" |
| 1366 }, | 1386 }, |
| 1387 "screenName": { |
| 1388 "description": "User's screen name at Twitter.", |
| 1389 "type": "string" |
| 1390 }, |
| 1367 "validSince": { | 1391 "validSince": { |
| 1368 "description": "Timestamp in seconds for valid login token."
, | 1392 "description": "Timestamp in seconds for valid login token."
, |
| 1369 "format": "int64", | 1393 "format": "int64", |
| 1370 "type": "string" | 1394 "type": "string" |
| 1371 }, | 1395 }, |
| 1372 "version": { | 1396 "version": { |
| 1373 "description": "Version of the user's password.", | 1397 "description": "Version of the user's password.", |
| 1374 "format": "int32", | 1398 "format": "int32", |
| 1375 "type": "integer" | 1399 "type": "integer" |
| 1376 } | 1400 } |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1410 "type": "string" | 1434 "type": "string" |
| 1411 }, | 1435 }, |
| 1412 "emailRecycled": { | 1436 "emailRecycled": { |
| 1413 "description": "It's true if the email is recycled.", | 1437 "description": "It's true if the email is recycled.", |
| 1414 "type": "boolean" | 1438 "type": "boolean" |
| 1415 }, | 1439 }, |
| 1416 "emailVerified": { | 1440 "emailVerified": { |
| 1417 "description": "The value is true if the IDP is also the ema
il provider. It means the user owns the email.", | 1441 "description": "The value is true if the IDP is also the ema
il provider. It means the user owns the email.", |
| 1418 "type": "boolean" | 1442 "type": "boolean" |
| 1419 }, | 1443 }, |
| 1444 "errorMessage": { |
| 1445 "description": "Client error code.", |
| 1446 "type": "string" |
| 1447 }, |
| 1420 "expiresIn": { | 1448 "expiresIn": { |
| 1421 "description": "If idToken is STS id token, then this field
will be expiration time of STS id token in seconds.", | 1449 "description": "If idToken is STS id token, then this field
will be expiration time of STS id token in seconds.", |
| 1422 "format": "int64", | 1450 "format": "int64", |
| 1423 "type": "string" | 1451 "type": "string" |
| 1424 }, | 1452 }, |
| 1425 "federatedId": { | 1453 "federatedId": { |
| 1426 "description": "The unique ID identifies the IdP account.", | 1454 "description": "The unique ID identifies the IdP account.", |
| 1427 "type": "string" | 1455 "type": "string" |
| 1428 }, | 1456 }, |
| 1429 "firstName": { | 1457 "firstName": { |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1505 "type": "string" | 1533 "type": "string" |
| 1506 }, | 1534 }, |
| 1507 "photoUrl": { | 1535 "photoUrl": { |
| 1508 "description": "The URI of the public accessible profiel pic
ture.", | 1536 "description": "The URI of the public accessible profiel pic
ture.", |
| 1509 "type": "string" | 1537 "type": "string" |
| 1510 }, | 1538 }, |
| 1511 "providerId": { | 1539 "providerId": { |
| 1512 "description": "The IdP ID. For white listed IdPs it's a sho
rt domain name e.g. google.com, aol.com, live.net and yahoo.com. If the \"provid
erId\" param is set to OpenID OP identifer other than the whilte listed IdPs the
OP identifier is returned. If the \"identifier\" param is federated ID in the c
reateAuthUri request. The domain part of the federated ID is returned.", | 1540 "description": "The IdP ID. For white listed IdPs it's a sho
rt domain name e.g. google.com, aol.com, live.net and yahoo.com. If the \"provid
erId\" param is set to OpenID OP identifer other than the whilte listed IdPs the
OP identifier is returned. If the \"identifier\" param is federated ID in the c
reateAuthUri request. The domain part of the federated ID is returned.", |
| 1513 "type": "string" | 1541 "type": "string" |
| 1514 }, | 1542 }, |
| 1543 "rawUserInfo": { |
| 1544 "description": "Raw IDP-returned user info.", |
| 1545 "type": "string" |
| 1546 }, |
| 1515 "refreshToken": { | 1547 "refreshToken": { |
| 1516 "description": "If idToken is STS id token, then this field
will be refresh token.", | 1548 "description": "If idToken is STS id token, then this field
will be refresh token.", |
| 1517 "type": "string" | 1549 "type": "string" |
| 1518 }, | 1550 }, |
| 1519 "screenName": { | 1551 "screenName": { |
| 1520 "description": "The screen_name of a Twitter user.", | 1552 "description": "The screen_name of a Twitter user.", |
| 1521 "type": "string" | 1553 "type": "string" |
| 1522 }, | 1554 }, |
| 1523 "timeZone": { | 1555 "timeZone": { |
| 1524 "description": "The timezone of the user.", | 1556 "description": "The timezone of the user.", |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1615 "type": "boolean" | 1647 "type": "boolean" |
| 1616 } | 1648 } |
| 1617 }, | 1649 }, |
| 1618 "type": "object" | 1650 "type": "object" |
| 1619 } | 1651 } |
| 1620 }, | 1652 }, |
| 1621 "servicePath": "identitytoolkit/v3/relyingparty/", | 1653 "servicePath": "identitytoolkit/v3/relyingparty/", |
| 1622 "title": "Google Identity Toolkit API", | 1654 "title": "Google Identity Toolkit API", |
| 1623 "version": "v3" | 1655 "version": "v3" |
| 1624 } | 1656 } |
| OLD | NEW |