google-apis-sts_v1 0.2.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/sts_v1/classes.rb +24 -20
- data/lib/google/apis/sts_v1/gem_version.rb +3 -3
- data/lib/google/apis/sts_v1/service.rb +4 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f700bd301750dcd980d291a558f5fc8daa7c3c7943ae74d4799608c45c8d7994
|
4
|
+
data.tar.gz: 817f5bfa83addd48afcaeb49e0a9cb6ee384359cfa596e08864af107309a81aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1276f68c158b1d755438ff73a204c35e053af2ee3e35b71c1f12f13ff5483d25528fbb49ee01b74a7acab5d4673966069a10333680314557bac87fe64ddb48a9
|
7
|
+
data.tar.gz: 0ffd3a004ad9b95141a39ed5211375b6edccf458670f10bf838a225548404153ce4757bc0c1ed895b56370c7a5f42d69f43c525ac248bff2cb1633d5094df9c7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-sts_v1
|
2
2
|
|
3
|
+
### v0.7.0 (2021-05-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210517
|
6
|
+
|
7
|
+
### v0.6.0 (2021-05-20)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.5.0 (2021-05-15)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210508
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.4.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.3.0 (2021-02-12)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210206
|
23
|
+
|
3
24
|
### v0.2.0 (2021-02-05)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210130
|
@@ -59,28 +59,32 @@ module Google
|
|
59
59
|
# @return [String]
|
60
60
|
attr_accessor :scope
|
61
61
|
|
62
|
-
# Required. The input token. This token is
|
63
|
-
#
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
#
|
74
|
-
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
62
|
+
# Required. The input token. This token is either an external credential issued
|
63
|
+
# by a workload identity pool provider, or a short-lived access token issued by
|
64
|
+
# Google. If the token is an OIDC JWT, it must use the JWT format defined in [
|
65
|
+
# RFC 7523](https://tools.ietf.org/html/rfc7523), and the `subject_token_type`
|
66
|
+
# must be `urn:ietf:params:oauth:token-type:jwt`. The following headers are
|
67
|
+
# required: - `kid`: The identifier of the signing key securing the JWT. - `alg`:
|
68
|
+
# The cryptographic algorithm securing the JWT. Must be `RS256` or `ES256`. The
|
69
|
+
# following payload fields are required. For more information, see [RFC 7523,
|
70
|
+
# Section 3](https://tools.ietf.org/html/rfc7523#section-3): - `iss`: The issuer
|
71
|
+
# of the token. The issuer must provide a discovery document at the URL `/.well-
|
72
|
+
# known/openid-configuration`, where `` is the value of this field. The document
|
73
|
+
# must be formatted according to section 4.2 of the [OIDC 1.0 Discovery
|
74
|
+
# specification](https://openid.net/specs/openid-connect-discovery-1_0.html#
|
75
|
+
# ProviderConfigurationResponse). - `iat`: The issue time, in seconds, since the
|
76
|
+
# Unix epoch. Must be in the past. - `exp`: The expiration time, in seconds,
|
77
|
+
# since the Unix epoch. Must be less than 48 hours after `iat`. Shorter
|
78
78
|
# expiration times are more secure. If possible, we recommend setting an
|
79
79
|
# expiration time less than 6 hours. - `sub`: The identity asserted in the JWT. -
|
80
|
-
# `aud`:
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
80
|
+
# `aud`: For workload identity pools, this must be a value specified in the
|
81
|
+
# allowed audiences for the workload identity pool provider, or one of the
|
82
|
+
# audiences allowed by default if no audiences were specified. See https://cloud.
|
83
|
+
# google.com/iam/docs/reference/rest/v1/projects.locations.workloadIdentityPools.
|
84
|
+
# providers#oidc Example header: ``` ` "alg": "RS256", "kid": "us-east-11" ` ```
|
85
|
+
# Example payload: ``` ` "iss": "https://accounts.google.com", "iat": 1517963104,
|
86
|
+
# "exp": 1517966704, "aud": "//iam.googleapis.com/projects/1234567890123/
|
87
|
+
# locations/global/workloadIdentityPools/my-pool/providers/my-provider", "sub": "
|
84
88
|
# 113475438248934895348", "my_claims": ` "additional_claim": "value" ` ` ``` If `
|
85
89
|
# subject_token` is for AWS, it must be a serialized `GetCallerIdentity` token.
|
86
90
|
# This token contains the same information as a request to the AWS [`
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module StsV1
|
18
18
|
# Version of the google-apis-sts_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210517"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,7 +52,10 @@ module Google
|
|
52
52
|
|
53
53
|
# Exchanges a credential for a Google OAuth 2.0 access token. The token asserts
|
54
54
|
# an external identity within a workload identity pool, or it applies a
|
55
|
-
# Credential Access Boundary to a Google access token.
|
55
|
+
# Credential Access Boundary to a Google access token. When you call this method,
|
56
|
+
# do not send the `Authorization` HTTP header in the request. This method does
|
57
|
+
# not require the `Authorization` header, and using the header can cause the
|
58
|
+
# request to fail.
|
56
59
|
# @param [Google::Apis::StsV1::GoogleIdentityStsV1ExchangeTokenRequest] google_identity_sts_v1_exchange_token_request_object
|
57
60
|
# @param [String] fields
|
58
61
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-sts_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sts_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sts_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sts_v1/v0.7.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sts_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Security Token Service API V1
|