oauth2 1.4.9 → 2.0.17

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 (55) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +706 -88
  4. data/CITATION.cff +20 -0
  5. data/CODE_OF_CONDUCT.md +24 -23
  6. data/CONTRIBUTING.md +229 -0
  7. data/FUNDING.md +77 -0
  8. data/{LICENSE → LICENSE.txt} +2 -2
  9. data/OIDC.md +158 -0
  10. data/README.md +1513 -251
  11. data/REEK +0 -0
  12. data/RUBOCOP.md +71 -0
  13. data/SECURITY.md +21 -0
  14. data/lib/oauth2/access_token.rb +276 -39
  15. data/lib/oauth2/authenticator.rb +45 -8
  16. data/lib/oauth2/client.rb +406 -129
  17. data/lib/oauth2/error.rb +59 -24
  18. data/lib/oauth2/filtered_attributes.rb +52 -0
  19. data/lib/oauth2/response.rb +127 -36
  20. data/lib/oauth2/strategy/assertion.rb +68 -40
  21. data/lib/oauth2/strategy/auth_code.rb +25 -4
  22. data/lib/oauth2/strategy/client_credentials.rb +3 -3
  23. data/lib/oauth2/strategy/implicit.rb +17 -2
  24. data/lib/oauth2/strategy/password.rb +14 -4
  25. data/lib/oauth2/version.rb +1 -59
  26. data/lib/oauth2.rb +79 -12
  27. data/sig/oauth2/access_token.rbs +25 -0
  28. data/sig/oauth2/authenticator.rbs +22 -0
  29. data/sig/oauth2/client.rbs +52 -0
  30. data/sig/oauth2/error.rbs +8 -0
  31. data/sig/oauth2/filtered_attributes.rbs +6 -0
  32. data/sig/oauth2/response.rbs +18 -0
  33. data/sig/oauth2/strategy.rbs +34 -0
  34. data/sig/oauth2/version.rbs +5 -0
  35. data/sig/oauth2.rbs +9 -0
  36. data.tar.gz.sig +0 -0
  37. metadata +336 -89
  38. metadata.gz.sig +0 -0
  39. data/lib/oauth2/mac_token.rb +0 -130
  40. data/spec/fixtures/README.md +0 -11
  41. data/spec/fixtures/RS256/jwtRS256.key +0 -51
  42. data/spec/fixtures/RS256/jwtRS256.key.pub +0 -14
  43. data/spec/helper.rb +0 -33
  44. data/spec/oauth2/access_token_spec.rb +0 -218
  45. data/spec/oauth2/authenticator_spec.rb +0 -86
  46. data/spec/oauth2/client_spec.rb +0 -556
  47. data/spec/oauth2/mac_token_spec.rb +0 -122
  48. data/spec/oauth2/response_spec.rb +0 -96
  49. data/spec/oauth2/strategy/assertion_spec.rb +0 -113
  50. data/spec/oauth2/strategy/auth_code_spec.rb +0 -108
  51. data/spec/oauth2/strategy/base_spec.rb +0 -7
  52. data/spec/oauth2/strategy/client_credentials_spec.rb +0 -71
  53. data/spec/oauth2/strategy/implicit_spec.rb +0 -28
  54. data/spec/oauth2/strategy/password_spec.rb +0 -58
  55. data/spec/oauth2/version_spec.rb +0 -23
metadata CHANGED
@@ -1,16 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.9
4
+ version: 2.0.17
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: 2022-02-20 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:
15
42
  - !ruby/object:Gem::Dependency
16
43
  name: faraday
@@ -21,7 +48,7 @@ dependencies:
21
48
  version: 0.17.3
22
49
  - - "<"
23
50
  - !ruby/object:Gem::Version
24
- version: '3.0'
51
+ version: '4.0'
25
52
  type: :runtime
26
53
  prerelease: false
27
54
  version_requirements: !ruby/object:Gem::Requirement
@@ -31,7 +58,7 @@ dependencies:
31
58
  version: 0.17.3
32
59
  - - "<"
33
60
  - !ruby/object:Gem::Version
34
- version: '3.0'
61
+ version: '4.0'
35
62
  - !ruby/object:Gem::Dependency
36
63
  name: jwt
37
64
  requirement: !ruby/object:Gem::Requirement
@@ -41,7 +68,7 @@ dependencies:
41
68
  version: '1.0'
42
69
  - - "<"
43
70
  - !ruby/object:Gem::Version
44
- version: '3.0'
71
+ version: '4.0'
45
72
  type: :runtime
46
73
  prerelease: false
47
74
  version_requirements: !ruby/object:Gem::Requirement
@@ -51,21 +78,21 @@ dependencies:
51
78
  version: '1.0'
52
79
  - - "<"
53
80
  - !ruby/object:Gem::Version
54
- version: '3.0'
81
+ version: '4.0'
55
82
  - !ruby/object:Gem::Dependency
56
- name: multi_json
83
+ name: logger
57
84
  requirement: !ruby/object:Gem::Requirement
58
85
  requirements:
59
86
  - - "~>"
60
87
  - !ruby/object:Gem::Version
61
- version: '1.3'
88
+ version: '1.2'
62
89
  type: :runtime
63
90
  prerelease: false
64
91
  version_requirements: !ruby/object:Gem::Requirement
65
92
  requirements:
66
93
  - - "~>"
67
94
  - !ruby/object:Gem::Version
68
- version: '1.3'
95
+ version: '1.2'
69
96
  - !ruby/object:Gem::Dependency
70
97
  name: multi_xml
71
98
  requirement: !ruby/object:Gem::Requirement
@@ -89,7 +116,7 @@ dependencies:
89
116
  version: '1.2'
90
117
  - - "<"
91
118
  - !ruby/object:Gem::Version
92
- version: '3'
119
+ version: '4'
93
120
  type: :runtime
94
121
  prerelease: false
95
122
  version_requirements: !ruby/object:Gem::Requirement
@@ -99,49 +126,81 @@ dependencies:
99
126
  version: '1.2'
100
127
  - - "<"
101
128
  - !ruby/object:Gem::Version
102
- version: '3'
129
+ version: '4'
103
130
  - !ruby/object:Gem::Dependency
104
- name: addressable
131
+ name: snaky_hash
105
132
  requirement: !ruby/object:Gem::Requirement
106
133
  requirements:
107
134
  - - "~>"
108
135
  - !ruby/object:Gem::Version
109
- version: '2.3'
110
- type: :development
136
+ version: '2.0'
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: 2.0.3
140
+ type: :runtime
111
141
  prerelease: false
112
142
  version_requirements: !ruby/object:Gem::Requirement
113
143
  requirements:
114
144
  - - "~>"
115
145
  - !ruby/object:Gem::Version
116
- version: '2.3'
146
+ version: '2.0'
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: 2.0.3
117
150
  - !ruby/object:Gem::Dependency
118
- name: bundler
151
+ name: version_gem
119
152
  requirement: !ruby/object:Gem::Requirement
120
153
  requirements:
154
+ - - "~>"
155
+ - !ruby/object:Gem::Version
156
+ version: '1.1'
121
157
  - - ">="
122
158
  - !ruby/object:Gem::Version
123
- version: '1.16'
159
+ version: 1.1.9
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '1.1'
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: 1.1.9
170
+ - !ruby/object:Gem::Dependency
171
+ name: addressable
172
+ requirement: !ruby/object:Gem::Requirement
173
+ requirements:
174
+ - - "~>"
175
+ - !ruby/object:Gem::Version
176
+ version: '2.8'
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: 2.8.7
124
180
  type: :development
125
181
  prerelease: false
126
182
  version_requirements: !ruby/object:Gem::Requirement
127
183
  requirements:
184
+ - - "~>"
185
+ - !ruby/object:Gem::Version
186
+ version: '2.8'
128
187
  - - ">="
129
188
  - !ruby/object:Gem::Version
130
- version: '1.16'
189
+ version: 2.8.7
131
190
  - !ruby/object:Gem::Dependency
132
- name: rake
191
+ name: nkf
133
192
  requirement: !ruby/object:Gem::Requirement
134
193
  requirements:
135
194
  - - "~>"
136
195
  - !ruby/object:Gem::Version
137
- version: '12.3'
196
+ version: '0.2'
138
197
  type: :development
139
198
  prerelease: false
140
199
  version_requirements: !ruby/object:Gem::Requirement
141
200
  requirements:
142
201
  - - "~>"
143
202
  - !ruby/object:Gem::Version
144
- version: '12.3'
203
+ version: '0.2'
145
204
  - !ruby/object:Gem::Dependency
146
205
  name: rexml
147
206
  requirement: !ruby/object:Gem::Requirement
@@ -149,6 +208,9 @@ dependencies:
149
208
  - - "~>"
150
209
  - !ruby/object:Gem::Version
151
210
  version: '3.2'
211
+ - - ">="
212
+ - !ruby/object:Gem::Version
213
+ version: 3.2.5
152
214
  type: :development
153
215
  prerelease: false
154
216
  version_requirements: !ruby/object:Gem::Requirement
@@ -156,8 +218,79 @@ dependencies:
156
218
  - - "~>"
157
219
  - !ruby/object:Gem::Version
158
220
  version: '3.2'
221
+ - - ">="
222
+ - !ruby/object:Gem::Version
223
+ version: 3.2.5
224
+ - !ruby/object:Gem::Dependency
225
+ name: kettle-dev
226
+ requirement: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - "~>"
229
+ - !ruby/object:Gem::Version
230
+ version: '1.1'
231
+ - - ">="
232
+ - !ruby/object:Gem::Version
233
+ version: 1.1.20
234
+ type: :development
235
+ prerelease: false
236
+ version_requirements: !ruby/object:Gem::Requirement
237
+ requirements:
238
+ - - "~>"
239
+ - !ruby/object:Gem::Version
240
+ version: '1.1'
241
+ - - ">="
242
+ - !ruby/object:Gem::Version
243
+ version: 1.1.20
159
244
  - !ruby/object:Gem::Dependency
160
- name: rspec
245
+ name: bundler-audit
246
+ requirement: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: 0.9.2
251
+ type: :development
252
+ prerelease: false
253
+ version_requirements: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - "~>"
256
+ - !ruby/object:Gem::Version
257
+ version: 0.9.2
258
+ - !ruby/object:Gem::Dependency
259
+ name: rake
260
+ requirement: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - "~>"
263
+ - !ruby/object:Gem::Version
264
+ version: '13.0'
265
+ type: :development
266
+ prerelease: false
267
+ version_requirements: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - "~>"
270
+ - !ruby/object:Gem::Version
271
+ version: '13.0'
272
+ - !ruby/object:Gem::Dependency
273
+ name: require_bench
274
+ requirement: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - "~>"
277
+ - !ruby/object:Gem::Version
278
+ version: '1.0'
279
+ - - ">="
280
+ - !ruby/object:Gem::Version
281
+ version: 1.0.4
282
+ type: :development
283
+ prerelease: false
284
+ version_requirements: !ruby/object:Gem::Requirement
285
+ requirements:
286
+ - - "~>"
287
+ - !ruby/object:Gem::Version
288
+ version: '1.0'
289
+ - - ">="
290
+ - !ruby/object:Gem::Version
291
+ version: 1.0.4
292
+ - !ruby/object:Gem::Dependency
293
+ name: appraisal2
161
294
  requirement: !ruby/object:Gem::Requirement
162
295
  requirements:
163
296
  - - "~>"
@@ -171,79 +304,178 @@ dependencies:
171
304
  - !ruby/object:Gem::Version
172
305
  version: '3.0'
173
306
  - !ruby/object:Gem::Dependency
174
- name: rspec-block_is_expected
307
+ name: kettle-test
175
308
  requirement: !ruby/object:Gem::Requirement
176
309
  requirements:
310
+ - - "~>"
311
+ - !ruby/object:Gem::Version
312
+ version: '1.0'
313
+ type: :development
314
+ prerelease: false
315
+ version_requirements: !ruby/object:Gem::Requirement
316
+ requirements:
317
+ - - "~>"
318
+ - !ruby/object:Gem::Version
319
+ version: '1.0'
320
+ - !ruby/object:Gem::Dependency
321
+ name: rspec-pending_for
322
+ requirement: !ruby/object:Gem::Requirement
323
+ requirements:
324
+ - - "~>"
325
+ - !ruby/object:Gem::Version
326
+ version: '0.0'
177
327
  - - ">="
178
328
  - !ruby/object:Gem::Version
179
- version: '0'
329
+ version: 0.0.17
180
330
  type: :development
181
331
  prerelease: false
182
332
  version_requirements: !ruby/object:Gem::Requirement
183
333
  requirements:
334
+ - - "~>"
335
+ - !ruby/object:Gem::Version
336
+ version: '0.0'
184
337
  - - ">="
185
338
  - !ruby/object:Gem::Version
186
- version: '0'
339
+ version: 0.0.17
187
340
  - !ruby/object:Gem::Dependency
188
- name: rspec-pending_for
341
+ name: ruby-progressbar
189
342
  requirement: !ruby/object:Gem::Requirement
190
343
  requirements:
344
+ - - "~>"
345
+ - !ruby/object:Gem::Version
346
+ version: '1.13'
347
+ type: :development
348
+ prerelease: false
349
+ version_requirements: !ruby/object:Gem::Requirement
350
+ requirements:
351
+ - - "~>"
352
+ - !ruby/object:Gem::Version
353
+ version: '1.13'
354
+ - !ruby/object:Gem::Dependency
355
+ name: stone_checksums
356
+ requirement: !ruby/object:Gem::Requirement
357
+ requirements:
358
+ - - "~>"
359
+ - !ruby/object:Gem::Version
360
+ version: '1.0'
361
+ - - ">="
362
+ - !ruby/object:Gem::Version
363
+ version: 1.0.2
364
+ type: :development
365
+ prerelease: false
366
+ version_requirements: !ruby/object:Gem::Requirement
367
+ requirements:
368
+ - - "~>"
369
+ - !ruby/object:Gem::Version
370
+ version: '1.0'
371
+ - - ">="
372
+ - !ruby/object:Gem::Version
373
+ version: 1.0.2
374
+ - !ruby/object:Gem::Dependency
375
+ name: gitmoji-regex
376
+ requirement: !ruby/object:Gem::Requirement
377
+ requirements:
378
+ - - "~>"
379
+ - !ruby/object:Gem::Version
380
+ version: '1.0'
381
+ - - ">="
382
+ - !ruby/object:Gem::Version
383
+ version: 1.0.3
384
+ type: :development
385
+ prerelease: false
386
+ version_requirements: !ruby/object:Gem::Requirement
387
+ requirements:
388
+ - - "~>"
389
+ - !ruby/object:Gem::Version
390
+ version: '1.0'
191
391
  - - ">="
192
392
  - !ruby/object:Gem::Version
193
- version: '0'
393
+ version: 1.0.3
394
+ - !ruby/object:Gem::Dependency
395
+ name: backports
396
+ requirement: !ruby/object:Gem::Requirement
397
+ requirements:
398
+ - - "~>"
399
+ - !ruby/object:Gem::Version
400
+ version: '3.25'
401
+ - - ">="
402
+ - !ruby/object:Gem::Version
403
+ version: 3.25.1
194
404
  type: :development
195
405
  prerelease: false
196
406
  version_requirements: !ruby/object:Gem::Requirement
197
407
  requirements:
408
+ - - "~>"
409
+ - !ruby/object:Gem::Version
410
+ version: '3.25'
198
411
  - - ">="
199
412
  - !ruby/object:Gem::Version
200
- version: '0'
413
+ version: 3.25.1
201
414
  - !ruby/object:Gem::Dependency
202
- name: rspec-stubbed_env
415
+ name: vcr
203
416
  requirement: !ruby/object:Gem::Requirement
204
417
  requirements:
205
418
  - - ">="
206
419
  - !ruby/object:Gem::Version
207
- version: '0'
420
+ version: '4'
208
421
  type: :development
209
422
  prerelease: false
210
423
  version_requirements: !ruby/object:Gem::Requirement
211
424
  requirements:
212
425
  - - ">="
213
426
  - !ruby/object:Gem::Version
214
- version: '0'
427
+ version: '4'
215
428
  - !ruby/object:Gem::Dependency
216
- name: silent_stream
429
+ name: webmock
217
430
  requirement: !ruby/object:Gem::Requirement
218
431
  requirements:
219
432
  - - ">="
220
433
  - !ruby/object:Gem::Version
221
- version: '0'
434
+ version: '3'
222
435
  type: :development
223
436
  prerelease: false
224
437
  version_requirements: !ruby/object:Gem::Requirement
225
438
  requirements:
226
439
  - - ">="
227
440
  - !ruby/object:Gem::Version
228
- version: '0'
229
- description: A Ruby wrapper for the OAuth 2.0 protocol built with a similar style
230
- to the original OAuth spec.
441
+ version: '3'
442
+ description: "\U0001F510 A Ruby wrapper for the OAuth 2.0 Authorization Framework,
443
+ including the OAuth 2.1 draft spec, and OpenID Connect (OIDC)"
231
444
  email:
232
- - peter.boling@gmail.com
445
+ - floss@galtzo.com
446
+ - oauth-ruby@googlegroups.com
233
447
  executables: []
234
448
  extensions: []
235
- extra_rdoc_files: []
449
+ extra_rdoc_files:
450
+ - CHANGELOG.md
451
+ - CITATION.cff
452
+ - CODE_OF_CONDUCT.md
453
+ - CONTRIBUTING.md
454
+ - FUNDING.md
455
+ - LICENSE.txt
456
+ - OIDC.md
457
+ - README.md
458
+ - REEK
459
+ - RUBOCOP.md
460
+ - SECURITY.md
236
461
  files:
237
462
  - CHANGELOG.md
463
+ - CITATION.cff
238
464
  - CODE_OF_CONDUCT.md
239
- - LICENSE
465
+ - CONTRIBUTING.md
466
+ - FUNDING.md
467
+ - LICENSE.txt
468
+ - OIDC.md
240
469
  - README.md
470
+ - REEK
471
+ - RUBOCOP.md
472
+ - SECURITY.md
241
473
  - lib/oauth2.rb
242
474
  - lib/oauth2/access_token.rb
243
475
  - lib/oauth2/authenticator.rb
244
476
  - lib/oauth2/client.rb
245
477
  - lib/oauth2/error.rb
246
- - lib/oauth2/mac_token.rb
478
+ - lib/oauth2/filtered_attributes.rb
247
479
  - lib/oauth2/response.rb
248
480
  - lib/oauth2/strategy/assertion.rb
249
481
  - lib/oauth2/strategy/auth_code.rb
@@ -252,65 +484,80 @@ files:
252
484
  - lib/oauth2/strategy/implicit.rb
253
485
  - lib/oauth2/strategy/password.rb
254
486
  - lib/oauth2/version.rb
255
- - spec/fixtures/README.md
256
- - spec/fixtures/RS256/jwtRS256.key
257
- - spec/fixtures/RS256/jwtRS256.key.pub
258
- - spec/helper.rb
259
- - spec/oauth2/access_token_spec.rb
260
- - spec/oauth2/authenticator_spec.rb
261
- - spec/oauth2/client_spec.rb
262
- - spec/oauth2/mac_token_spec.rb
263
- - spec/oauth2/response_spec.rb
264
- - spec/oauth2/strategy/assertion_spec.rb
265
- - spec/oauth2/strategy/auth_code_spec.rb
266
- - spec/oauth2/strategy/base_spec.rb
267
- - spec/oauth2/strategy/client_credentials_spec.rb
268
- - spec/oauth2/strategy/implicit_spec.rb
269
- - spec/oauth2/strategy/password_spec.rb
270
- - spec/oauth2/version_spec.rb
271
- homepage: https://github.com/oauth-xx/oauth2
487
+ - sig/oauth2.rbs
488
+ - sig/oauth2/access_token.rbs
489
+ - sig/oauth2/authenticator.rbs
490
+ - sig/oauth2/client.rbs
491
+ - sig/oauth2/error.rbs
492
+ - sig/oauth2/filtered_attributes.rbs
493
+ - sig/oauth2/response.rbs
494
+ - sig/oauth2/strategy.rbs
495
+ - sig/oauth2/version.rbs
496
+ homepage: https://github.com/ruby-oauth/oauth2
272
497
  licenses:
273
498
  - MIT
274
499
  metadata:
275
- bug_tracker_uri: https://github.com/oauth-xx/oauth2/issues
276
- changelog_uri: https://github.com/oauth-xx/oauth2/blob/v1.4.9/CHANGELOG.md
277
- documentation_uri: https://www.rubydoc.info/gems/oauth2/1.4.9
278
- source_code_uri: https://github.com/oauth-xx/oauth2/tree/v1.4.9
279
- wiki_uri: https://github.com/oauth-xx/oauth2/wiki
500
+ homepage_uri: https://oauth2.galtzo.com/
501
+ source_code_uri: https://github.com/ruby-oauth/oauth2/tree/v2.0.17
502
+ changelog_uri: https://github.com/ruby-oauth/oauth2/blob/v2.0.17/CHANGELOG.md
503
+ bug_tracker_uri: https://github.com/ruby-oauth/oauth2/issues
504
+ documentation_uri: https://www.rubydoc.info/gems/oauth2/2.0.17
505
+ mailing_list_uri: https://groups.google.com/g/oauth-ruby
506
+ funding_uri: https://github.com/sponsors/pboling
507
+ wiki_uri: https://gitlab.com/ruby-oauth/oauth2/-/wiki
508
+ news_uri: https://www.railsbling.com/tags/oauth2
509
+ discord_uri: https://discord.gg/3qme4XHNKN
280
510
  rubygems_mfa_required: 'true'
281
- post_install_message:
282
- rdoc_options: []
511
+ post_install_message: |2
512
+
513
+ ---+++--- oauth2 v2.0.17 ---+++---
514
+
515
+ (minor) ⚠️ BREAKING CHANGES ⚠️ when upgrading from < v2
516
+ • Summary of breaking changes: https://gitlab.com/ruby-oauth/oauth2#what-is-new-for-v20
517
+ • Changes in this patch: https://gitlab.com/ruby-oauth/oauth2/-/blob/v2.0.17/CHANGELOG.md#2015-2025-09-08
518
+
519
+ News:
520
+ 1. New documentation website, including for OAuth 2.1 and OIDC: https://oauth2.galtzo.com
521
+ 2. New official Discord for discussion and support: https://discord.gg/3qme4XHNKN
522
+ 3. New org name "ruby-oauth" on Open Source Collective, GitHub, GitLab, Codeberg (update git remotes!)
523
+ 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.
524
+ 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.
525
+ 5. Gem releases are cryptographically signed with a 20-year cert; SHA-256 & SHA-512 checksums by stone_checksums.
526
+ 6. Please consider supporting this project:
527
+ • https://opencollective.com/ruby-oauth (new!)
528
+ • https://liberapay.com/pboling
529
+ • https://github.com/sponsors/pboling
530
+ • https://www.paypal.com/paypalme/peterboling
531
+ • https://ko-fi.com/pboling
532
+ • https://www.buymeacoffee.com/pboling
533
+ • https://tidelift.com/funding/github/rubygems/oauth
534
+ • Hire me - I can build anything
535
+ • Report issues, and star the project
536
+ Thanks, @pboling / @galtzo
537
+ rdoc_options:
538
+ - "--title"
539
+ - "oauth2 - \U0001F510 OAuth 2.0, 2.1 & OIDC Core Ruby implementation"
540
+ - "--main"
541
+ - README.md
542
+ - "--exclude"
543
+ - "^sig/"
544
+ - "--line-numbers"
545
+ - "--inline-source"
546
+ - "--quiet"
283
547
  require_paths:
284
548
  - lib
285
549
  required_ruby_version: !ruby/object:Gem::Requirement
286
550
  requirements:
287
551
  - - ">="
288
552
  - !ruby/object:Gem::Version
289
- version: 1.9.0
553
+ version: 2.2.0
290
554
  required_rubygems_version: !ruby/object:Gem::Requirement
291
555
  requirements:
292
556
  - - ">="
293
557
  - !ruby/object:Gem::Version
294
- version: 1.3.5
558
+ version: '0'
295
559
  requirements: []
296
- rubygems_version: 3.3.7
297
- signing_key:
560
+ rubygems_version: 3.7.2
298
561
  specification_version: 4
299
- summary: A Ruby wrapper for the OAuth 2.0 protocol.
300
- test_files:
301
- - spec/fixtures/README.md
302
- - spec/fixtures/RS256/jwtRS256.key
303
- - spec/fixtures/RS256/jwtRS256.key.pub
304
- - spec/helper.rb
305
- - spec/oauth2/access_token_spec.rb
306
- - spec/oauth2/authenticator_spec.rb
307
- - spec/oauth2/client_spec.rb
308
- - spec/oauth2/mac_token_spec.rb
309
- - spec/oauth2/response_spec.rb
310
- - spec/oauth2/strategy/assertion_spec.rb
311
- - spec/oauth2/strategy/auth_code_spec.rb
312
- - spec/oauth2/strategy/base_spec.rb
313
- - spec/oauth2/strategy/client_credentials_spec.rb
314
- - spec/oauth2/strategy/implicit_spec.rb
315
- - spec/oauth2/strategy/password_spec.rb
316
- - spec/oauth2/version_spec.rb
562
+ summary: "\U0001F510 OAuth 2.0, 2.1 & OIDC Core Ruby implementation"
563
+ test_files: []
metadata.gz.sig ADDED
Binary file