authlete 1.17.0 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9edcad771204fa9462d8bbbc07f5651c3725f371bb2d2b338230af76d90a90d6
4
- data.tar.gz: d36cac2851b2aaf55ba514292cfef692048361799d010df3feca028e64cf6e0d
3
+ metadata.gz: 0a6d6b54fff66206e4a72791605ec3f84cdc835365a4dce359c3acadda49c56d
4
+ data.tar.gz: 5418a92d1c23f717ff8ac6e393961c0e5fef71b276ffb6c528bae32f3002ea03
5
5
  SHA512:
6
- metadata.gz: 2edd4f18ed30756b6edb7481e707a3d718e35f03892eff80d25cf708bd14c8b0be78434ec3f685d8ca71e9ad6b25edcab2efb24512a50b5b815562682e2e9596
7
- data.tar.gz: 2db6779a4df0a46a80c6de5d5fbe901934be2ce2e4f49f5967c4bb575a5bae9cfd0953c085cc01a75b843a6b0e9ee79224594ac3f1cfa398ebc1238722db97bd
6
+ metadata.gz: 53cacf0ae8c7f6edf51c9628598234297666a96aa877bf284fd6c41469c7ec74892d56912b240658ff7ed8c14e1f68a55504a615c89406cb0d6c4086792084d5
7
+ data.tar.gz: fe43a9a51a6716e103bd57d9c9699870f637310c2c0b255a83d0d61b16453e5ffb75b5717da73711b66e051a29e917e642ea81b478d101246716f0df4b75a6c0
@@ -526,6 +526,10 @@ module Authlete
526
526
  attr_accessor :accessTokenForExternalAttachmentEmbedded
527
527
  alias_method :access_token_for_external_attachment_embedded, :accessTokenForExternalAttachmentEmbedded
528
528
  alias_method :access_token_for_external_attachment_embedded=, :accessTokenForExternalAttachmentEmbedded=
529
+
530
+ attr_accessor :refreshTokenIdempotent
531
+ alias_method :refresh_token_idempotent, :refreshTokenIdempotent
532
+ alias_method :refresh_token_idempotent=, :refreshTokenIdempotent=
529
533
  private
530
534
 
531
535
  def defaults
@@ -660,6 +664,7 @@ module Authlete
660
664
  supportedDigestAlgorithms: nil,
661
665
  requestObjectAudienceChecked: false,
662
666
  accessTokenForExternalAttachmentEmbedded: false,
667
+ refreshTokenIdempotent: false,
663
668
  }
664
669
  end
665
670
 
@@ -794,6 +799,7 @@ module Authlete
794
799
  @supportedDigestAlgorithms = hash[:supportedDigestAlgorithms]
795
800
  @requestObjectAudienceChecked = hash[:requestObjectAudienceChecked]
796
801
  @accessTokenForExternalAttachmentEmbedded = hash[:accessTokenForExternalAttachmentEmbedded]
802
+ @refreshTokenIdempotent = hash[:refreshTokenIdempotent]
797
803
  end
798
804
 
799
805
  def to_hash_value(key, var)
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Authlete
19
- VERSION = "1.17.0"
19
+ VERSION = "1.18.0"
20
20
  end
@@ -172,6 +172,7 @@ class ServiceTest < Minitest::Test
172
172
  SUPPORTED_DIGEST_ALGORITHMS = ['<supported-digest-algorithms1>', '<supported-digest-algorithms1>']
173
173
  REQUEST_OBJECT_AUDIENCE_CHECKED = true
174
174
  ACCESS_TOKEN_FOR_EXTERNAL_ATTACHMENT_EMBEDDED = false
175
+ REFRESH_TOKEN_IDEMPOTENT = false
175
176
 
176
177
  def generate_json
177
178
  return <<~JSON
@@ -305,7 +306,8 @@ class ServiceTest < Minitest::Test
305
306
  "supportedAttachments": [ "EMBEDDED", "EXTERNAL"],
306
307
  "supportedDigestAlgorithms": ["<supported-digest-algorithms1>", "<supported-digest-algorithms1>"],
307
308
  "requestObjectAudienceChecked": true,
308
- "accessTokenForExternalAttachmentEmbedded": false
309
+ "accessTokenForExternalAttachmentEmbedded": false,
310
+ "refreshTokenIdempotent": false
309
311
  }
310
312
  JSON
311
313
  end
@@ -442,7 +444,8 @@ class ServiceTest < Minitest::Test
442
444
  supportedAttachments: [ 'EMBEDDED', 'EXTERNAL'],
443
445
  supportedDigestAlgorithms: ['<supported-digest-algorithms1>', '<supported-digest-algorithms1>'],
444
446
  requestObjectAudienceChecked: true,
445
- accessTokenForExternalAttachmentEmbedded: false
447
+ accessTokenForExternalAttachmentEmbedded: false,
448
+ refreshTokenIdempotent: false
446
449
  }
447
450
  end
448
451
 
@@ -578,6 +581,7 @@ class ServiceTest < Minitest::Test
578
581
  obj.supported_digest_algorithms = SUPPORTED_DIGEST_ALGORITHMS
579
582
  obj.request_object_audience_checked = REQUEST_OBJECT_AUDIENCE_CHECKED
580
583
  obj.access_token_for_external_attachment_embedded = ACCESS_TOKEN_FOR_EXTERNAL_ATTACHMENT_EMBEDDED
584
+ obj.refresh_token_idempotent = REFRESH_TOKEN_IDEMPOTENT
581
585
  end
582
586
 
583
587
 
@@ -726,6 +730,7 @@ class ServiceTest < Minitest::Test
726
730
  assert_equal SUPPORTED_DIGEST_ALGORITHMS, obj.supported_digest_algorithms
727
731
  assert_equal REQUEST_OBJECT_AUDIENCE_CHECKED, obj.request_object_audience_checked
728
732
  assert_equal ACCESS_TOKEN_FOR_EXTERNAL_ATTACHMENT_EMBEDDED, obj.access_token_for_external_attachment_embedded
733
+ assert_equal REFRESH_TOKEN_IDEMPOTENT, obj.refresh_token_idempotent
729
734
  end
730
735
 
731
736
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authlete
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiko Kawasaki
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-04-01 00:00:00.000000000 Z
12
+ date: 2022-06-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client