Skip to content

Commit

Permalink
feat(sts): update the api
Browse files Browse the repository at this point in the history
#### sts:v1

The following keys were added:
- schemas.GoogleIdentityStsV1ExchangeOauthTokenResponse.properties.id_token.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Jan 31, 2023
1 parent 9e87e6f commit 3065b92
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/dyn/sts_v1.v1.html
Expand Up @@ -154,9 +154,10 @@ <h3>Method Details</h3>
{ # Response message for ExchangeOauthToken. see https://www.rfc-editor.org/rfc/rfc6749#section-5.1
&quot;access_token&quot;: &quot;A String&quot;, # An OAuth 2.0 security token, issued by Google, in response to the Oauth token exchange request for the authorization code and refresh token flows. The returned [access token](https://www.rfc-editor.org/rfc/rfc6749#section-4.1.4). Tokens can vary in size, depending, in part, on the size of mapped claims, up to a maximum of 12288 bytes (12 KB). Google reserves the right to change the token size and the maximum length at any time.
&quot;expires_in&quot;: 42, # The amount of time, in seconds, between the time when the access token was issued and the time when the access token will expires.
&quot;id_token&quot;: &quot;A String&quot;, # Google issued ID token in response to the OAuth token exchange request for ID token flow.
&quot;refresh_token&quot;: &quot;A String&quot;, # A refresh token, issued by Google, in response to the OAuth token exchange request for refresh token flow
&quot;scope&quot;: &quot;A String&quot;, # A list of scopes associated with the returned token.
&quot;token_type&quot;: &quot;A String&quot;, # The type of token. Field reserved for RFC compliance. See https://www.rfc-editor.org/rfc/rfc6749#section-5.1 Note: No token_type is returned for current implementation
&quot;token_type&quot;: &quot;A String&quot;, # The type of token. Field reserved for RFC compliance. See https://www.rfc-editor.org/rfc/rfc6749#section-5.1
}</pre>
</div>

Expand Down
8 changes: 6 additions & 2 deletions googleapiclient/discovery_cache/documents/sts.v1.json
Expand Up @@ -146,7 +146,7 @@
}
}
},
"revision": "20230114",
"revision": "20230121",
"rootUrl": "https://sts.googleapis.com/",
"schemas": {
"GoogleIamV1Binding": {
Expand Down Expand Up @@ -255,6 +255,10 @@
"format": "int32",
"type": "integer"
},
"id_token": {
"description": "Google issued ID token in response to the OAuth token exchange request for ID token flow.",
"type": "string"
},
"refresh_token": {
"description": "A refresh token, issued by Google, in response to the OAuth token exchange request for refresh token flow",
"type": "string"
Expand All @@ -264,7 +268,7 @@
"type": "string"
},
"token_type": {
"description": "The type of token. Field reserved for RFC compliance. See https://www.rfc-editor.org/rfc/rfc6749#section-5.1 Note: No token_type is returned for current implementation",
"description": "The type of token. Field reserved for RFC compliance. See https://www.rfc-editor.org/rfc/rfc6749#section-5.1",
"type": "string"
}
},
Expand Down
2 changes: 1 addition & 1 deletion googleapiclient/discovery_cache/documents/sts.v1beta.json
Expand Up @@ -116,7 +116,7 @@
}
}
},
"revision": "20230114",
"revision": "20230121",
"rootUrl": "https://sts.googleapis.com/",
"schemas": {
"GoogleIamV1Binding": {
Expand Down

0 comments on commit 3065b92

Please sign in to comment.