authlete 1.13.0 → 1.14.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 +8 -2
- data/lib/authlete/version.rb +1 -1
- data/test/authlete/model/test_service.rb +7 -2
- 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: ce2f1f344d0987a705ba78661b2635ab9f4bd213c1a6911b92ada1e041653933
|
4
|
+
data.tar.gz: d7c4ff1de00e61c1235dfdd313b940f4899c0f6d858e18991cbe85f299c097a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e15c0295b3b49e482d7a516d7f71ab9962fbf1af62d9a656c0019afeae8db71cc8c718aaac2e8d52a82f4fd8744454ccf9b83d5b109220eb238fb9ad24e5f1be
|
7
|
+
data.tar.gz: 209f5288986b70fb731a7818c39ee69876536a4cd6110c1b50c565dc9cdd46dbc17195ce785d27a3e16f4ec67eabceea2d2dd97edbee4495551be1db73a1fbb1
|
@@ -484,8 +484,12 @@ module Authlete
|
|
484
484
|
alias_method :dcr_scope_used_as_requestable=, :dcrScopeUsedAsRequestable=
|
485
485
|
|
486
486
|
attr_accessor :predefinedTransformedClaims
|
487
|
-
alias_method :predefined_transformed_claims,
|
487
|
+
alias_method :predefined_transformed_claims, :predefinedTransformedClaims
|
488
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=
|
489
493
|
private
|
490
494
|
|
491
495
|
def defaults
|
@@ -609,7 +613,8 @@ module Authlete
|
|
609
613
|
grantManagementActionRequired: false,
|
610
614
|
unauthorizedOnClientConfigSupported: false,
|
611
615
|
dcrScopeUsedAsRequestable: false,
|
612
|
-
predefinedTransformedClaims: nil
|
616
|
+
predefinedTransformedClaims: nil,
|
617
|
+
loopbackRedirectionUriVariable: false
|
613
618
|
}
|
614
619
|
end
|
615
620
|
|
@@ -734,6 +739,7 @@ module Authlete
|
|
734
739
|
@unauthorizedOnClientConfigSupported = hash[:unauthorizedOnClientConfigSupported]
|
735
740
|
@dcrScopeUsedAsRequestable = hash[:dcrScopeUsedAsRequestable]
|
736
741
|
@predefinedTransformedClaims = hash[:predefinedTransformedClaims]
|
742
|
+
@loopbackRedirectionUriVariable = hash[:loopbackRedirectionUriVariable]
|
737
743
|
end
|
738
744
|
|
739
745
|
def to_hash_value(key, var)
|
data/lib/authlete/version.rb
CHANGED
@@ -162,6 +162,7 @@ class ServiceTest < Minitest::Test
|
|
162
162
|
UNATHORIZED_ON_CLIENT_CONFIG_SUPPORTED = false
|
163
163
|
DCR_SCOPE_USED_AS_REQUESTABLE = false
|
164
164
|
PREDEFINED_TRANSFORMED_CLAIMS = '<predefined_transformed_claims>'
|
165
|
+
LOOPBACK_REDIRECTION_URI_VARIABLE = false
|
165
166
|
|
166
167
|
def generate_json
|
167
168
|
return <<~JSON
|
@@ -285,7 +286,8 @@ class ServiceTest < Minitest::Test
|
|
285
286
|
"grantManagementActionRequired": false,
|
286
287
|
"unauthorizedOnClientConfigSupported": false,
|
287
288
|
"dcrScopeUsedAsRequestable": false,
|
288
|
-
"predefinedTransformedClaims": "<predefined_transformed_claims>"
|
289
|
+
"predefinedTransformedClaims": "<predefined_transformed_claims>",
|
290
|
+
"loopbackRedirectionUriVariable": false
|
289
291
|
}
|
290
292
|
JSON
|
291
293
|
end
|
@@ -412,7 +414,8 @@ class ServiceTest < Minitest::Test
|
|
412
414
|
grantManagementActionRequired: false,
|
413
415
|
unauthorizedOnClientConfigSupported: false,
|
414
416
|
dcrScopeUsedAsRequestable: false,
|
415
|
-
predefinedTransformedClaims: '<predefined_transformed_claims>'
|
417
|
+
predefinedTransformedClaims: '<predefined_transformed_claims>',
|
418
|
+
loopbackRedirectionUriVariable: false
|
416
419
|
}
|
417
420
|
end
|
418
421
|
|
@@ -538,6 +541,7 @@ class ServiceTest < Minitest::Test
|
|
538
541
|
obj.unauthorized_on_client_config_supported = UNATHORIZED_ON_CLIENT_CONFIG_SUPPORTED
|
539
542
|
obj.dcr_scope_used_as_requestable = DCR_SCOPE_USED_AS_REQUESTABLE
|
540
543
|
obj.predefined_transformed_claims = PREDEFINED_TRANSFORMED_CLAIMS
|
544
|
+
obj.loopback_redirection_uri_variable = LOOPBACK_REDIRECTION_URI_VARIABLE
|
541
545
|
end
|
542
546
|
|
543
547
|
|
@@ -676,6 +680,7 @@ class ServiceTest < Minitest::Test
|
|
676
680
|
assert_equal UNATHORIZED_ON_CLIENT_CONFIG_SUPPORTED, obj.unauthorizedOnClientConfigSupported
|
677
681
|
assert_equal DCR_SCOPE_USED_AS_REQUESTABLE, obj.dcrScopeUsedAsRequestable
|
678
682
|
assert_equal PREDEFINED_TRANSFORMED_CLAIMS, obj.predefined_transformed_claims
|
683
|
+
assert_equal LOOPBACK_REDIRECTION_URI_VARIABLE, obj.loopback_redirection_uri_variable
|
679
684
|
end
|
680
685
|
|
681
686
|
|
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.14.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-
|
12
|
+
date: 2021-12-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|