authlete 1.19.0 → 1.19.1

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: e3ad118de0c0ce4b479b48a45943c2a4569ddeed53d039439e0994835ef3bf30
4
- data.tar.gz: 9377805d49c43b0983c52bb2bc3f7cf4680b970f08312f8c549eae2149653393
3
+ metadata.gz: 10a130b0c41b85471359025c77abdab39a5256c6b187e49f9ee8c2d32a358659
4
+ data.tar.gz: 628dcd22d6383ea0434a428b0167454011b4762c9241ce03d8ae89d9206fc49d
5
5
  SHA512:
6
- metadata.gz: e766a877635b6623018a4320ec8d4e8b7bd6e12fb5b8839311169e2cfdc564d704a1c75413e2f67dc4a42e6da6098b67cb93affe39aa7db2e7c470aedee74d25
7
- data.tar.gz: 5df307a8254999036ae0954c0a1f4d655bf64a99bbdffc2e7094b61481d780da00e87b74005f00b77f0e733de2ed102280957c3a40530e6c3596b84373e9a759
6
+ metadata.gz: b8969642543bc8465eb5e4d6ad101c3035bd4983d6a6c6c8eb805a2744364a448450eab82ad53aa592616f5c2b3f36a321d22c66b30de3add84a6f3eb39659bf
7
+ data.tar.gz: c1fea81a6cd0ff775840842da6cd0446ba128eb0491965cbf812eba3e4b0ec592a5759b8df0166b3844d7626cfe36885ad1c4acdff200131bebd3b5181e5d164
@@ -555,9 +555,9 @@ module Authlete
555
555
  alias_method :federation_registration_endpoint, :federationRegistrationEndpoint
556
556
  alias_method :federation_registration_endpoint=, :federationRegistrationEndpoint=
557
557
 
558
- attr_accessor :clientRegistrationTypes
559
- alias_method :client_registration_types, :clientRegistrationTypes
560
- alias_method :client_registration_types=, :clientRegistrationTypes=
558
+ attr_accessor :supportedClientRegistrationTypes
559
+ alias_method :supported_client_registration_types, :supportedClientRegistrationTypes
560
+ alias_method :supported_client_registration_types=, :supportedClientRegistrationTypes=
561
561
 
562
562
  attr_accessor :trustAnchors
563
563
  alias_method :trust_anchors, :trustAnchors
@@ -704,7 +704,7 @@ module Authlete
704
704
  federationJwks: nil,
705
705
  signedJwksUri: nil,
706
706
  federationRegistrationEndpoint: nil,
707
- clientRegistrationTypes: nil,
707
+ supportedClientRegistrationTypes: nil,
708
708
  trustAnchors: nil,
709
709
  }
710
710
  end
@@ -847,7 +847,7 @@ module Authlete
847
847
  @federationJwks = hash[:federationJwks]
848
848
  @signedJwksUri = hash[:signedJwksUri]
849
849
  @federationRegistrationEndpoint = hash[:federationRegistrationEndpoint]
850
- @clientRegistrationTypes = hash[:clientRegistrationTypes]
850
+ @supportedClientRegistrationTypes = hash[:supportedClientRegistrationTypes]
851
851
  @trustAnchors = get_parsed_array(hash[:trustAnchors]) { |e| Authlete::Model::TrustAnchor.parse(e) }
852
852
 
853
853
  end
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Authlete
19
- VERSION = "1.19.0"
19
+ VERSION = "1.19.1"
20
20
  end
@@ -179,7 +179,7 @@ class ServiceTest < Minitest::Test
179
179
  FEDERATION_JWKS = '<federation-jwks>'
180
180
  SIGNED_JWKS_URI = '<signed-jwks-uri>'
181
181
  FEDERATION_REGISTRATION_ENDPOINT = '<federation-registration-endpoint>'
182
- CLIENT_REGISTRATION_TYPES = [ 'AUTOMATIC', 'EXPLICIT']
182
+ SUPPORTED_CLIENT_REGISTRATION_TYPES = [ 'AUTOMATIC', 'EXPLICIT']
183
183
  TRUST_ANCHOR_ENTITY_ID = '<entity-id>'
184
184
  TRUST_ANCHOR_JWKS = '<jwks>'
185
185
  TRUST_ANCHORS = [ Authlete::Model::TrustAnchor.new(entityId: TRUST_ANCHOR_ENTITY_ID, jwks: TRUST_ANCHOR_JWKS) ]
@@ -325,7 +325,7 @@ class ServiceTest < Minitest::Test
325
325
  "federationJwks": "<federation-jwks>",
326
326
  "signedJwksUri": "<signed-jwks-uri>",
327
327
  "federationRegistrationEndpoint": "<federation-registration-endpoint>",
328
- "clientRegistrationTypes": [ "AUTOMATIC", "EXPLICIT"],
328
+ "supportedClientRegistrationTypes": [ "AUTOMATIC", "EXPLICIT"],
329
329
  "trustAnchors": [{ "entityId": "<entity-id>", "jwks": "<jwks>" }]
330
330
  }
331
331
  JSON
@@ -472,7 +472,7 @@ class ServiceTest < Minitest::Test
472
472
  federationJwks: '<federation-jwks>',
473
473
  signedJwksUri: '<signed-jwks-uri>',
474
474
  federationRegistrationEndpoint: '<federation-registration-endpoint>',
475
- clientRegistrationTypes: [ 'AUTOMATIC', 'EXPLICIT'],
475
+ supportedClientRegistrationTypes: [ 'AUTOMATIC', 'EXPLICIT'],
476
476
  trustAnchors: [{ entityId: "<entity-id>", jwks: "<jwks>" }],
477
477
  }
478
478
  end
@@ -616,7 +616,7 @@ class ServiceTest < Minitest::Test
616
616
  obj.federation_jwks = FEDERATION_JWKS
617
617
  obj.signed_jwks_uri = SIGNED_JWKS_URI
618
618
  obj.federation_registration_endpoint = FEDERATION_REGISTRATION_ENDPOINT
619
- obj.client_registration_types = CLIENT_REGISTRATION_TYPES
619
+ obj.supported_client_registration_types = SUPPORTED_CLIENT_REGISTRATION_TYPES
620
620
  obj.trust_anchors = TRUST_ANCHORS
621
621
  end
622
622
 
@@ -773,7 +773,7 @@ class ServiceTest < Minitest::Test
773
773
  assert_equal FEDERATION_JWKS, obj.federation_jwks
774
774
  assert_equal SIGNED_JWKS_URI, obj.signed_jwks_uri
775
775
  assert_equal FEDERATION_REGISTRATION_ENDPOINT, obj.federation_registration_endpoint
776
- assert_equal CLIENT_REGISTRATION_TYPES, obj.client_registration_types
776
+ assert_equal SUPPORTED_CLIENT_REGISTRATION_TYPES, obj.supported_client_registration_types
777
777
  assert_equal TRUST_ANCHOR_ENTITY_ID, obj.trustAnchors[0].entityId
778
778
  assert_equal TRUST_ANCHOR_JWKS, obj.trustAnchors[0].jwks
779
779
  end
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.19.0
4
+ version: 1.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiko Kawasaki
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-06-17 00:00:00.000000000 Z
12
+ date: 2022-06-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client