oauth2 2.0.17 → 2.0.19
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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +70 -4
- data/CITATION.cff +0 -0
- data/CODE_OF_CONDUCT.md +0 -0
- data/CONTRIBUTING.md +17 -25
- data/FUNDING.md +7 -10
- data/IRP.md +107 -0
- data/LICENSE.txt +1 -1
- data/OIDC.md +10 -1
- data/README.md +250 -370
- data/REEK +2 -0
- data/RUBOCOP.md +0 -0
- data/SECURITY.md +3 -0
- data/THREAT_MODEL.md +94 -0
- data/lib/oauth2/access_token.rb +12 -15
- data/lib/oauth2/authenticator.rb +9 -7
- data/lib/oauth2/client.rb +10 -2
- data/lib/oauth2/error.rb +2 -0
- data/lib/oauth2/filtered_attributes.rb +10 -49
- data/lib/oauth2/response.rb +14 -12
- data/lib/oauth2/strategy/assertion.rb +2 -2
- data/lib/oauth2/strategy/auth_code.rb +0 -0
- data/lib/oauth2/strategy/base.rb +0 -0
- data/lib/oauth2/strategy/client_credentials.rb +0 -0
- data/lib/oauth2/strategy/implicit.rb +0 -0
- data/lib/oauth2/strategy/password.rb +0 -0
- data/lib/oauth2/version.rb +1 -1
- data/lib/oauth2.rb +39 -17
- data/sig/oauth2/access_token.rbs +0 -0
- data/sig/oauth2/authenticator.rbs +0 -0
- data/sig/oauth2/client.rbs +0 -0
- data/sig/oauth2/error.rbs +0 -0
- data/sig/oauth2/filtered_attributes.rbs +6 -1
- data/sig/oauth2/response.rbs +0 -0
- data/sig/oauth2/sanitized_logger.rbs +32 -0
- data/sig/oauth2/strategy.rbs +0 -0
- data/sig/oauth2/thing_filter.rbs +10 -0
- data/sig/oauth2/version.rbs +0 -0
- data/sig/oauth2.rbs +0 -0
- data.tar.gz.sig +0 -0
- metadata +40 -62
- metadata.gz.sig +0 -0
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oauth2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.19
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter Boling
|
|
@@ -39,6 +39,20 @@ cert_chain:
|
|
|
39
39
|
-----END CERTIFICATE-----
|
|
40
40
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
41
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
|
+
type: :runtime
|
|
50
|
+
prerelease: false
|
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
52
|
+
requirements:
|
|
53
|
+
- - "~>"
|
|
54
|
+
- !ruby/object:Gem::Version
|
|
55
|
+
version: '0.1'
|
|
42
56
|
- !ruby/object:Gem::Dependency
|
|
43
57
|
name: faraday
|
|
44
58
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -227,20 +241,14 @@ dependencies:
|
|
|
227
241
|
requirements:
|
|
228
242
|
- - "~>"
|
|
229
243
|
- !ruby/object:Gem::Version
|
|
230
|
-
version: '
|
|
231
|
-
- - ">="
|
|
232
|
-
- !ruby/object:Gem::Version
|
|
233
|
-
version: 1.1.20
|
|
244
|
+
version: '2.0'
|
|
234
245
|
type: :development
|
|
235
246
|
prerelease: false
|
|
236
247
|
version_requirements: !ruby/object:Gem::Requirement
|
|
237
248
|
requirements:
|
|
238
249
|
- - "~>"
|
|
239
250
|
- !ruby/object:Gem::Version
|
|
240
|
-
version: '
|
|
241
|
-
- - ">="
|
|
242
|
-
- !ruby/object:Gem::Version
|
|
243
|
-
version: 1.1.20
|
|
251
|
+
version: '2.0'
|
|
244
252
|
- !ruby/object:Gem::Dependency
|
|
245
253
|
name: bundler-audit
|
|
246
254
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -296,6 +304,9 @@ dependencies:
|
|
|
296
304
|
- - "~>"
|
|
297
305
|
- !ruby/object:Gem::Version
|
|
298
306
|
version: '3.0'
|
|
307
|
+
- - ">="
|
|
308
|
+
- !ruby/object:Gem::Version
|
|
309
|
+
version: 3.0.6
|
|
299
310
|
type: :development
|
|
300
311
|
prerelease: false
|
|
301
312
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -303,6 +314,9 @@ dependencies:
|
|
|
303
314
|
- - "~>"
|
|
304
315
|
- !ruby/object:Gem::Version
|
|
305
316
|
version: '3.0'
|
|
317
|
+
- - ">="
|
|
318
|
+
- !ruby/object:Gem::Version
|
|
319
|
+
version: 3.0.6
|
|
306
320
|
- !ruby/object:Gem::Dependency
|
|
307
321
|
name: kettle-test
|
|
308
322
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -310,33 +324,19 @@ dependencies:
|
|
|
310
324
|
- - "~>"
|
|
311
325
|
- !ruby/object:Gem::Version
|
|
312
326
|
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'
|
|
327
327
|
- - ">="
|
|
328
328
|
- !ruby/object:Gem::Version
|
|
329
|
-
version:
|
|
329
|
+
version: 1.0.10
|
|
330
330
|
type: :development
|
|
331
331
|
prerelease: false
|
|
332
332
|
version_requirements: !ruby/object:Gem::Requirement
|
|
333
333
|
requirements:
|
|
334
334
|
- - "~>"
|
|
335
335
|
- !ruby/object:Gem::Version
|
|
336
|
-
version: '
|
|
336
|
+
version: '1.0'
|
|
337
337
|
- - ">="
|
|
338
338
|
- !ruby/object:Gem::Version
|
|
339
|
-
version:
|
|
339
|
+
version: 1.0.10
|
|
340
340
|
- !ruby/object:Gem::Dependency
|
|
341
341
|
name: ruby-progressbar
|
|
342
342
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -360,7 +360,7 @@ dependencies:
|
|
|
360
360
|
version: '1.0'
|
|
361
361
|
- - ">="
|
|
362
362
|
- !ruby/object:Gem::Version
|
|
363
|
-
version: 1.0.
|
|
363
|
+
version: 1.0.3
|
|
364
364
|
type: :development
|
|
365
365
|
prerelease: false
|
|
366
366
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -370,7 +370,7 @@ dependencies:
|
|
|
370
370
|
version: '1.0'
|
|
371
371
|
- - ">="
|
|
372
372
|
- !ruby/object:Gem::Version
|
|
373
|
-
version: 1.0.
|
|
373
|
+
version: 1.0.3
|
|
374
374
|
- !ruby/object:Gem::Dependency
|
|
375
375
|
name: gitmoji-regex
|
|
376
376
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -411,34 +411,6 @@ dependencies:
|
|
|
411
411
|
- - ">="
|
|
412
412
|
- !ruby/object:Gem::Version
|
|
413
413
|
version: 3.25.1
|
|
414
|
-
- !ruby/object:Gem::Dependency
|
|
415
|
-
name: vcr
|
|
416
|
-
requirement: !ruby/object:Gem::Requirement
|
|
417
|
-
requirements:
|
|
418
|
-
- - ">="
|
|
419
|
-
- !ruby/object:Gem::Version
|
|
420
|
-
version: '4'
|
|
421
|
-
type: :development
|
|
422
|
-
prerelease: false
|
|
423
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
424
|
-
requirements:
|
|
425
|
-
- - ">="
|
|
426
|
-
- !ruby/object:Gem::Version
|
|
427
|
-
version: '4'
|
|
428
|
-
- !ruby/object:Gem::Dependency
|
|
429
|
-
name: webmock
|
|
430
|
-
requirement: !ruby/object:Gem::Requirement
|
|
431
|
-
requirements:
|
|
432
|
-
- - ">="
|
|
433
|
-
- !ruby/object:Gem::Version
|
|
434
|
-
version: '3'
|
|
435
|
-
type: :development
|
|
436
|
-
prerelease: false
|
|
437
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
438
|
-
requirements:
|
|
439
|
-
- - ">="
|
|
440
|
-
- !ruby/object:Gem::Version
|
|
441
|
-
version: '3'
|
|
442
414
|
description: "\U0001F510 A Ruby wrapper for the OAuth 2.0 Authorization Framework,
|
|
443
415
|
including the OAuth 2.1 draft spec, and OpenID Connect (OIDC)"
|
|
444
416
|
email:
|
|
@@ -452,24 +424,28 @@ extra_rdoc_files:
|
|
|
452
424
|
- CODE_OF_CONDUCT.md
|
|
453
425
|
- CONTRIBUTING.md
|
|
454
426
|
- FUNDING.md
|
|
427
|
+
- IRP.md
|
|
455
428
|
- LICENSE.txt
|
|
456
429
|
- OIDC.md
|
|
457
430
|
- README.md
|
|
458
431
|
- REEK
|
|
459
432
|
- RUBOCOP.md
|
|
460
433
|
- SECURITY.md
|
|
434
|
+
- THREAT_MODEL.md
|
|
461
435
|
files:
|
|
462
436
|
- CHANGELOG.md
|
|
463
437
|
- CITATION.cff
|
|
464
438
|
- CODE_OF_CONDUCT.md
|
|
465
439
|
- CONTRIBUTING.md
|
|
466
440
|
- FUNDING.md
|
|
441
|
+
- IRP.md
|
|
467
442
|
- LICENSE.txt
|
|
468
443
|
- OIDC.md
|
|
469
444
|
- README.md
|
|
470
445
|
- REEK
|
|
471
446
|
- RUBOCOP.md
|
|
472
447
|
- SECURITY.md
|
|
448
|
+
- THREAT_MODEL.md
|
|
473
449
|
- lib/oauth2.rb
|
|
474
450
|
- lib/oauth2/access_token.rb
|
|
475
451
|
- lib/oauth2/authenticator.rb
|
|
@@ -491,17 +467,19 @@ files:
|
|
|
491
467
|
- sig/oauth2/error.rbs
|
|
492
468
|
- sig/oauth2/filtered_attributes.rbs
|
|
493
469
|
- sig/oauth2/response.rbs
|
|
470
|
+
- sig/oauth2/sanitized_logger.rbs
|
|
494
471
|
- sig/oauth2/strategy.rbs
|
|
472
|
+
- sig/oauth2/thing_filter.rbs
|
|
495
473
|
- sig/oauth2/version.rbs
|
|
496
474
|
homepage: https://github.com/ruby-oauth/oauth2
|
|
497
475
|
licenses:
|
|
498
476
|
- MIT
|
|
499
477
|
metadata:
|
|
500
478
|
homepage_uri: https://oauth2.galtzo.com/
|
|
501
|
-
source_code_uri: https://github.com/ruby-oauth/oauth2/tree/v2.0.
|
|
502
|
-
changelog_uri: https://github.com/ruby-oauth/oauth2/blob/v2.0.
|
|
479
|
+
source_code_uri: https://github.com/ruby-oauth/oauth2/tree/v2.0.19
|
|
480
|
+
changelog_uri: https://github.com/ruby-oauth/oauth2/blob/v2.0.19/CHANGELOG.md
|
|
503
481
|
bug_tracker_uri: https://github.com/ruby-oauth/oauth2/issues
|
|
504
|
-
documentation_uri: https://www.rubydoc.info/gems/oauth2/2.0.
|
|
482
|
+
documentation_uri: https://www.rubydoc.info/gems/oauth2/2.0.19
|
|
505
483
|
mailing_list_uri: https://groups.google.com/g/oauth-ruby
|
|
506
484
|
funding_uri: https://github.com/sponsors/pboling
|
|
507
485
|
wiki_uri: https://gitlab.com/ruby-oauth/oauth2/-/wiki
|
|
@@ -510,11 +488,11 @@ metadata:
|
|
|
510
488
|
rubygems_mfa_required: 'true'
|
|
511
489
|
post_install_message: |2
|
|
512
490
|
|
|
513
|
-
---+++--- oauth2 v2.0.
|
|
491
|
+
---+++--- oauth2 v2.0.19 ---+++---
|
|
514
492
|
|
|
515
493
|
(minor) ⚠️ BREAKING CHANGES ⚠️ when upgrading from < v2
|
|
516
494
|
• 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.
|
|
495
|
+
• Changes in this patch: https://gitlab.com/ruby-oauth/oauth2/-/blob/v2.0.19/CHANGELOG.md#2015-2025-09-08
|
|
518
496
|
|
|
519
497
|
News:
|
|
520
498
|
1. New documentation website, including for OAuth 2.1 and OIDC: https://oauth2.galtzo.com
|
|
@@ -557,7 +535,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
557
535
|
- !ruby/object:Gem::Version
|
|
558
536
|
version: '0'
|
|
559
537
|
requirements: []
|
|
560
|
-
rubygems_version:
|
|
538
|
+
rubygems_version: 4.0.11
|
|
561
539
|
specification_version: 4
|
|
562
540
|
summary: "\U0001F510 OAuth 2.0, 2.1 & OIDC Core Ruby implementation"
|
|
563
541
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|