authlete 1.10.0 → 1.14.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: f49201aa56f63fd8b3061917ba4f6bb5b9d4ff12dff4651ef1f124076ae41a9c
4
- data.tar.gz: b05fafd6b3b9c50274b7571a92824d200eb255330eacadefdee4089a18327c16
3
+ metadata.gz: ce2f1f344d0987a705ba78661b2635ab9f4bd213c1a6911b92ada1e041653933
4
+ data.tar.gz: d7c4ff1de00e61c1235dfdd313b940f4899c0f6d858e18991cbe85f299c097a3
5
5
  SHA512:
6
- metadata.gz: 580c8997cc0d8cfad9925f5adcb27b8d22a520d5e10956cce6bb2bfa7ec574d2c4d1fecfc88a112aa4bf93f77cb2fc63a28ca742ad472919ae7627049b727ab6
7
- data.tar.gz: 3ef6fc77cb49700340a1b9ed7b5bb112ea578d0b28f6d8fe491a9dc5059845d73abee73fb7ff1a7a4344f9c09647b6a7d82c46b888314af8814b6bce592fc7b6
6
+ metadata.gz: e15c0295b3b49e482d7a516d7f71ab9962fbf1af62d9a656c0019afeae8db71cc8c718aaac2e8d52a82f4fd8744454ccf9b83d5b109220eb238fb9ad24e5f1be
7
+ data.tar.gz: 209f5288986b70fb731a7818c39ee69876536a4cd6110c1b50c565dc9cdd46dbc17195ce785d27a3e16f4ec67eabceea2d2dd97edbee4495551be1db73a1fbb1
@@ -474,6 +474,22 @@ 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=
481
+
482
+ attr_accessor :dcrScopeUsedAsRequestable
483
+ alias_method :dcr_scope_used_as_requestable, :dcrScopeUsedAsRequestable
484
+ alias_method :dcr_scope_used_as_requestable=, :dcrScopeUsedAsRequestable=
485
+
486
+ attr_accessor :predefinedTransformedClaims
487
+ alias_method :predefined_transformed_claims, :predefinedTransformedClaims
488
+ alias_method :predefined_transformed_claims=, :predefinedTransformedClaims=
489
+
490
+ attr_accessor :loopbackRedirectionUriVariable
491
+ alias_method :loopback_redirection_uri_variable, :loopbackRedirectionUriVariable
492
+ alias_method :loopback_redirection_uri_variable=, :loopbackRedirectionUriVariable=
477
493
  private
478
494
 
479
495
  def defaults
@@ -595,6 +611,10 @@ module Authlete
595
611
  refreshTokenDurationReset: false,
596
612
  grantManagementEndpoint: nil,
597
613
  grantManagementActionRequired: false,
614
+ unauthorizedOnClientConfigSupported: false,
615
+ dcrScopeUsedAsRequestable: false,
616
+ predefinedTransformedClaims: nil,
617
+ loopbackRedirectionUriVariable: false
598
618
  }
599
619
  end
600
620
 
@@ -716,6 +736,10 @@ module Authlete
716
736
  @refreshTokenDurationReset = hash[:refreshTokenDurationReset]
717
737
  @grantManagementEndpoint = hash[:grantManagementEndpoint]
718
738
  @grantManagementActionRequired = hash[:grantManagementActionRequired]
739
+ @unauthorizedOnClientConfigSupported = hash[:unauthorizedOnClientConfigSupported]
740
+ @dcrScopeUsedAsRequestable = hash[:dcrScopeUsedAsRequestable]
741
+ @predefinedTransformedClaims = hash[:predefinedTransformedClaims]
742
+ @loopbackRedirectionUriVariable = hash[:loopbackRedirectionUriVariable]
719
743
  end
720
744
 
721
745
  def to_hash_value(key, var)
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Authlete
19
- VERSION = "1.10.0"
19
+ VERSION = "1.14.0"
20
20
  end
@@ -159,6 +159,10 @@ 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
163
+ DCR_SCOPE_USED_AS_REQUESTABLE = false
164
+ PREDEFINED_TRANSFORMED_CLAIMS = '<predefined_transformed_claims>'
165
+ LOOPBACK_REDIRECTION_URI_VARIABLE = false
162
166
 
163
167
  def generate_json
164
168
  return <<~JSON
@@ -279,7 +283,11 @@ class ServiceTest < Minitest::Test
279
283
  "requestObjectEncryptionEncMatchRequired": false,
280
284
  "refreshTokenDurationReset": false,
281
285
  "grantManagementEndpoint": "<grant-management-endpoint>",
282
- "grantManagementActionRequired": false
286
+ "grantManagementActionRequired": false,
287
+ "unauthorizedOnClientConfigSupported": false,
288
+ "dcrScopeUsedAsRequestable": false,
289
+ "predefinedTransformedClaims": "<predefined_transformed_claims>",
290
+ "loopbackRedirectionUriVariable": false
283
291
  }
284
292
  JSON
285
293
  end
@@ -404,6 +412,10 @@ class ServiceTest < Minitest::Test
404
412
  refreshTokenDurationReset: false,
405
413
  grantManagementEndpoint: '<grant-management-endpoint>',
406
414
  grantManagementActionRequired: false,
415
+ unauthorizedOnClientConfigSupported: false,
416
+ dcrScopeUsedAsRequestable: false,
417
+ predefinedTransformedClaims: '<predefined_transformed_claims>',
418
+ loopbackRedirectionUriVariable: false
407
419
  }
408
420
  end
409
421
 
@@ -526,6 +538,10 @@ class ServiceTest < Minitest::Test
526
538
  obj.refresh_token_duration_reset = REFRESH_TOKEN_DURATION_RESET
527
539
  obj.grant_management_endpoint = GRANT_MANAGEMENT_ENDPOINT
528
540
  obj.grant_management_action_required = GRANT_MANAGEMENT_ACTION_REQUIRED
541
+ obj.unauthorized_on_client_config_supported = UNATHORIZED_ON_CLIENT_CONFIG_SUPPORTED
542
+ obj.dcr_scope_used_as_requestable = DCR_SCOPE_USED_AS_REQUESTABLE
543
+ obj.predefined_transformed_claims = PREDEFINED_TRANSFORMED_CLAIMS
544
+ obj.loopback_redirection_uri_variable = LOOPBACK_REDIRECTION_URI_VARIABLE
529
545
  end
530
546
 
531
547
 
@@ -661,6 +677,10 @@ class ServiceTest < Minitest::Test
661
677
  assert_equal REFRESH_TOKEN_DURATION_RESET, obj.refreshTokenDurationReset
662
678
  assert_equal GRANT_MANAGEMENT_ENDPOINT, obj.grantManagementEndpoint
663
679
  assert_equal GRANT_MANAGEMENT_ACTION_REQUIRED, obj.grantManagementActionRequired
680
+ assert_equal UNATHORIZED_ON_CLIENT_CONFIG_SUPPORTED, obj.unauthorizedOnClientConfigSupported
681
+ assert_equal DCR_SCOPE_USED_AS_REQUESTABLE, obj.dcrScopeUsedAsRequestable
682
+ assert_equal PREDEFINED_TRANSFORMED_CLAIMS, obj.predefined_transformed_claims
683
+ assert_equal LOOPBACK_REDIRECTION_URI_VARIABLE, obj.loopback_redirection_uri_variable
664
684
  end
665
685
 
666
686
 
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authlete
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiko Kawasaki
8
8
  - Hideki Ikeda
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-10-15 00:00:00.000000000 Z
12
+ date: 2021-12-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -223,7 +223,7 @@ homepage: https://www.authlete.com/
223
223
  licenses:
224
224
  - Apache License, Version 2.0
225
225
  metadata: {}
226
- post_install_message:
226
+ post_install_message:
227
227
  rdoc_options: []
228
228
  require_paths:
229
229
  - lib
@@ -238,8 +238,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
238
238
  - !ruby/object:Gem::Version
239
239
  version: '0'
240
240
  requirements: []
241
- rubygems_version: 3.2.15
242
- signing_key:
241
+ rubygems_version: 3.0.3.1
242
+ signing_key:
243
243
  specification_version: 4
244
244
  summary: A library for Authlete Web APIs
245
245
  test_files: