googleauth 1.14.0 → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +49 -0
  3. data/Credentials.md +110 -0
  4. data/Errors.md +152 -0
  5. data/README.md +0 -1
  6. data/lib/googleauth/api_key.rb +9 -0
  7. data/lib/googleauth/application_default.rb +3 -1
  8. data/lib/googleauth/base_client.rb +5 -0
  9. data/lib/googleauth/bearer_token.rb +16 -2
  10. data/lib/googleauth/client_id.rb +15 -7
  11. data/lib/googleauth/compute_engine.rb +64 -18
  12. data/lib/googleauth/credentials.rb +66 -35
  13. data/lib/googleauth/credentials_loader.rb +30 -5
  14. data/lib/googleauth/default_credentials.rb +69 -34
  15. data/lib/googleauth/errors.rb +117 -0
  16. data/lib/googleauth/external_account/aws_credentials.rb +87 -19
  17. data/lib/googleauth/external_account/base_credentials.rb +34 -4
  18. data/lib/googleauth/external_account/external_account_utils.rb +17 -5
  19. data/lib/googleauth/external_account/identity_pool_credentials.rb +42 -16
  20. data/lib/googleauth/external_account/pluggable_credentials.rb +37 -21
  21. data/lib/googleauth/external_account.rb +53 -7
  22. data/lib/googleauth/iam.rb +20 -4
  23. data/lib/googleauth/id_tokens/errors.rb +13 -7
  24. data/lib/googleauth/id_tokens/key_sources.rb +13 -7
  25. data/lib/googleauth/id_tokens/verifier.rb +2 -3
  26. data/lib/googleauth/id_tokens.rb +4 -4
  27. data/lib/googleauth/impersonated_service_account.rb +119 -19
  28. data/lib/googleauth/json_key_reader.rb +17 -3
  29. data/lib/googleauth/oauth2/sts_client.rb +12 -6
  30. data/lib/googleauth/scope_util.rb +2 -2
  31. data/lib/googleauth/service_account.rb +55 -21
  32. data/lib/googleauth/service_account_jwt_header.rb +9 -2
  33. data/lib/googleauth/signet.rb +30 -10
  34. data/lib/googleauth/user_authorizer.rb +38 -10
  35. data/lib/googleauth/user_refresh.rb +54 -19
  36. data/lib/googleauth/version.rb +1 -1
  37. data/lib/googleauth/web_user_authorizer.rb +54 -17
  38. data/lib/googleauth.rb +1 -0
  39. metadata +22 -19
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googleauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-14 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: faraday
@@ -66,7 +66,7 @@ dependencies:
66
66
  version: '1.4'
67
67
  - - "<"
68
68
  - !ruby/object:Gem::Version
69
- version: '3.0'
69
+ version: '4.0'
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -76,21 +76,7 @@ dependencies:
76
76
  version: '1.4'
77
77
  - - "<"
78
78
  - !ruby/object:Gem::Version
79
- version: '3.0'
80
- - !ruby/object:Gem::Dependency
81
- name: multi_json
82
- requirement: !ruby/object:Gem::Requirement
83
- requirements:
84
- - - "~>"
85
- - !ruby/object:Gem::Version
86
- version: '1.11'
87
- type: :runtime
88
- prerelease: false
89
- version_requirements: !ruby/object:Gem::Requirement
90
- requirements:
91
- - - "~>"
92
- - !ruby/object:Gem::Version
93
- version: '1.11'
79
+ version: '4.0'
94
80
  - !ruby/object:Gem::Dependency
95
81
  name: os
96
82
  requirement: !ruby/object:Gem::Requirement
@@ -111,6 +97,20 @@ dependencies:
111
97
  - - "<"
112
98
  - !ruby/object:Gem::Version
113
99
  version: '2.0'
100
+ - !ruby/object:Gem::Dependency
101
+ name: pstore
102
+ requirement: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - "~>"
105
+ - !ruby/object:Gem::Version
106
+ version: '0.1'
107
+ type: :runtime
108
+ prerelease: false
109
+ version_requirements: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - "~>"
112
+ - !ruby/object:Gem::Version
113
+ version: '0.1'
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: signet
116
116
  requirement: !ruby/object:Gem::Requirement
@@ -142,6 +142,8 @@ files:
142
142
  - ".yardopts"
143
143
  - CHANGELOG.md
144
144
  - CODE_OF_CONDUCT.md
145
+ - Credentials.md
146
+ - Errors.md
145
147
  - LICENSE
146
148
  - README.md
147
149
  - SECURITY.md
@@ -155,6 +157,7 @@ files:
155
157
  - lib/googleauth/credentials.rb
156
158
  - lib/googleauth/credentials_loader.rb
157
159
  - lib/googleauth/default_credentials.rb
160
+ - lib/googleauth/errors.rb
158
161
  - lib/googleauth/external_account.rb
159
162
  - lib/googleauth/external_account/aws_credentials.rb
160
163
  - lib/googleauth/external_account/base_credentials.rb
@@ -202,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
205
  - !ruby/object:Gem::Version
203
206
  version: '0'
204
207
  requirements: []
205
- rubygems_version: 3.6.5
208
+ rubygems_version: 3.6.9
206
209
  specification_version: 4
207
210
  summary: Google Auth Library for Ruby
208
211
  test_files: []