authlete 1.11.0 → 1.12.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: 577aec2ce8765b18c221169cbee8c7daa6b6c4e48bfffc665cbb819325373318
4
- data.tar.gz: d01b7ababf92b96a193d59a28bae1a8d98a5170e01f047288ab766ce8909388e
3
+ metadata.gz: bb4bdadefe54f6a79f7e2ac56347c7bd5fecfaf14c7146651102c0e3935c5569
4
+ data.tar.gz: c2bc50e71cfbd4a8b660592312072fcf5dd5ed51022dfd47bcd7ea6508fe3d5d
5
5
  SHA512:
6
- metadata.gz: fc4b13c802eefd16f51b5dd5af62bde5671fd8e49509ea0755641106847041d85675ec13290c40f1ab15d160829ec467b72beebfe3cabe598c07cf653a8e109b
7
- data.tar.gz: e02ac5ffa5c47d88d7bc3b5ab6368696268a122a9ca1ab828f89b1d8f6efcee10a66690452e37eb35ddb2c780cc56ca09658a473624a22f4e4fe95ae50d0bfe3
6
+ metadata.gz: e9036c2ed22054fe9a066fc07ff03ff8d0c8df72279df272a5c68e56950430174a9d7ffacd608b7a1011badee4573a8c7349cf92a761874fdd3d4ef5337381fb
7
+ data.tar.gz: 5754256d8e533a0fc52cf0a8e04f6794222b085b3eb717ef080f8e994a1c6651017d42f16115841c64cbfb5ddfcfbca2d73909663a30068b7b1eb8ca527f58e2
@@ -478,6 +478,10 @@ module Authlete
478
478
  attr_accessor :unauthorizedOnClientConfigSupported
479
479
  alias_method :unauthorized_on_client_config_supported, :unauthorizedOnClientConfigSupported
480
480
  alias_method :unauthorized_on_client_config_supported=, :unauthorizedOnClientConfigSupported=
481
+
482
+ attr_accessor :dcrScopeUsedAsRequestable
483
+ alias_method :dcr_scope_used_as_requestable, :dcrScopeUsedAsRequestable
484
+ alias_method :dcr_scope_used_as_requestable=, :dcrScopeUsedAsRequestable=
481
485
  private
482
486
 
483
487
  def defaults
@@ -599,7 +603,8 @@ module Authlete
599
603
  refreshTokenDurationReset: false,
600
604
  grantManagementEndpoint: nil,
601
605
  grantManagementActionRequired: false,
602
- unauthorizedOnClientConfigSupported: false
606
+ unauthorizedOnClientConfigSupported: false,
607
+ dcrScopeUsedAsRequestable: false
603
608
  }
604
609
  end
605
610
 
@@ -722,6 +727,7 @@ module Authlete
722
727
  @grantManagementEndpoint = hash[:grantManagementEndpoint]
723
728
  @grantManagementActionRequired = hash[:grantManagementActionRequired]
724
729
  @unauthorizedOnClientConfigSupported = hash[:unauthorizedOnClientConfigSupported]
730
+ @dcrScopeUsedAsRequestable = hash[:dcrScopeUsedAsRequestable]
725
731
  end
726
732
 
727
733
  def to_hash_value(key, var)
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Authlete
19
- VERSION = "1.11.0"
19
+ VERSION = "1.12.0"
20
20
  end
@@ -160,6 +160,7 @@ class ServiceTest < Minitest::Test
160
160
  GRANT_MANAGEMENT_ENDPOINT = '<grant-management-endpoint>'
161
161
  GRANT_MANAGEMENT_ACTION_REQUIRED = false
162
162
  UNATHORIZED_ON_CLIENT_CONFIG_SUPPORTED = false
163
+ DCR_SCOPE_USED_AS_REQUESTABLE = false
163
164
 
164
165
  def generate_json
165
166
  return <<~JSON
@@ -281,7 +282,8 @@ class ServiceTest < Minitest::Test
281
282
  "refreshTokenDurationReset": false,
282
283
  "grantManagementEndpoint": "<grant-management-endpoint>",
283
284
  "grantManagementActionRequired": false,
284
- "unauthorizedOnClientConfigSupported": false
285
+ "unauthorizedOnClientConfigSupported": false,
286
+ "dcrScopeUsedAsRequestable": false
285
287
  }
286
288
  JSON
287
289
  end
@@ -406,7 +408,8 @@ class ServiceTest < Minitest::Test
406
408
  refreshTokenDurationReset: false,
407
409
  grantManagementEndpoint: '<grant-management-endpoint>',
408
410
  grantManagementActionRequired: false,
409
- unauthorizedOnClientConfigSupported: false
411
+ unauthorizedOnClientConfigSupported: false,
412
+ dcrScopeUsedAsRequestable: false
410
413
  }
411
414
  end
412
415
 
@@ -530,6 +533,7 @@ class ServiceTest < Minitest::Test
530
533
  obj.grant_management_endpoint = GRANT_MANAGEMENT_ENDPOINT
531
534
  obj.grant_management_action_required = GRANT_MANAGEMENT_ACTION_REQUIRED
532
535
  obj.unauthorized_on_client_config_supported = UNATHORIZED_ON_CLIENT_CONFIG_SUPPORTED
536
+ obj.dcr_scope_used_as_requestable = DCR_SCOPE_USED_AS_REQUESTABLE
533
537
  end
534
538
 
535
539
 
@@ -666,6 +670,7 @@ class ServiceTest < Minitest::Test
666
670
  assert_equal GRANT_MANAGEMENT_ENDPOINT, obj.grantManagementEndpoint
667
671
  assert_equal GRANT_MANAGEMENT_ACTION_REQUIRED, obj.grantManagementActionRequired
668
672
  assert_equal UNATHORIZED_ON_CLIENT_CONFIG_SUPPORTED, obj.unauthorizedOnClientConfigSupported
673
+ assert_equal DCR_SCOPE_USED_AS_REQUESTABLE, obj.dcrScopeUsedAsRequestable
669
674
  end
670
675
 
671
676
 
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.11.0
4
+ version: 1.12.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-20 00:00:00.000000000 Z
12
+ date: 2021-10-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client