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 +4 -4
- data/lib/authlete/model/service.rb +5 -5
- data/lib/authlete/version.rb +1 -1
- data/test/authlete/model/test_service.rb +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10a130b0c41b85471359025c77abdab39a5256c6b187e49f9ee8c2d32a358659
|
4
|
+
data.tar.gz: 628dcd22d6383ea0434a428b0167454011b4762c9241ce03d8ae89d9206fc49d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 :
|
559
|
-
alias_method :
|
560
|
-
alias_method :
|
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
|
-
|
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
|
-
@
|
850
|
+
@supportedClientRegistrationTypes = hash[:supportedClientRegistrationTypes]
|
851
851
|
@trustAnchors = get_parsed_array(hash[:trustAnchors]) { |e| Authlete::Model::TrustAnchor.parse(e) }
|
852
852
|
|
853
853
|
end
|
data/lib/authlete/version.rb
CHANGED
@@ -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
|
-
|
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
|
-
"
|
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
|
-
|
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.
|
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
|
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.
|
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-
|
12
|
+
date: 2022-06-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|