oauth2 1.4.7 → 2.0.20

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 (58) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +811 -76
  4. data/CITATION.cff +20 -0
  5. data/CODE_OF_CONDUCT.md +24 -23
  6. data/CONTRIBUTING.md +221 -0
  7. data/FUNDING.md +74 -0
  8. data/IRP.md +107 -0
  9. data/{LICENSE → LICENSE.txt} +2 -2
  10. data/OIDC.md +167 -0
  11. data/README.md +1468 -166
  12. data/REEK +2 -0
  13. data/RUBOCOP.md +71 -0
  14. data/SECURITY.md +24 -0
  15. data/THREAT_MODEL.md +94 -0
  16. data/lib/oauth2/access_token.rb +276 -40
  17. data/lib/oauth2/auth_sanitizer.rb +36 -0
  18. data/lib/oauth2/authenticator.rb +51 -10
  19. data/lib/oauth2/client.rb +444 -124
  20. data/lib/oauth2/error.rb +63 -24
  21. data/lib/oauth2/filtered_attributes.rb +10 -0
  22. data/lib/oauth2/response.rb +138 -43
  23. data/lib/oauth2/strategy/assertion.rb +71 -41
  24. data/lib/oauth2/strategy/auth_code.rb +28 -5
  25. data/lib/oauth2/strategy/base.rb +2 -0
  26. data/lib/oauth2/strategy/client_credentials.rb +6 -4
  27. data/lib/oauth2/strategy/implicit.rb +20 -3
  28. data/lib/oauth2/strategy/password.rb +17 -5
  29. data/lib/oauth2/version.rb +2 -59
  30. data/lib/oauth2.rb +103 -12
  31. data/sig/oauth2/access_token.rbs +25 -0
  32. data/sig/oauth2/authenticator.rbs +22 -0
  33. data/sig/oauth2/client.rbs +52 -0
  34. data/sig/oauth2/error.rbs +8 -0
  35. data/sig/oauth2/filtered_attributes.rbs +11 -0
  36. data/sig/oauth2/response.rbs +18 -0
  37. data/sig/oauth2/sanitized_logger.rbs +32 -0
  38. data/sig/oauth2/strategy.rbs +34 -0
  39. data/sig/oauth2/thing_filter.rbs +10 -0
  40. data/sig/oauth2/version.rbs +5 -0
  41. data/sig/oauth2.rbs +9 -0
  42. data.tar.gz.sig +0 -0
  43. metadata +293 -102
  44. metadata.gz.sig +4 -0
  45. data/lib/oauth2/mac_token.rb +0 -130
  46. data/spec/helper.rb +0 -37
  47. data/spec/oauth2/access_token_spec.rb +0 -216
  48. data/spec/oauth2/authenticator_spec.rb +0 -84
  49. data/spec/oauth2/client_spec.rb +0 -506
  50. data/spec/oauth2/mac_token_spec.rb +0 -117
  51. data/spec/oauth2/response_spec.rb +0 -90
  52. data/spec/oauth2/strategy/assertion_spec.rb +0 -58
  53. data/spec/oauth2/strategy/auth_code_spec.rb +0 -107
  54. data/spec/oauth2/strategy/base_spec.rb +0 -5
  55. data/spec/oauth2/strategy/client_credentials_spec.rb +0 -69
  56. data/spec/oauth2/strategy/implicit_spec.rb +0 -26
  57. data/spec/oauth2/strategy/password_spec.rb +0 -55
  58. data/spec/oauth2/version_spec.rb +0 -23
metadata CHANGED
@@ -1,37 +1,84 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.7
4
+ version: 2.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
8
- - Michael Bleigh
9
8
  - Erik Michaels-Ober
10
- autorequire:
9
+ - Michael Bleigh
11
10
  bindir: exe
12
- cert_chain: []
13
- date: 2021-03-19 00:00:00.000000000 Z
11
+ cert_chain:
12
+ - |
13
+ -----BEGIN CERTIFICATE-----
14
+ MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
15
+ ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
16
+ A2NvbTAeFw0yNTA1MDQxNTMzMDlaFw00NTA0MjkxNTMzMDlaMEMxFTATBgNVBAMM
17
+ DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
18
+ LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAruUoo0WA
19
+ uoNuq6puKWYeRYiZekz/nsDeK5x/0IEirzcCEvaHr3Bmz7rjo1I6On3gGKmiZs61
20
+ LRmQ3oxy77ydmkGTXBjruJB+pQEn7UfLSgQ0xa1/X3kdBZt6RmabFlBxnHkoaGY5
21
+ mZuZ5+Z7walmv6sFD9ajhzj+oIgwWfnEHkXYTR8I6VLN7MRRKGMPoZ/yvOmxb2DN
22
+ coEEHWKO9CvgYpW7asIihl/9GMpKiRkcYPm9dGQzZc6uTwom1COfW0+ZOFrDVBuV
23
+ FMQRPswZcY4Wlq0uEBLPU7hxnCL9nKK6Y9IhdDcz1mY6HZ91WImNslOSI0S8hRpj
24
+ yGOWxQIhBT3fqCBlRIqFQBudrnD9jSNpSGsFvbEijd5ns7Z9ZMehXkXDycpGAUj1
25
+ to/5cuTWWw1JqUWrKJYoifnVhtE1o1DZ+LkPtWxHtz5kjDG/zR3MG0Ula0UOavlD
26
+ qbnbcXPBnwXtTFeZ3C+yrWpE4pGnl3yGkZj9SMTlo9qnTMiPmuWKQDatAgMBAAGj
27
+ fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQE8uWvNbPVNRXZ
28
+ HlgPbc2PCzC4bjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
29
+ A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
30
+ ggGBAJbnUwfJQFPkBgH9cL7hoBfRtmWiCvdqdjeTmi04u8zVNCUox0A4gT982DE9
31
+ wmuN12LpdajxZONqbXuzZvc+nb0StFwmFYZG6iDwaf4BPywm2e/Vmq0YG45vZXGR
32
+ L8yMDSK1cQXjmA+ZBKOHKWavxP6Vp7lWvjAhz8RFwqF9GuNIdhv9NpnCAWcMZtpm
33
+ GUPyIWw/Cw/2wZp74QzZj6Npx+LdXoLTF1HMSJXZ7/pkxLCsB8m4EFVdb/IrW/0k
34
+ kNSfjtAfBHO8nLGuqQZVH9IBD1i9K6aSs7pT6TW8itXUIlkIUI2tg5YzW6OFfPzq
35
+ QekSkX3lZfY+HTSp/o+YvKkqWLUV7PQ7xh1ZYDtocpaHwgxe/j3bBqHE+CUPH2vA
36
+ 0V/FwdTRWcwsjVoOJTrYcff8pBZ8r2MvtAc54xfnnhGFzeRHfcltobgFxkAXdE6p
37
+ DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
38
+ L9nRqA==
39
+ -----END CERTIFICATE-----
40
+ date: 1980-01-02 00:00:00.000000000 Z
14
41
  dependencies:
42
+ - !ruby/object:Gem::Dependency
43
+ name: auth-sanitizer
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '0.1'
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: 0.1.3
52
+ type: :runtime
53
+ prerelease: false
54
+ version_requirements: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - "~>"
57
+ - !ruby/object:Gem::Version
58
+ version: '0.1'
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 0.1.3
15
62
  - !ruby/object:Gem::Dependency
16
63
  name: faraday
17
64
  requirement: !ruby/object:Gem::Requirement
18
65
  requirements:
19
66
  - - ">="
20
67
  - !ruby/object:Gem::Version
21
- version: '0.8'
68
+ version: 0.17.3
22
69
  - - "<"
23
70
  - !ruby/object:Gem::Version
24
- version: '2.0'
71
+ version: '4.0'
25
72
  type: :runtime
26
73
  prerelease: false
27
74
  version_requirements: !ruby/object:Gem::Requirement
28
75
  requirements:
29
76
  - - ">="
30
77
  - !ruby/object:Gem::Version
31
- version: '0.8'
78
+ version: 0.17.3
32
79
  - - "<"
33
80
  - !ruby/object:Gem::Version
34
- version: '2.0'
81
+ version: '4.0'
35
82
  - !ruby/object:Gem::Dependency
36
83
  name: jwt
37
84
  requirement: !ruby/object:Gem::Requirement
@@ -41,7 +88,7 @@ dependencies:
41
88
  version: '1.0'
42
89
  - - "<"
43
90
  - !ruby/object:Gem::Version
44
- version: '3.0'
91
+ version: '4.0'
45
92
  type: :runtime
46
93
  prerelease: false
47
94
  version_requirements: !ruby/object:Gem::Requirement
@@ -51,21 +98,21 @@ dependencies:
51
98
  version: '1.0'
52
99
  - - "<"
53
100
  - !ruby/object:Gem::Version
54
- version: '3.0'
101
+ version: '4.0'
55
102
  - !ruby/object:Gem::Dependency
56
- name: multi_json
103
+ name: logger
57
104
  requirement: !ruby/object:Gem::Requirement
58
105
  requirements:
59
106
  - - "~>"
60
107
  - !ruby/object:Gem::Version
61
- version: '1.3'
108
+ version: '1.2'
62
109
  type: :runtime
63
110
  prerelease: false
64
111
  version_requirements: !ruby/object:Gem::Requirement
65
112
  requirements:
66
113
  - - "~>"
67
114
  - !ruby/object:Gem::Version
68
- version: '1.3'
115
+ version: '1.2'
69
116
  - !ruby/object:Gem::Dependency
70
117
  name: multi_xml
71
118
  requirement: !ruby/object:Gem::Requirement
@@ -89,7 +136,7 @@ dependencies:
89
136
  version: '1.2'
90
137
  - - "<"
91
138
  - !ruby/object:Gem::Version
92
- version: '3'
139
+ version: '4'
93
140
  type: :runtime
94
141
  prerelease: false
95
142
  version_requirements: !ruby/object:Gem::Requirement
@@ -99,104 +146,173 @@ dependencies:
99
146
  version: '1.2'
100
147
  - - "<"
101
148
  - !ruby/object:Gem::Version
102
- version: '3'
149
+ version: '4'
150
+ - !ruby/object:Gem::Dependency
151
+ name: snaky_hash
152
+ requirement: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - "~>"
155
+ - !ruby/object:Gem::Version
156
+ version: '2.0'
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: 2.0.4
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '2.0'
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: 2.0.4
170
+ - !ruby/object:Gem::Dependency
171
+ name: version_gem
172
+ requirement: !ruby/object:Gem::Requirement
173
+ requirements:
174
+ - - "~>"
175
+ - !ruby/object:Gem::Version
176
+ version: '1.1'
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: 1.1.9
180
+ type: :runtime
181
+ prerelease: false
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - "~>"
185
+ - !ruby/object:Gem::Version
186
+ version: '1.1'
187
+ - - ">="
188
+ - !ruby/object:Gem::Version
189
+ version: 1.1.9
103
190
  - !ruby/object:Gem::Dependency
104
191
  name: addressable
105
192
  requirement: !ruby/object:Gem::Requirement
106
193
  requirements:
107
194
  - - "~>"
108
195
  - !ruby/object:Gem::Version
109
- version: '2.3'
196
+ version: '2.8'
197
+ - - ">="
198
+ - !ruby/object:Gem::Version
199
+ version: 2.8.7
110
200
  type: :development
111
201
  prerelease: false
112
202
  version_requirements: !ruby/object:Gem::Requirement
113
203
  requirements:
114
204
  - - "~>"
115
205
  - !ruby/object:Gem::Version
116
- version: '2.3'
206
+ version: '2.8'
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: 2.8.7
117
210
  - !ruby/object:Gem::Dependency
118
- name: backports
211
+ name: nkf
119
212
  requirement: !ruby/object:Gem::Requirement
120
213
  requirements:
121
214
  - - "~>"
122
215
  - !ruby/object:Gem::Version
123
- version: '3.11'
216
+ version: '0.2'
124
217
  type: :development
125
218
  prerelease: false
126
219
  version_requirements: !ruby/object:Gem::Requirement
127
220
  requirements:
128
221
  - - "~>"
129
222
  - !ruby/object:Gem::Version
130
- version: '3.11'
223
+ version: '0.2'
131
224
  - !ruby/object:Gem::Dependency
132
- name: bundler
225
+ name: rexml
133
226
  requirement: !ruby/object:Gem::Requirement
134
227
  requirements:
228
+ - - "~>"
229
+ - !ruby/object:Gem::Version
230
+ version: '3.2'
135
231
  - - ">="
136
232
  - !ruby/object:Gem::Version
137
- version: '1.16'
233
+ version: 3.2.5
138
234
  type: :development
139
235
  prerelease: false
140
236
  version_requirements: !ruby/object:Gem::Requirement
141
237
  requirements:
238
+ - - "~>"
239
+ - !ruby/object:Gem::Version
240
+ version: '3.2'
142
241
  - - ">="
143
242
  - !ruby/object:Gem::Version
144
- version: '1.16'
243
+ version: 3.2.5
244
+ - !ruby/object:Gem::Dependency
245
+ name: kettle-dev
246
+ requirement: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: '2.0'
251
+ type: :development
252
+ prerelease: false
253
+ version_requirements: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - "~>"
256
+ - !ruby/object:Gem::Version
257
+ version: '2.0'
145
258
  - !ruby/object:Gem::Dependency
146
- name: coveralls
259
+ name: bundler-audit
147
260
  requirement: !ruby/object:Gem::Requirement
148
261
  requirements:
149
262
  - - "~>"
150
263
  - !ruby/object:Gem::Version
151
- version: '0.8'
264
+ version: 0.9.3
152
265
  type: :development
153
266
  prerelease: false
154
267
  version_requirements: !ruby/object:Gem::Requirement
155
268
  requirements:
156
269
  - - "~>"
157
270
  - !ruby/object:Gem::Version
158
- version: '0.8'
271
+ version: 0.9.3
159
272
  - !ruby/object:Gem::Dependency
160
273
  name: rake
161
274
  requirement: !ruby/object:Gem::Requirement
162
275
  requirements:
163
276
  - - "~>"
164
277
  - !ruby/object:Gem::Version
165
- version: '12.3'
278
+ version: '13.0'
166
279
  type: :development
167
280
  prerelease: false
168
281
  version_requirements: !ruby/object:Gem::Requirement
169
282
  requirements:
170
283
  - - "~>"
171
284
  - !ruby/object:Gem::Version
172
- version: '12.3'
285
+ version: '13.0'
173
286
  - !ruby/object:Gem::Dependency
174
- name: rdoc
287
+ name: require_bench
175
288
  requirement: !ruby/object:Gem::Requirement
176
289
  requirements:
177
- - - ">="
290
+ - - "~>"
178
291
  - !ruby/object:Gem::Version
179
- version: '5.0'
180
- - - "<"
292
+ version: '1.0'
293
+ - - ">="
181
294
  - !ruby/object:Gem::Version
182
- version: '7'
295
+ version: 1.0.4
183
296
  type: :development
184
297
  prerelease: false
185
298
  version_requirements: !ruby/object:Gem::Requirement
186
299
  requirements:
187
- - - ">="
300
+ - - "~>"
188
301
  - !ruby/object:Gem::Version
189
- version: '5.0'
190
- - - "<"
302
+ version: '1.0'
303
+ - - ">="
191
304
  - !ruby/object:Gem::Version
192
- version: '7'
305
+ version: 1.0.4
193
306
  - !ruby/object:Gem::Dependency
194
- name: rspec
307
+ name: appraisal2
195
308
  requirement: !ruby/object:Gem::Requirement
196
309
  requirements:
197
310
  - - "~>"
198
311
  - !ruby/object:Gem::Version
199
312
  version: '3.0'
313
+ - - ">="
314
+ - !ruby/object:Gem::Version
315
+ version: 3.0.6
200
316
  type: :development
201
317
  prerelease: false
202
318
  version_requirements: !ruby/object:Gem::Requirement
@@ -204,94 +320,145 @@ dependencies:
204
320
  - - "~>"
205
321
  - !ruby/object:Gem::Version
206
322
  version: '3.0'
323
+ - - ">="
324
+ - !ruby/object:Gem::Version
325
+ version: 3.0.6
207
326
  - !ruby/object:Gem::Dependency
208
- name: rspec-block_is_expected
327
+ name: kettle-test
209
328
  requirement: !ruby/object:Gem::Requirement
210
329
  requirements:
330
+ - - "~>"
331
+ - !ruby/object:Gem::Version
332
+ version: '1.0'
211
333
  - - ">="
212
334
  - !ruby/object:Gem::Version
213
- version: '0'
335
+ version: 1.0.10
214
336
  type: :development
215
337
  prerelease: false
216
338
  version_requirements: !ruby/object:Gem::Requirement
217
339
  requirements:
340
+ - - "~>"
341
+ - !ruby/object:Gem::Version
342
+ version: '1.0'
218
343
  - - ">="
219
344
  - !ruby/object:Gem::Version
220
- version: '0'
345
+ version: 1.0.10
221
346
  - !ruby/object:Gem::Dependency
222
- name: rspec-pending_for
347
+ name: ruby-progressbar
223
348
  requirement: !ruby/object:Gem::Requirement
224
349
  requirements:
225
- - - ">="
350
+ - - "~>"
226
351
  - !ruby/object:Gem::Version
227
- version: '0'
352
+ version: '1.13'
228
353
  type: :development
229
354
  prerelease: false
230
355
  version_requirements: !ruby/object:Gem::Requirement
231
356
  requirements:
232
- - - ">="
357
+ - - "~>"
233
358
  - !ruby/object:Gem::Version
234
- version: '0'
359
+ version: '1.13'
235
360
  - !ruby/object:Gem::Dependency
236
- name: rspec-stubbed_env
361
+ name: stone_checksums
237
362
  requirement: !ruby/object:Gem::Requirement
238
363
  requirements:
364
+ - - "~>"
365
+ - !ruby/object:Gem::Version
366
+ version: '1.0'
239
367
  - - ">="
240
368
  - !ruby/object:Gem::Version
241
- version: '0'
369
+ version: 1.0.3
242
370
  type: :development
243
371
  prerelease: false
244
372
  version_requirements: !ruby/object:Gem::Requirement
245
373
  requirements:
374
+ - - "~>"
375
+ - !ruby/object:Gem::Version
376
+ version: '1.0'
246
377
  - - ">="
247
378
  - !ruby/object:Gem::Version
248
- version: '0'
379
+ version: 1.0.3
249
380
  - !ruby/object:Gem::Dependency
250
- name: silent_stream
381
+ name: gitmoji-regex
251
382
  requirement: !ruby/object:Gem::Requirement
252
383
  requirements:
384
+ - - "~>"
385
+ - !ruby/object:Gem::Version
386
+ version: '1.0'
253
387
  - - ">="
254
388
  - !ruby/object:Gem::Version
255
- version: '0'
389
+ version: 1.0.3
256
390
  type: :development
257
391
  prerelease: false
258
392
  version_requirements: !ruby/object:Gem::Requirement
259
393
  requirements:
394
+ - - "~>"
395
+ - !ruby/object:Gem::Version
396
+ version: '1.0'
260
397
  - - ">="
261
398
  - !ruby/object:Gem::Version
262
- version: '0'
399
+ version: 1.0.3
263
400
  - !ruby/object:Gem::Dependency
264
- name: wwtd
401
+ name: backports
265
402
  requirement: !ruby/object:Gem::Requirement
266
403
  requirements:
404
+ - - "~>"
405
+ - !ruby/object:Gem::Version
406
+ version: '3.25'
267
407
  - - ">="
268
408
  - !ruby/object:Gem::Version
269
- version: '0'
409
+ version: 3.25.1
270
410
  type: :development
271
411
  prerelease: false
272
412
  version_requirements: !ruby/object:Gem::Requirement
273
413
  requirements:
414
+ - - "~>"
415
+ - !ruby/object:Gem::Version
416
+ version: '3.25'
274
417
  - - ">="
275
418
  - !ruby/object:Gem::Version
276
- version: '0'
277
- description: A Ruby wrapper for the OAuth 2.0 protocol built with a similar style
278
- to the original OAuth spec.
419
+ version: 3.25.1
420
+ description: "\U0001F510 A Ruby wrapper for the OAuth 2.0 Authorization Framework,
421
+ including the OAuth 2.1 draft spec, and OpenID Connect (OIDC)"
279
422
  email:
280
- - peter.boling@gmail.com
423
+ - floss@galtzo.com
424
+ - oauth-ruby@googlegroups.com
281
425
  executables: []
282
426
  extensions: []
283
- extra_rdoc_files: []
427
+ extra_rdoc_files:
428
+ - CHANGELOG.md
429
+ - CITATION.cff
430
+ - CODE_OF_CONDUCT.md
431
+ - CONTRIBUTING.md
432
+ - FUNDING.md
433
+ - IRP.md
434
+ - LICENSE.txt
435
+ - OIDC.md
436
+ - README.md
437
+ - REEK
438
+ - RUBOCOP.md
439
+ - SECURITY.md
440
+ - THREAT_MODEL.md
284
441
  files:
285
442
  - CHANGELOG.md
443
+ - CITATION.cff
286
444
  - CODE_OF_CONDUCT.md
287
- - LICENSE
445
+ - CONTRIBUTING.md
446
+ - FUNDING.md
447
+ - IRP.md
448
+ - LICENSE.txt
449
+ - OIDC.md
288
450
  - README.md
451
+ - REEK
452
+ - RUBOCOP.md
453
+ - SECURITY.md
454
+ - THREAT_MODEL.md
289
455
  - lib/oauth2.rb
290
456
  - lib/oauth2/access_token.rb
457
+ - lib/oauth2/auth_sanitizer.rb
291
458
  - lib/oauth2/authenticator.rb
292
459
  - lib/oauth2/client.rb
293
460
  - lib/oauth2/error.rb
294
- - lib/oauth2/mac_token.rb
461
+ - lib/oauth2/filtered_attributes.rb
295
462
  - lib/oauth2/response.rb
296
463
  - lib/oauth2/strategy/assertion.rb
297
464
  - lib/oauth2/strategy/auth_code.rb
@@ -300,58 +467,82 @@ files:
300
467
  - lib/oauth2/strategy/implicit.rb
301
468
  - lib/oauth2/strategy/password.rb
302
469
  - lib/oauth2/version.rb
303
- - spec/helper.rb
304
- - spec/oauth2/access_token_spec.rb
305
- - spec/oauth2/authenticator_spec.rb
306
- - spec/oauth2/client_spec.rb
307
- - spec/oauth2/mac_token_spec.rb
308
- - spec/oauth2/response_spec.rb
309
- - spec/oauth2/strategy/assertion_spec.rb
310
- - spec/oauth2/strategy/auth_code_spec.rb
311
- - spec/oauth2/strategy/base_spec.rb
312
- - spec/oauth2/strategy/client_credentials_spec.rb
313
- - spec/oauth2/strategy/implicit_spec.rb
314
- - spec/oauth2/strategy/password_spec.rb
315
- - spec/oauth2/version_spec.rb
316
- homepage: https://github.com/oauth-xx/oauth2
470
+ - sig/oauth2.rbs
471
+ - sig/oauth2/access_token.rbs
472
+ - sig/oauth2/authenticator.rbs
473
+ - sig/oauth2/client.rbs
474
+ - sig/oauth2/error.rbs
475
+ - sig/oauth2/filtered_attributes.rbs
476
+ - sig/oauth2/response.rbs
477
+ - sig/oauth2/sanitized_logger.rbs
478
+ - sig/oauth2/strategy.rbs
479
+ - sig/oauth2/thing_filter.rbs
480
+ - sig/oauth2/version.rbs
481
+ homepage: https://github.com/ruby-oauth/oauth2
317
482
  licenses:
318
483
  - MIT
319
484
  metadata:
320
- bug_tracker_uri: https://github.com/oauth-xx/oauth2/issues
321
- changelog_uri: https://github.com/oauth-xx/oauth2/blob/v1.4.7/CHANGELOG.md
322
- documentation_uri: https://www.rubydoc.info/gems/oauth2/1.4.7
323
- source_code_uri: https://github.com/oauth-xx/oauth2/tree/v1.4.7
324
- wiki_uri: https://github.com/oauth-xx/oauth2/wiki
325
- post_install_message:
326
- rdoc_options: []
485
+ homepage_uri: https://oauth2.galtzo.com/
486
+ source_code_uri: https://github.com/ruby-oauth/oauth2/tree/v2.0.20
487
+ changelog_uri: https://github.com/ruby-oauth/oauth2/blob/v2.0.20/CHANGELOG.md
488
+ bug_tracker_uri: https://github.com/ruby-oauth/oauth2/issues
489
+ documentation_uri: https://www.rubydoc.info/gems/oauth2/2.0.20
490
+ mailing_list_uri: https://groups.google.com/g/oauth-ruby
491
+ funding_uri: https://github.com/sponsors/pboling
492
+ wiki_uri: https://gitlab.com/ruby-oauth/oauth2/-/wiki
493
+ news_uri: https://www.railsbling.com/tags/oauth2
494
+ discord_uri: https://discord.gg/3qme4XHNKN
495
+ rubygems_mfa_required: 'true'
496
+ post_install_message: |2
497
+
498
+ ---+++--- oauth2 v2.0.20 ---+++---
499
+
500
+ (minor) ⚠️ BREAKING CHANGES ⚠️ when upgrading from < v2
501
+ • Summary of breaking changes: https://gitlab.com/ruby-oauth/oauth2#what-is-new-for-v20
502
+ • Changes in this patch: https://gitlab.com/ruby-oauth/oauth2/-/blob/v2.0.20/CHANGELOG.md#2015-2025-09-08
503
+
504
+ News:
505
+ 1. New documentation website, including for OAuth 2.1 and OIDC: https://oauth2.galtzo.com
506
+ 2. New official Discord for discussion and support: https://discord.gg/3qme4XHNKN
507
+ 3. New org name "ruby-oauth" on Open Source Collective, GitHub, GitLab, Codeberg (update git remotes!)
508
+ 4. Non-commercial support for the 2.x series will end by April, 2026. Please make a plan to upgrade to the next version prior to that date.
509
+ Support will be dropped for Ruby 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 3.0, 3.1 and any other Ruby versions which will also have reached EOL by then.
510
+ 5. Gem releases are cryptographically signed with a 20-year cert; SHA-256 & SHA-512 checksums by stone_checksums.
511
+ 6. Please consider supporting this project:
512
+ • https://opencollective.com/ruby-oauth (new!)
513
+ • https://liberapay.com/pboling
514
+ • https://github.com/sponsors/pboling
515
+ • https://www.paypal.com/paypalme/peterboling
516
+ • https://ko-fi.com/pboling
517
+ • https://www.buymeacoffee.com/pboling
518
+ • https://tidelift.com/funding/github/rubygems/oauth
519
+ • Hire me - I can build anything
520
+ • Report issues, and star the project
521
+ Thanks, @pboling / @galtzo
522
+ rdoc_options:
523
+ - "--title"
524
+ - "oauth2 - \U0001F510 OAuth 2.0, 2.1 & OIDC Core Ruby implementation"
525
+ - "--main"
526
+ - README.md
527
+ - "--exclude"
528
+ - "^sig/"
529
+ - "--line-numbers"
530
+ - "--inline-source"
531
+ - "--quiet"
327
532
  require_paths:
328
533
  - lib
329
534
  required_ruby_version: !ruby/object:Gem::Requirement
330
535
  requirements:
331
536
  - - ">="
332
537
  - !ruby/object:Gem::Version
333
- version: 1.9.0
538
+ version: 2.2.0
334
539
  required_rubygems_version: !ruby/object:Gem::Requirement
335
540
  requirements:
336
541
  - - ">="
337
542
  - !ruby/object:Gem::Version
338
- version: 1.3.5
543
+ version: '0'
339
544
  requirements: []
340
- rubygems_version: 3.2.9
341
- signing_key:
545
+ rubygems_version: 4.0.11
342
546
  specification_version: 4
343
- summary: A Ruby wrapper for the OAuth 2.0 protocol.
344
- test_files:
345
- - spec/helper.rb
346
- - spec/oauth2/client_spec.rb
347
- - spec/oauth2/version_spec.rb
348
- - spec/oauth2/authenticator_spec.rb
349
- - spec/oauth2/mac_token_spec.rb
350
- - spec/oauth2/access_token_spec.rb
351
- - spec/oauth2/response_spec.rb
352
- - spec/oauth2/strategy/password_spec.rb
353
- - spec/oauth2/strategy/client_credentials_spec.rb
354
- - spec/oauth2/strategy/assertion_spec.rb
355
- - spec/oauth2/strategy/implicit_spec.rb
356
- - spec/oauth2/strategy/auth_code_spec.rb
357
- - spec/oauth2/strategy/base_spec.rb
547
+ summary: "\U0001F510 OAuth 2.0, 2.1 & OIDC Core Ruby implementation"
548
+ test_files: []
metadata.gz.sig ADDED
@@ -0,0 +1,4 @@
1
+ +�
2
+ ��n���KD<]��Q�b.Im=P!˝�xݹ$�+�p9iإ!2�%9O��Z�>w��m���5�o,ĪNX�)� ���B��`��l��n�R{�W�G�?kT�@�t!��\k�k'� �K���^�sy����:���G �QyeR�� 2��9,��t�"��f<�ؿ;'kzΙl��ީr(��?͢���L�U����/ZC����Gkߴ1!��B��Xq*�{�wa~Ht��ȍ�f��7X��-"������"Ѩ��FN��u�ps��B(#!2�"CR�/u���M�������.�r�=��HH���H,b�7�q�� R�`�n���a=+b
3
+ 2Dkաn�
4
+ Վ