authlete 1.30.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: 79569d91564135754024204aab53f35b5950009d0b2fdb8dc857a70f6b4a5afa
4
- data.tar.gz: 5440ba02cb738a1f21cac4fe1609fccf920191c49e5bfa309a74090807a64842
3
+ metadata.gz: d4792a4186318c1bf3776efeae28c45ddd11dc5d1c73b2e5766bb15e42406d3e
4
+ data.tar.gz: ea95479a617e5e6ecef95e8ef9102d7ac6371fcc31956943d63791200b5f53bc
5
5
  SHA512:
6
- metadata.gz: 6213ea3cc7eb9bbac15aa68764c9bf50bfe4af34f714b83603ae9c98aba56e7c2c4dbd04bddf87b75699adb7df5840b97b7993e12cb33bca49bd44f42e26c88b
7
- data.tar.gz: 4006d940357ab69fa3d619cee6c5a3622607ba9fc2fa5d84b026eb5d7b48e15b4bb31197ec9af6092844128ebe659bbdaf1ad6ca67f593153ebd454f6f868b39
6
+ metadata.gz: f53f3a30898b6dedaa7bb4c103640b55d2fbc9895cdd3b34233105b4496d1502e23b3036da8c4d644dd11097f291d79777dfb61b2dfd7373a40340579e9f58da
7
+ data.tar.gz: dde70917acb4d54814d3637adc8dafb81a41b71f5840fe95d9e7eb7bb001eb08713b5482cd9a0f997123617beba7722e155091ffd2e9c6be6e2ef1b256f210e1
@@ -615,6 +615,14 @@ module Authlete
615
615
  alias_method :supported_documents_check_methods, :supportedDocumentsCheckMethods
616
616
  alias_method :supported_documents_check_methods=, :supportedDocumentsCheckMethods=
617
617
 
618
+ attr_accessor :idTokenAudType
619
+ alias_method :id_token_aud_type, :idTokenAudType
620
+ alias_method :id_token_aud_type=, :idTokenAudType=
621
+
622
+ attr_accessor :verifiedClaimsValidationSchemaSet
623
+ alias_method :verified_claims_validation_schema_set, :verifiedClaimsValidationSchemaSet
624
+ alias_method :verified_claims_validation_schema_set=, :verifiedClaimsValidationSchemaSet=
625
+
618
626
  private
619
627
 
620
628
  def defaults
@@ -771,6 +779,8 @@ module Authlete
771
779
  dcrDuplicateSoftwareIdBlocked: false,
772
780
  openidDroppedOnRefreshWithoutOfflineAccess: false,
773
781
  supportedDocumentsCheckMethods: nil,
782
+ idTokenAudType: nil,
783
+ verifiedClaimsValidationSchemaSet: nil,
774
784
  }
775
785
  end
776
786
 
@@ -927,6 +937,8 @@ module Authlete
927
937
  @dcrDuplicateSoftwareIdBlocked = hash[:dcrDuplicateSoftwareIdBlocked]
928
938
  @openidDroppedOnRefreshWithoutOfflineAccess = hash[:openidDroppedOnRefreshWithoutOfflineAccess]
929
939
  @supportedDocumentsCheckMethods = hash[:supportedDocumentsCheckMethods]
940
+ @idTokenAudType = hash[:idTokenAudType]
941
+ @verifiedClaimsValidationSchemaSet = hash[:verifiedClaimsValidationSchemaSet]
930
942
 
931
943
  end
932
944
 
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Authlete
19
- VERSION = "1.30.0"
19
+ VERSION = "1.32.0"
20
20
  end
@@ -196,6 +196,8 @@ class ServiceTest < Minitest::Test
196
196
  DCR_DUPLICATE_SOFTWARE_ID_BLOCKED = false
197
197
  OPENID_DROPPED_ON_REFRESH_WITHOUT_OFFLINE_ACCESS = false
198
198
  SUPPORTED_DOCUMENTS_CHECK_METHODS = ['supported', 'documents']
199
+ ID_TOKEN_AUD_TYPE = '<id-token-aud-type>'
200
+ VERIFIED_CLAIMS_VALIDATION_SCHEMA_SET = '<verified_claims_validation_schema_set>'
199
201
 
200
202
  def generate_json
201
203
  return <<~JSON
@@ -351,7 +353,9 @@ class ServiceTest < Minitest::Test
351
353
  "federationConfigurationDuration": 100,
352
354
  "dcrDuplicateSoftwareIdBlocked": false,
353
355
  "openidDroppedOnRefreshWithoutOfflineAccess": false,
354
- "supportedDocumentsCheckMethods": ["supported","documents"]
356
+ "supportedDocumentsCheckMethods": ["supported","documents"],
357
+ "idTokenAudType": "<id-token-aud-type>",
358
+ "verifiedClaimsValidationSchemaSet": "<verified_claims_validation_schema_set>"
355
359
  }
356
360
  JSON
357
361
 
@@ -511,7 +515,10 @@ class ServiceTest < Minitest::Test
511
515
  federationConfigurationDuration: 100,
512
516
  dcrDuplicateSoftwareIdBlocked: false,
513
517
  openidDroppedOnRefreshWithoutOfflineAccess: false,
514
- supportedDocumentsCheckMethods: ['supported', 'documents']
518
+ supportedDocumentsCheckMethods: ['supported', 'documents'],
519
+ idTokenAudType: '<id-token-aud-type>',
520
+ verifiedClaimsValidationSchemaSet: '<verified_claims_validation_schema_set>',
521
+
515
522
  }
516
523
  end
517
524
 
@@ -667,6 +674,9 @@ class ServiceTest < Minitest::Test
667
674
  obj.dcr_duplicate_software_id_blocked = DCR_DUPLICATE_SOFTWARE_ID_BLOCKED
668
675
  obj.openidDroppedOnRefreshWithoutOfflineAccess = OPENID_DROPPED_ON_REFRESH_WITHOUT_OFFLINE_ACCESS
669
676
  obj.supported_documents_check_methods = SUPPORTED_DOCUMENTS_CHECK_METHODS
677
+ obj.id_token_aud_type = ID_TOKEN_AUD_TYPE
678
+ obj.verified_claims_validation_schema_set = VERIFIED_CLAIMS_VALIDATION_SCHEMA_SET
679
+
670
680
  end
671
681
 
672
682
  def match(obj)
@@ -837,6 +847,8 @@ class ServiceTest < Minitest::Test
837
847
  assert_equal DCR_DUPLICATE_SOFTWARE_ID_BLOCKED, obj.dcrDuplicateSoftwareIdBlocked
838
848
  assert_equal OPENID_DROPPED_ON_REFRESH_WITHOUT_OFFLINE_ACCESS, obj.openidDroppedOnRefreshWithoutOfflineAccess
839
849
  assert_equal SUPPORTED_DOCUMENTS_CHECK_METHODS, obj.supported_documents_check_methods
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
840
852
  end
841
853
 
842
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.30.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-03 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