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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: ccc118a0411d0f279c37cdf396890204b6dc2945e493e8212e0d79fe4b80f86a
4
- data.tar.gz: a12839904cbe50b4f779a985b75e66c89d12e12bb6ddafe48549434b749b777e
2
+ SHA1:
3
+ metadata.gz: f1ca2366f1b56a10ee44f96cdda940c49c5b1772
4
+ data.tar.gz: f7793f1df00f17688dff349ffbba4a179cd83894
5
5
  SHA512:
6
- metadata.gz: ee57a1108376bccec407dd7c0fa1072fe81504dcc46f9872e1daef051b200c6508e26ee03966a78c5cd7e4dc2a34277ea6ec2935a13d21d29cce4f82eb1ffe7c
7
- data.tar.gz: b095e4010c3b0890e9b33473fcf745e43b910901e90a9f8aa8b7a7a7e636323c3996de46bfe9e4e8cdec11d0e61c6c86ced93e52d926cabcc748bdece3450a92
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: nil,
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
 
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Authlete
19
- VERSION = "1.33.0"
19
+ VERSION = "1.35.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,16 +1,16 @@
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.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-06-27 00:00:00.000000000 Z
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
- rubygems_version: 3.0.3.1
264
- signing_key:
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: