authlete 1.31.0 → 1.32.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b8bef7f2f9497453b9826f3d939da50a901bc476daf85c0d7428bd8aa1aaded
4
- data.tar.gz: 50d52b0c5193cd7aa5610abead42bb9cd29b9f4098ac1f7dd1727ce027f9ffaa
3
+ metadata.gz: d4792a4186318c1bf3776efeae28c45ddd11dc5d1c73b2e5766bb15e42406d3e
4
+ data.tar.gz: ea95479a617e5e6ecef95e8ef9102d7ac6371fcc31956943d63791200b5f53bc
5
5
  SHA512:
6
- metadata.gz: 6af80ebd79b50ec3856ec53ae123cfc026f150ff061c3f2c8bfcf6415d41cedf7952806afb77e13657e5f316899ce9d3b65b1ce5158315cc39cccc341ae42f2c
7
- data.tar.gz: 22d15dcfe1c9517f3c85cfb3af32358a80da85650735f5d354b5334699a4b0fa0ee27235b94dc40db3609d2810a6d737bc996073cf99369b6f9c5761460da795
6
+ metadata.gz: f53f3a30898b6dedaa7bb4c103640b55d2fbc9895cdd3b34233105b4496d1502e23b3036da8c4d644dd11097f291d79777dfb61b2dfd7373a40340579e9f58da
7
+ data.tar.gz: dde70917acb4d54814d3637adc8dafb81a41b71f5840fe95d9e7eb7bb001eb08713b5482cd9a0f997123617beba7722e155091ffd2e9c6be6e2ef1b256f210e1
@@ -619,6 +619,10 @@ module Authlete
619
619
  alias_method :id_token_aud_type, :idTokenAudType
620
620
  alias_method :id_token_aud_type=, :idTokenAudType=
621
621
 
622
+ attr_accessor :verifiedClaimsValidationSchemaSet
623
+ alias_method :verified_claims_validation_schema_set, :verifiedClaimsValidationSchemaSet
624
+ alias_method :verified_claims_validation_schema_set=, :verifiedClaimsValidationSchemaSet=
625
+
622
626
  private
623
627
 
624
628
  def defaults
@@ -776,6 +780,7 @@ module Authlete
776
780
  openidDroppedOnRefreshWithoutOfflineAccess: false,
777
781
  supportedDocumentsCheckMethods: nil,
778
782
  idTokenAudType: nil,
783
+ verifiedClaimsValidationSchemaSet: nil,
779
784
  }
780
785
  end
781
786
 
@@ -933,6 +938,7 @@ module Authlete
933
938
  @openidDroppedOnRefreshWithoutOfflineAccess = hash[:openidDroppedOnRefreshWithoutOfflineAccess]
934
939
  @supportedDocumentsCheckMethods = hash[:supportedDocumentsCheckMethods]
935
940
  @idTokenAudType = hash[:idTokenAudType]
941
+ @verifiedClaimsValidationSchemaSet = hash[:verifiedClaimsValidationSchemaSet]
936
942
 
937
943
  end
938
944
 
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Authlete
19
- VERSION = "1.31.0"
19
+ VERSION = "1.32.0"
20
20
  end
@@ -197,6 +197,7 @@ class ServiceTest < Minitest::Test
197
197
  OPENID_DROPPED_ON_REFRESH_WITHOUT_OFFLINE_ACCESS = false
198
198
  SUPPORTED_DOCUMENTS_CHECK_METHODS = ['supported', 'documents']
199
199
  ID_TOKEN_AUD_TYPE = '<id-token-aud-type>'
200
+ VERIFIED_CLAIMS_VALIDATION_SCHEMA_SET = '<verified_claims_validation_schema_set>'
200
201
 
201
202
  def generate_json
202
203
  return <<~JSON
@@ -353,7 +354,8 @@ class ServiceTest < Minitest::Test
353
354
  "dcrDuplicateSoftwareIdBlocked": false,
354
355
  "openidDroppedOnRefreshWithoutOfflineAccess": false,
355
356
  "supportedDocumentsCheckMethods": ["supported","documents"],
356
- "idTokenAudType": "<id-token-aud-type>"
357
+ "idTokenAudType": "<id-token-aud-type>",
358
+ "verifiedClaimsValidationSchemaSet": "<verified_claims_validation_schema_set>"
357
359
  }
358
360
  JSON
359
361
 
@@ -514,7 +516,9 @@ class ServiceTest < Minitest::Test
514
516
  dcrDuplicateSoftwareIdBlocked: false,
515
517
  openidDroppedOnRefreshWithoutOfflineAccess: false,
516
518
  supportedDocumentsCheckMethods: ['supported', 'documents'],
517
- idTokenAudType: '<id-token-aud-type>'
519
+ idTokenAudType: '<id-token-aud-type>',
520
+ verifiedClaimsValidationSchemaSet: '<verified_claims_validation_schema_set>',
521
+
518
522
  }
519
523
  end
520
524
 
@@ -671,6 +675,8 @@ class ServiceTest < Minitest::Test
671
675
  obj.openidDroppedOnRefreshWithoutOfflineAccess = OPENID_DROPPED_ON_REFRESH_WITHOUT_OFFLINE_ACCESS
672
676
  obj.supported_documents_check_methods = SUPPORTED_DOCUMENTS_CHECK_METHODS
673
677
  obj.id_token_aud_type = ID_TOKEN_AUD_TYPE
678
+ obj.verified_claims_validation_schema_set = VERIFIED_CLAIMS_VALIDATION_SCHEMA_SET
679
+
674
680
  end
675
681
 
676
682
  def match(obj)
@@ -842,6 +848,7 @@ class ServiceTest < Minitest::Test
842
848
  assert_equal OPENID_DROPPED_ON_REFRESH_WITHOUT_OFFLINE_ACCESS, obj.openidDroppedOnRefreshWithoutOfflineAccess
843
849
  assert_equal SUPPORTED_DOCUMENTS_CHECK_METHODS, obj.supported_documents_check_methods
844
850
  assert_equal ID_TOKEN_AUD_TYPE, obj.id_token_aud_type
851
+ assert_equal VERIFIED_CLAIMS_VALIDATION_SCHEMA_SET, obj.verified_claims_validation_schema_set
845
852
  end
846
853
 
847
854
 
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.31.0
4
+ version: 1.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiko Kawasaki
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-04-19 00:00:00.000000000 Z
13
+ date: 2023-04-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client