authlete 1.31.0 → 1.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/authlete/model/service.rb +6 -0
- data/lib/authlete/version.rb +1 -1
- data/test/authlete/model/test_service.rb +9 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4792a4186318c1bf3776efeae28c45ddd11dc5d1c73b2e5766bb15e42406d3e
|
4
|
+
data.tar.gz: ea95479a617e5e6ecef95e8ef9102d7ac6371fcc31956943d63791200b5f53bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/lib/authlete/version.rb
CHANGED
@@ -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.
|
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-
|
13
|
+
date: 2023-04-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rest-client
|