authlete 1.10.0 → 1.11.0
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 +6 -0
- data/lib/authlete/version.rb +1 -1
- data/test/authlete/model/test_service.rb +6 -1
- 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: 577aec2ce8765b18c221169cbee8c7daa6b6c4e48bfffc665cbb819325373318
|
4
|
+
data.tar.gz: d01b7ababf92b96a193d59a28bae1a8d98a5170e01f047288ab766ce8909388e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc4b13c802eefd16f51b5dd5af62bde5671fd8e49509ea0755641106847041d85675ec13290c40f1ab15d160829ec467b72beebfe3cabe598c07cf653a8e109b
|
7
|
+
data.tar.gz: e02ac5ffa5c47d88d7bc3b5ab6368696268a122a9ca1ab828f89b1d8f6efcee10a66690452e37eb35ddb2c780cc56ca09658a473624a22f4e4fe95ae50d0bfe3
|
@@ -474,6 +474,10 @@ module Authlete
|
|
474
474
|
attr_accessor :grantManagementActionRequired
|
475
475
|
alias_method :grant_management_action_required, :grantManagementActionRequired
|
476
476
|
alias_method :grant_management_action_required=, :grantManagementActionRequired=
|
477
|
+
|
478
|
+
attr_accessor :unauthorizedOnClientConfigSupported
|
479
|
+
alias_method :unauthorized_on_client_config_supported, :unauthorizedOnClientConfigSupported
|
480
|
+
alias_method :unauthorized_on_client_config_supported=, :unauthorizedOnClientConfigSupported=
|
477
481
|
private
|
478
482
|
|
479
483
|
def defaults
|
@@ -595,6 +599,7 @@ module Authlete
|
|
595
599
|
refreshTokenDurationReset: false,
|
596
600
|
grantManagementEndpoint: nil,
|
597
601
|
grantManagementActionRequired: false,
|
602
|
+
unauthorizedOnClientConfigSupported: false
|
598
603
|
}
|
599
604
|
end
|
600
605
|
|
@@ -716,6 +721,7 @@ module Authlete
|
|
716
721
|
@refreshTokenDurationReset = hash[:refreshTokenDurationReset]
|
717
722
|
@grantManagementEndpoint = hash[:grantManagementEndpoint]
|
718
723
|
@grantManagementActionRequired = hash[:grantManagementActionRequired]
|
724
|
+
@unauthorizedOnClientConfigSupported = hash[:unauthorizedOnClientConfigSupported]
|
719
725
|
end
|
720
726
|
|
721
727
|
def to_hash_value(key, var)
|
data/lib/authlete/version.rb
CHANGED
@@ -159,6 +159,7 @@ class ServiceTest < Minitest::Test
|
|
159
159
|
REFRESH_TOKEN_DURATION_RESET = false
|
160
160
|
GRANT_MANAGEMENT_ENDPOINT = '<grant-management-endpoint>'
|
161
161
|
GRANT_MANAGEMENT_ACTION_REQUIRED = false
|
162
|
+
UNATHORIZED_ON_CLIENT_CONFIG_SUPPORTED = false
|
162
163
|
|
163
164
|
def generate_json
|
164
165
|
return <<~JSON
|
@@ -279,7 +280,8 @@ class ServiceTest < Minitest::Test
|
|
279
280
|
"requestObjectEncryptionEncMatchRequired": false,
|
280
281
|
"refreshTokenDurationReset": false,
|
281
282
|
"grantManagementEndpoint": "<grant-management-endpoint>",
|
282
|
-
"grantManagementActionRequired": false
|
283
|
+
"grantManagementActionRequired": false,
|
284
|
+
"unauthorizedOnClientConfigSupported": false
|
283
285
|
}
|
284
286
|
JSON
|
285
287
|
end
|
@@ -404,6 +406,7 @@ class ServiceTest < Minitest::Test
|
|
404
406
|
refreshTokenDurationReset: false,
|
405
407
|
grantManagementEndpoint: '<grant-management-endpoint>',
|
406
408
|
grantManagementActionRequired: false,
|
409
|
+
unauthorizedOnClientConfigSupported: false
|
407
410
|
}
|
408
411
|
end
|
409
412
|
|
@@ -526,6 +529,7 @@ class ServiceTest < Minitest::Test
|
|
526
529
|
obj.refresh_token_duration_reset = REFRESH_TOKEN_DURATION_RESET
|
527
530
|
obj.grant_management_endpoint = GRANT_MANAGEMENT_ENDPOINT
|
528
531
|
obj.grant_management_action_required = GRANT_MANAGEMENT_ACTION_REQUIRED
|
532
|
+
obj.unauthorized_on_client_config_supported = UNATHORIZED_ON_CLIENT_CONFIG_SUPPORTED
|
529
533
|
end
|
530
534
|
|
531
535
|
|
@@ -661,6 +665,7 @@ class ServiceTest < Minitest::Test
|
|
661
665
|
assert_equal REFRESH_TOKEN_DURATION_RESET, obj.refreshTokenDurationReset
|
662
666
|
assert_equal GRANT_MANAGEMENT_ENDPOINT, obj.grantManagementEndpoint
|
663
667
|
assert_equal GRANT_MANAGEMENT_ACTION_REQUIRED, obj.grantManagementActionRequired
|
668
|
+
assert_equal UNATHORIZED_ON_CLIENT_CONFIG_SUPPORTED, obj.unauthorizedOnClientConfigSupported
|
664
669
|
end
|
665
670
|
|
666
671
|
|
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.
|
4
|
+
version: 1.11.0
|
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: 2021-10-
|
12
|
+
date: 2021-10-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|