From de6d2c524430287c699aaa898c1325da6afea539 Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Wed, 20 Jun 2018 22:39:07 +0100 Subject: Update dependencies --- .../api/oauth2/v2/oauth2-api.json | 546 ++++++++++----------- 1 file changed, 273 insertions(+), 273 deletions(-) (limited to 'vendor/google.golang.org/api/oauth2/v2/oauth2-api.json') diff --git a/vendor/google.golang.org/api/oauth2/v2/oauth2-api.json b/vendor/google.golang.org/api/oauth2/v2/oauth2-api.json index 67a0378..18204dc 100644 --- a/vendor/google.golang.org/api/oauth2/v2/oauth2-api.json +++ b/vendor/google.golang.org/api/oauth2/v2/oauth2-api.json @@ -1,294 +1,294 @@ { - "kind": "discovery#restDescription", - "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/UI_PjeJG3puXfKEXm-20UHWIhYQ\"", - "discoveryVersion": "v1", - "id": "oauth2:v2", - "name": "oauth2", - "version": "v2", - "revision": "20170807", - "title": "Google OAuth2 API", - "description": "Obtains end-user authorization grants for use with other Google APIs.", - "ownerDomain": "google.com", - "ownerName": "Google", - "icons": { - "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", - "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" - }, - "documentationLink": "https://developers.google.com/accounts/docs/OAuth2", - "protocol": "rest", - "baseUrl": "https://www.googleapis.com/", - "basePath": "/", - "rootUrl": "https://www.googleapis.com/", - "servicePath": "", - "batchPath": "batch/oauth2/v2", - "parameters": { - "alt": { - "type": "string", - "description": "Data format for the response.", - "default": "json", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query" - }, - "fields": { - "type": "string", - "description": "Selector specifying which fields to include in a partial response.", - "location": "query" - }, - "key": { - "type": "string", - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query" - }, - "oauth_token": { - "type": "string", - "description": "OAuth 2.0 token for the current user.", - "location": "query" - }, - "prettyPrint": { - "type": "boolean", - "description": "Returns response with indentations and line breaks.", - "default": "true", - "location": "query" + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/plus.login": { + "description": "Know the list of people in your circles, your age range, and language" + }, + "https://www.googleapis.com/auth/plus.me": { + "description": "Know who you are on Google" + }, + "https://www.googleapis.com/auth/userinfo.email": { + "description": "View your email address" + }, + "https://www.googleapis.com/auth/userinfo.profile": { + "description": "View your basic profile info" + } + } + } }, - "quotaUser": { - "type": "string", - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.", - "location": "query" + "basePath": "/", + "baseUrl": "https://www.googleapis.com/", + "batchPath": "batch/oauth2/v2", + "description": "Obtains end-user authorization grants for use with other Google APIs.", + "discoveryVersion": "v1", + "documentationLink": "https://developers.google.com/accounts/docs/OAuth2", + "etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/aQYw8bQfY3xIJbtzdw5QvIFJYtI\"", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "userIp": { - "type": "string", - "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.", - "location": "query" - } - }, - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/plus.login": { - "description": "Know the list of people in your circles, your age range, and language" - }, - "https://www.googleapis.com/auth/plus.me": { - "description": "Know who you are on Google" - }, - "https://www.googleapis.com/auth/userinfo.email": { - "description": "View your email address" + "id": "oauth2:v2", + "kind": "discovery#restDescription", + "methods": { + "getCertForOpenIdConnect": { + "httpMethod": "GET", + "id": "oauth2.getCertForOpenIdConnect", + "path": "oauth2/v2/certs", + "response": { + "$ref": "Jwk" + } }, - "https://www.googleapis.com/auth/userinfo.profile": { - "description": "View your basic profile info" - } - } - } - }, - "schemas": { - "Jwk": { - "id": "Jwk", - "type": "object", - "properties": { - "keys": { - "type": "array", - "items": { - "type": "object", - "properties": { - "alg": { - "type": "string", - "default": "RS256" - }, - "e": { - "type": "string" - }, - "kid": { - "type": "string" - }, - "kty": { - "type": "string", - "default": "RSA" - }, - "n": { - "type": "string" - }, - "use": { - "type": "string", - "default": "sig" - } + "tokeninfo": { + "httpMethod": "POST", + "id": "oauth2.tokeninfo", + "parameters": { + "access_token": { + "location": "query", + "type": "string" + }, + "id_token": { + "location": "query", + "type": "string" + }, + "token_handle": { + "location": "query", + "type": "string" + } + }, + "path": "oauth2/v2/tokeninfo", + "response": { + "$ref": "Tokeninfo" } - } } - } }, - "Tokeninfo": { - "id": "Tokeninfo", - "type": "object", - "properties": { - "access_type": { - "type": "string", - "description": "The access type granted with this token. It can be offline or online." - }, - "audience": { - "type": "string", - "description": "Who is the intended audience for this token. In general the same as issued_to." - }, - "email": { - "type": "string", - "description": "The email address of the user. Present only if the email scope is present in the request." + "name": "oauth2", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "alt": { + "default": "json", + "description": "Data format for the response.", + "enum": [ + "json" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json" + ], + "location": "query", + "type": "string" }, - "expires_in": { - "type": "integer", - "description": "The expiry time of the token, as number of seconds left until expiry.", - "format": "int32" + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" }, - "issued_to": { - "type": "string", - "description": "To whom was the token issued to. In general the same as audience." + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" }, - "scope": { - "type": "string", - "description": "The space separated list of scopes granted to this token." + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" }, - "token_handle": { - "type": "string", - "description": "The token handle associated with this token." + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" }, - "user_id": { - "type": "string", - "description": "The obfuscated user id." + "quotaUser": { + "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", + "location": "query", + "type": "string" }, - "verified_email": { - "type": "boolean", - "description": "Boolean flag which is true if the email address is verified. Present only if the email scope is present in the request." + "userIp": { + "description": "Deprecated. Please use quotaUser instead.", + "location": "query", + "type": "string" } - } }, - "Userinfoplus": { - "id": "Userinfoplus", - "type": "object", - "properties": { - "email": { - "type": "string", - "description": "The user's email address." - }, - "family_name": { - "type": "string", - "description": "The user's last name." - }, - "gender": { - "type": "string", - "description": "The user's gender." - }, - "given_name": { - "type": "string", - "description": "The user's first name." - }, - "hd": { - "type": "string", - "description": "The hosted domain e.g. example.com if the user is Google apps user." - }, - "id": { - "type": "string", - "description": "The obfuscated ID of the user." - }, - "link": { - "type": "string", - "description": "URL of the profile page." - }, - "locale": { - "type": "string", - "description": "The user's preferred locale." - }, - "name": { - "type": "string", - "description": "The user's full name." - }, - "picture": { - "type": "string", - "description": "URL of the user's picture image." - }, - "verified_email": { - "type": "boolean", - "description": "Boolean flag which is true if the email address is verified. Always verified because we only return the user's primary email address.", - "default": "true" + "protocol": "rest", + "resources": { + "userinfo": { + "methods": { + "get": { + "httpMethod": "GET", + "id": "oauth2.userinfo.get", + "path": "oauth2/v2/userinfo", + "response": { + "$ref": "Userinfoplus" + }, + "scopes": [ + "https://www.googleapis.com/auth/plus.login", + "https://www.googleapis.com/auth/plus.me", + "https://www.googleapis.com/auth/userinfo.email", + "https://www.googleapis.com/auth/userinfo.profile" + ] + } + }, + "resources": { + "v2": { + "resources": { + "me": { + "methods": { + "get": { + "httpMethod": "GET", + "id": "oauth2.userinfo.v2.me.get", + "path": "userinfo/v2/me", + "response": { + "$ref": "Userinfoplus" + }, + "scopes": [ + "https://www.googleapis.com/auth/plus.login", + "https://www.googleapis.com/auth/plus.me", + "https://www.googleapis.com/auth/userinfo.email", + "https://www.googleapis.com/auth/userinfo.profile" + ] + } + } + } + } + } + } } - } - } - }, - "methods": { - "getCertForOpenIdConnect": { - "id": "oauth2.getCertForOpenIdConnect", - "path": "oauth2/v2/certs", - "httpMethod": "GET", - "response": { - "$ref": "Jwk" - } }, - "tokeninfo": { - "id": "oauth2.tokeninfo", - "path": "oauth2/v2/tokeninfo", - "httpMethod": "POST", - "parameters": { - "access_token": { - "type": "string", - "location": "query" + "revision": "20180208", + "rootUrl": "https://www.googleapis.com/", + "schemas": { + "Jwk": { + "id": "Jwk", + "properties": { + "keys": { + "items": { + "properties": { + "alg": { + "default": "RS256", + "type": "string" + }, + "e": { + "type": "string" + }, + "kid": { + "type": "string" + }, + "kty": { + "default": "RSA", + "type": "string" + }, + "n": { + "type": "string" + }, + "use": { + "default": "sig", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" }, - "id_token": { - "type": "string", - "location": "query" + "Tokeninfo": { + "id": "Tokeninfo", + "properties": { + "access_type": { + "description": "The access type granted with this token. It can be offline or online.", + "type": "string" + }, + "audience": { + "description": "Who is the intended audience for this token. In general the same as issued_to.", + "type": "string" + }, + "email": { + "description": "The email address of the user. Present only if the email scope is present in the request.", + "type": "string" + }, + "expires_in": { + "description": "The expiry time of the token, as number of seconds left until expiry.", + "format": "int32", + "type": "integer" + }, + "issued_to": { + "description": "To whom was the token issued to. In general the same as audience.", + "type": "string" + }, + "scope": { + "description": "The space separated list of scopes granted to this token.", + "type": "string" + }, + "token_handle": { + "description": "The token handle associated with this token.", + "type": "string" + }, + "user_id": { + "description": "The obfuscated user id.", + "type": "string" + }, + "verified_email": { + "description": "Boolean flag which is true if the email address is verified. Present only if the email scope is present in the request.", + "type": "boolean" + } + }, + "type": "object" }, - "token_handle": { - "type": "string", - "location": "query" - } - }, - "response": { - "$ref": "Tokeninfo" - } - } - }, - "resources": { - "userinfo": { - "methods": { - "get": { - "id": "oauth2.userinfo.get", - "path": "oauth2/v2/userinfo", - "httpMethod": "GET", - "response": { - "$ref": "Userinfoplus" - }, - "scopes": [ - "https://www.googleapis.com/auth/plus.login", - "https://www.googleapis.com/auth/plus.me", - "https://www.googleapis.com/auth/userinfo.email", - "https://www.googleapis.com/auth/userinfo.profile" - ] - } - }, - "resources": { - "v2": { - "resources": { - "me": { - "methods": { - "get": { - "id": "oauth2.userinfo.v2.me.get", - "path": "userinfo/v2/me", - "httpMethod": "GET", - "response": { - "$ref": "Userinfoplus" - }, - "scopes": [ - "https://www.googleapis.com/auth/plus.login", - "https://www.googleapis.com/auth/plus.me", - "https://www.googleapis.com/auth/userinfo.email", - "https://www.googleapis.com/auth/userinfo.profile" - ] + "Userinfoplus": { + "id": "Userinfoplus", + "properties": { + "email": { + "description": "The user's email address.", + "type": "string" + }, + "family_name": { + "description": "The user's last name.", + "type": "string" + }, + "gender": { + "description": "The user's gender.", + "type": "string" + }, + "given_name": { + "description": "The user's first name.", + "type": "string" + }, + "hd": { + "description": "The hosted domain e.g. example.com if the user is Google apps user.", + "type": "string" + }, + "id": { + "description": "The obfuscated ID of the user.", + "type": "string" + }, + "link": { + "description": "URL of the profile page.", + "type": "string" + }, + "locale": { + "description": "The user's preferred locale.", + "type": "string" + }, + "name": { + "description": "The user's full name.", + "type": "string" + }, + "picture": { + "description": "URL of the user's picture image.", + "type": "string" + }, + "verified_email": { + "default": "true", + "description": "Boolean flag which is true if the email address is verified. Always verified because we only return the user's primary email address.", + "type": "boolean" } - } - } - } + }, + "type": "object" } - } - } - } -} + }, + "servicePath": "", + "title": "Google OAuth2 API", + "version": "v2" +} \ No newline at end of file -- cgit v1.2.3