authlete 1.33.0 → 1.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/authlete/model/service.rb +7 -1
- data/lib/authlete/version.rb +1 -1
- data/test/authlete/model/test_service.rb +6 -3
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f1ca2366f1b56a10ee44f96cdda940c49c5b1772
|
4
|
+
data.tar.gz: f7793f1df00f17688dff349ffbba4a179cd83894
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fd9b5550e4bc4dc2a71ce17eebb404578bc3dd296891c861f526c5cb3283d905c23c6e06afa6a345c4e0697bf4cb37dee209774756db980496b22822d4eef22
|
7
|
+
data.tar.gz: e7615f6229bdf8ff9134a7d2551ca31c3dc40d5cda5391c7a69d6a82ed7df262c506dc120cf6531ee14f9c2406b6bb39faba2420dcb6f0a84fd21b6e56152329
|
@@ -631,6 +631,10 @@ module Authlete
|
|
631
631
|
alias_method :credential_jwks, :credentialJwks
|
632
632
|
alias_method :credential_jwks=, :credentialJwks=
|
633
633
|
|
634
|
+
attr_accessor :idTokenReissuable
|
635
|
+
alias_method :id_token_reissuable, :idTokenReissuable
|
636
|
+
alias_method :id_token_reissuable=, :idTokenReissuable=
|
637
|
+
|
634
638
|
private
|
635
639
|
|
636
640
|
def defaults
|
@@ -789,8 +793,9 @@ module Authlete
|
|
789
793
|
supportedDocumentsCheckMethods: nil,
|
790
794
|
idTokenAudType: nil,
|
791
795
|
verifiedClaimsValidationSchemaSet: nil,
|
792
|
-
credentialDuration:
|
796
|
+
credentialDuration: 0,
|
793
797
|
credentialJwks: nil,
|
798
|
+
idTokenReissuable: false,
|
794
799
|
}
|
795
800
|
end
|
796
801
|
|
@@ -951,6 +956,7 @@ module Authlete
|
|
951
956
|
@verifiedClaimsValidationSchemaSet = hash[:verifiedClaimsValidationSchemaSet]
|
952
957
|
@credentialDuration = hash[:credentialDuration]
|
953
958
|
@credentialJwks = hash[:credentialJwks]
|
959
|
+
@idTokenReissuable = hash[:idTokenReissuable]
|
954
960
|
|
955
961
|
end
|
956
962
|
|
data/lib/authlete/version.rb
CHANGED
@@ -198,10 +198,9 @@ class ServiceTest < Minitest::Test
|
|
198
198
|
SUPPORTED_DOCUMENTS_CHECK_METHODS = ['supported', 'documents']
|
199
199
|
ID_TOKEN_AUD_TYPE = '<id-token-aud-type>'
|
200
200
|
VERIFIED_CLAIMS_VALIDATION_SCHEMA_SET = '<verified_claims_validation_schema_set>'
|
201
|
-
|
202
201
|
CREDENTIAL_DURATION = 100
|
203
202
|
CREDENTIAL_JWKS = '<credential-duration>'
|
204
|
-
|
203
|
+
ID_TOKEN_REISSUABLE = false
|
205
204
|
|
206
205
|
def generate_json
|
207
206
|
return <<~JSON
|
@@ -362,7 +361,8 @@ class ServiceTest < Minitest::Test
|
|
362
361
|
"verifiedClaimsValidationSchemaSet": "<verified_claims_validation_schema_set>",
|
363
362
|
|
364
363
|
"credentialDuration": 100,
|
365
|
-
"credentialJwks": "<credential-duration>"
|
364
|
+
"credentialJwks": "<credential-duration>",
|
365
|
+
"idTokenReissuable": false
|
366
366
|
}
|
367
367
|
JSON
|
368
368
|
|
@@ -527,6 +527,7 @@ class ServiceTest < Minitest::Test
|
|
527
527
|
verifiedClaimsValidationSchemaSet: '<verified_claims_validation_schema_set>',
|
528
528
|
credentialDuration: 100,
|
529
529
|
credentialJwks: '<credential-duration>',
|
530
|
+
idTokenReissuable: false,
|
530
531
|
}
|
531
532
|
end
|
532
533
|
|
@@ -686,6 +687,7 @@ class ServiceTest < Minitest::Test
|
|
686
687
|
obj.verified_claims_validation_schema_set = VERIFIED_CLAIMS_VALIDATION_SCHEMA_SET
|
687
688
|
obj.credential_duration = CREDENTIAL_DURATION
|
688
689
|
obj.credential_jwks = CREDENTIAL_JWKS
|
690
|
+
obj.id_token_reissuable = ID_TOKEN_REISSUABLE
|
689
691
|
|
690
692
|
end
|
691
693
|
|
@@ -861,6 +863,7 @@ class ServiceTest < Minitest::Test
|
|
861
863
|
assert_equal VERIFIED_CLAIMS_VALIDATION_SCHEMA_SET, obj.verified_claims_validation_schema_set
|
862
864
|
assert_equal CREDENTIAL_DURATION, obj.credentialDuration
|
863
865
|
assert_equal CREDENTIAL_JWKS, obj.credentialJwks
|
866
|
+
assert_equal ID_TOKEN_REISSUABLE, obj.idTokenReissuable
|
864
867
|
|
865
868
|
end
|
866
869
|
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authlete
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.35.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takahiko Kawasaki
|
8
8
|
- Hideki Ikeda
|
9
9
|
- Seth Wright
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2023-
|
13
|
+
date: 2023-12-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rest-client
|
@@ -245,7 +245,7 @@ homepage: https://www.authlete.com/
|
|
245
245
|
licenses:
|
246
246
|
- Apache License, Version 2.0
|
247
247
|
metadata: {}
|
248
|
-
post_install_message:
|
248
|
+
post_install_message:
|
249
249
|
rdoc_options: []
|
250
250
|
require_paths:
|
251
251
|
- lib
|
@@ -260,8 +260,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
260
|
- !ruby/object:Gem::Version
|
261
261
|
version: '0'
|
262
262
|
requirements: []
|
263
|
-
|
264
|
-
|
263
|
+
rubyforge_project:
|
264
|
+
rubygems_version: 2.6.8
|
265
|
+
signing_key:
|
265
266
|
specification_version: 4
|
266
267
|
summary: A library for Authlete Web APIs
|
267
268
|
test_files:
|