authlete 1.12.0 → 1.13.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: bb4bdadefe54f6a79f7e2ac56347c7bd5fecfaf14c7146651102c0e3935c5569
4
- data.tar.gz: c2bc50e71cfbd4a8b660592312072fcf5dd5ed51022dfd47bcd7ea6508fe3d5d
3
+ metadata.gz: f93ac38d159d174c9c5890fad1876a7f9be16e45d6099b8fceb7ab865985ae61
4
+ data.tar.gz: 9e3be1264f912352835bb952e5090c816b8782ec63b902cdc45a0296ec110a54
5
5
  SHA512:
6
- metadata.gz: e9036c2ed22054fe9a066fc07ff03ff8d0c8df72279df272a5c68e56950430174a9d7ffacd608b7a1011badee4573a8c7349cf92a761874fdd3d4ef5337381fb
7
- data.tar.gz: 5754256d8e533a0fc52cf0a8e04f6794222b085b3eb717ef080f8e994a1c6651017d42f16115841c64cbfb5ddfcfbca2d73909663a30068b7b1eb8ca527f58e2
6
+ metadata.gz: 9ce90cccc1430702953b6074f6427ec3657e0e1c639bbf7f7e8665ccd09a8e47f2e9e59623e55c91cae4eb2da0f1183248ceccd9131e741befe2ab587fa9c626
7
+ data.tar.gz: 52c83f8e377fadb60ee74e3895e930d050361f2bb2f54dd3bec66b56b82f96f8a66192c9f79ba76d5d44823c4440c71d17ceb2230c0049cda435ce81b3b81119
@@ -482,6 +482,10 @@ module Authlete
482
482
  attr_accessor :dcrScopeUsedAsRequestable
483
483
  alias_method :dcr_scope_used_as_requestable, :dcrScopeUsedAsRequestable
484
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=
485
489
  private
486
490
 
487
491
  def defaults
@@ -604,7 +608,8 @@ module Authlete
604
608
  grantManagementEndpoint: nil,
605
609
  grantManagementActionRequired: false,
606
610
  unauthorizedOnClientConfigSupported: false,
607
- dcrScopeUsedAsRequestable: false
611
+ dcrScopeUsedAsRequestable: false,
612
+ predefinedTransformedClaims: nil
608
613
  }
609
614
  end
610
615
 
@@ -728,6 +733,7 @@ module Authlete
728
733
  @grantManagementActionRequired = hash[:grantManagementActionRequired]
729
734
  @unauthorizedOnClientConfigSupported = hash[:unauthorizedOnClientConfigSupported]
730
735
  @dcrScopeUsedAsRequestable = hash[:dcrScopeUsedAsRequestable]
736
+ @predefinedTransformedClaims = hash[:predefinedTransformedClaims]
731
737
  end
732
738
 
733
739
  def to_hash_value(key, var)
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Authlete
19
- VERSION = "1.12.0"
19
+ VERSION = "1.13.0"
20
20
  end
@@ -161,6 +161,7 @@ class ServiceTest < Minitest::Test
161
161
  GRANT_MANAGEMENT_ACTION_REQUIRED = false
162
162
  UNATHORIZED_ON_CLIENT_CONFIG_SUPPORTED = false
163
163
  DCR_SCOPE_USED_AS_REQUESTABLE = false
164
+ PREDEFINED_TRANSFORMED_CLAIMS = '<predefined_transformed_claims>'
164
165
 
165
166
  def generate_json
166
167
  return <<~JSON
@@ -283,7 +284,8 @@ class ServiceTest < Minitest::Test
283
284
  "grantManagementEndpoint": "<grant-management-endpoint>",
284
285
  "grantManagementActionRequired": false,
285
286
  "unauthorizedOnClientConfigSupported": false,
286
- "dcrScopeUsedAsRequestable": false
287
+ "dcrScopeUsedAsRequestable": false,
288
+ "predefinedTransformedClaims": "<predefined_transformed_claims>"
287
289
  }
288
290
  JSON
289
291
  end
@@ -409,7 +411,8 @@ class ServiceTest < Minitest::Test
409
411
  grantManagementEndpoint: '<grant-management-endpoint>',
410
412
  grantManagementActionRequired: false,
411
413
  unauthorizedOnClientConfigSupported: false,
412
- dcrScopeUsedAsRequestable: false
414
+ dcrScopeUsedAsRequestable: false,
415
+ predefinedTransformedClaims: '<predefined_transformed_claims>'
413
416
  }
414
417
  end
415
418
 
@@ -534,6 +537,7 @@ class ServiceTest < Minitest::Test
534
537
  obj.grant_management_action_required = GRANT_MANAGEMENT_ACTION_REQUIRED
535
538
  obj.unauthorized_on_client_config_supported = UNATHORIZED_ON_CLIENT_CONFIG_SUPPORTED
536
539
  obj.dcr_scope_used_as_requestable = DCR_SCOPE_USED_AS_REQUESTABLE
540
+ obj.predefined_transformed_claims = PREDEFINED_TRANSFORMED_CLAIMS
537
541
  end
538
542
 
539
543
 
@@ -671,6 +675,7 @@ class ServiceTest < Minitest::Test
671
675
  assert_equal GRANT_MANAGEMENT_ACTION_REQUIRED, obj.grantManagementActionRequired
672
676
  assert_equal UNATHORIZED_ON_CLIENT_CONFIG_SUPPORTED, obj.unauthorizedOnClientConfigSupported
673
677
  assert_equal DCR_SCOPE_USED_AS_REQUESTABLE, obj.dcrScopeUsedAsRequestable
678
+ assert_equal PREDEFINED_TRANSFORMED_CLAIMS, obj.predefined_transformed_claims
674
679
  end
675
680
 
676
681
 
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.12.0
4
+ version: 1.13.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-22 00:00:00.000000000 Z
12
+ date: 2021-11-26 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: