authlete 1.33.0 → 1.34.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: ccc118a0411d0f279c37cdf396890204b6dc2945e493e8212e0d79fe4b80f86a
4
- data.tar.gz: a12839904cbe50b4f779a985b75e66c89d12e12bb6ddafe48549434b749b777e
3
+ metadata.gz: 743cfaab122222d1e9d7cf0f2a741371be4ac37a38bad1648c6b25dc6a108282
4
+ data.tar.gz: c228a13fa5bb3434ecb16576e501d9700edb749a24234e64afc070fcf80bca85
5
5
  SHA512:
6
- metadata.gz: ee57a1108376bccec407dd7c0fa1072fe81504dcc46f9872e1daef051b200c6508e26ee03966a78c5cd7e4dc2a34277ea6ec2935a13d21d29cce4f82eb1ffe7c
7
- data.tar.gz: b095e4010c3b0890e9b33473fcf745e43b910901e90a9f8aa8b7a7a7e636323c3996de46bfe9e4e8cdec11d0e61c6c86ced93e52d926cabcc748bdece3450a92
6
+ metadata.gz: 900944ea4585b1f5dbd777ecf4a5a3fd1cd0bb04037ba4370e5004a2beda5fd69329da18f193708acc74554ec6dbb4507f3af0242633536c1a64be1bd1ddeee9
7
+ data.tar.gz: ebe494f292a59d11026388deac9bbca62aa7ed733ab0e5358b91c8627dcdd1f441721a60edbaa5173d9bffcc5f7b21d0360a037d03b3ef4fccde09a26379f26b
@@ -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
@@ -791,6 +795,7 @@ module Authlete
791
795
  verifiedClaimsValidationSchemaSet: nil,
792
796
  credentialDuration: nil,
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
 
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Authlete
19
- VERSION = "1.33.0"
19
+ VERSION = "1.34.0"
20
20
  end
@@ -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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authlete
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.33.0
4
+ version: 1.34.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-06-27 00:00:00.000000000 Z
13
+ date: 2023-07-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client