authlete 1.30.0 → 1.31.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
2
  SHA256:
3
- metadata.gz: 79569d91564135754024204aab53f35b5950009d0b2fdb8dc857a70f6b4a5afa
4
- data.tar.gz: 5440ba02cb738a1f21cac4fe1609fccf920191c49e5bfa309a74090807a64842
3
+ metadata.gz: 5b8bef7f2f9497453b9826f3d939da50a901bc476daf85c0d7428bd8aa1aaded
4
+ data.tar.gz: 50d52b0c5193cd7aa5610abead42bb9cd29b9f4098ac1f7dd1727ce027f9ffaa
5
5
  SHA512:
6
- metadata.gz: 6213ea3cc7eb9bbac15aa68764c9bf50bfe4af34f714b83603ae9c98aba56e7c2c4dbd04bddf87b75699adb7df5840b97b7993e12cb33bca49bd44f42e26c88b
7
- data.tar.gz: 4006d940357ab69fa3d619cee6c5a3622607ba9fc2fa5d84b026eb5d7b48e15b4bb31197ec9af6092844128ebe659bbdaf1ad6ca67f593153ebd454f6f868b39
6
+ metadata.gz: 6af80ebd79b50ec3856ec53ae123cfc026f150ff061c3f2c8bfcf6415d41cedf7952806afb77e13657e5f316899ce9d3b65b1ce5158315cc39cccc341ae42f2c
7
+ data.tar.gz: 22d15dcfe1c9517f3c85cfb3af32358a80da85650735f5d354b5334699a4b0fa0ee27235b94dc40db3609d2810a6d737bc996073cf99369b6f9c5761460da795
@@ -615,6 +615,10 @@ 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
+
618
622
  private
619
623
 
620
624
  def defaults
@@ -771,6 +775,7 @@ module Authlete
771
775
  dcrDuplicateSoftwareIdBlocked: false,
772
776
  openidDroppedOnRefreshWithoutOfflineAccess: false,
773
777
  supportedDocumentsCheckMethods: nil,
778
+ idTokenAudType: nil,
774
779
  }
775
780
  end
776
781
 
@@ -927,6 +932,7 @@ module Authlete
927
932
  @dcrDuplicateSoftwareIdBlocked = hash[:dcrDuplicateSoftwareIdBlocked]
928
933
  @openidDroppedOnRefreshWithoutOfflineAccess = hash[:openidDroppedOnRefreshWithoutOfflineAccess]
929
934
  @supportedDocumentsCheckMethods = hash[:supportedDocumentsCheckMethods]
935
+ @idTokenAudType = hash[:idTokenAudType]
930
936
 
931
937
  end
932
938
 
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Authlete
19
- VERSION = "1.30.0"
19
+ VERSION = "1.31.0"
20
20
  end
@@ -196,6 +196,7 @@ 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>'
199
200
 
200
201
  def generate_json
201
202
  return <<~JSON
@@ -351,7 +352,8 @@ class ServiceTest < Minitest::Test
351
352
  "federationConfigurationDuration": 100,
352
353
  "dcrDuplicateSoftwareIdBlocked": false,
353
354
  "openidDroppedOnRefreshWithoutOfflineAccess": false,
354
- "supportedDocumentsCheckMethods": ["supported","documents"]
355
+ "supportedDocumentsCheckMethods": ["supported","documents"],
356
+ "idTokenAudType": "<id-token-aud-type>"
355
357
  }
356
358
  JSON
357
359
 
@@ -511,7 +513,8 @@ class ServiceTest < Minitest::Test
511
513
  federationConfigurationDuration: 100,
512
514
  dcrDuplicateSoftwareIdBlocked: false,
513
515
  openidDroppedOnRefreshWithoutOfflineAccess: false,
514
- supportedDocumentsCheckMethods: ['supported', 'documents']
516
+ supportedDocumentsCheckMethods: ['supported', 'documents'],
517
+ idTokenAudType: '<id-token-aud-type>'
515
518
  }
516
519
  end
517
520
 
@@ -667,6 +670,7 @@ class ServiceTest < Minitest::Test
667
670
  obj.dcr_duplicate_software_id_blocked = DCR_DUPLICATE_SOFTWARE_ID_BLOCKED
668
671
  obj.openidDroppedOnRefreshWithoutOfflineAccess = OPENID_DROPPED_ON_REFRESH_WITHOUT_OFFLINE_ACCESS
669
672
  obj.supported_documents_check_methods = SUPPORTED_DOCUMENTS_CHECK_METHODS
673
+ obj.id_token_aud_type = ID_TOKEN_AUD_TYPE
670
674
  end
671
675
 
672
676
  def match(obj)
@@ -837,6 +841,7 @@ class ServiceTest < Minitest::Test
837
841
  assert_equal DCR_DUPLICATE_SOFTWARE_ID_BLOCKED, obj.dcrDuplicateSoftwareIdBlocked
838
842
  assert_equal OPENID_DROPPED_ON_REFRESH_WITHOUT_OFFLINE_ACCESS, obj.openidDroppedOnRefreshWithoutOfflineAccess
839
843
  assert_equal SUPPORTED_DOCUMENTS_CHECK_METHODS, obj.supported_documents_check_methods
844
+ assert_equal ID_TOKEN_AUD_TYPE, obj.id_token_aud_type
840
845
  end
841
846
 
842
847
 
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.31.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-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client