authlete 1.1.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/authlete/model/client.rb +18 -7
- data/lib/authlete/model/service.rb +36 -7
- data/lib/authlete/version.rb +1 -1
- data/test/authlete/model/test_client-extension.rb +0 -2
- data/test/authlete/model/test_client.rb +20 -7
- data/test/authlete/model/test_named-uri.rb +0 -2
- data/test/authlete/model/test_pair.rb +0 -2
- data/test/authlete/model/test_property.rb +0 -2
- data/test/authlete/model/test_scope.rb +1 -3
- data/test/authlete/model/test_service.rb +35 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b4318223c4e735d9cbb20176a5c25ebc2cc6fd1
|
4
|
+
data.tar.gz: 1790dcb25d2578bdbbf285c0b148ba7466406507
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b94c98082cd69cb784574864c1495752569d94b733fa25f937c9a89be66fff70889ec9a608fb51a3d499bfafadbffda7d5ac09c8154c66334f582fc63898de80
|
7
|
+
data.tar.gz: fc18bd54086e012d2a3e612070f507cb47fae1a1bacc745af8708c7c43ed973fa61e0178c77e6f80155906bc25cc8b89f80a95551fae399882a7df406e26f663
|
@@ -275,9 +275,9 @@ module Authlete
|
|
275
275
|
alias_method :registration_access_token_hash, :registrationAccessTokenHash
|
276
276
|
alias_method :registration_access_token_hash=, :registrationAccessTokenHash=
|
277
277
|
|
278
|
-
attr_accessor :
|
279
|
-
alias_method :
|
280
|
-
alias_method :
|
278
|
+
attr_accessor :authorizationDetailsTypes
|
279
|
+
alias_method :authorization_details_types, :authorizationDetailsTypes
|
280
|
+
alias_method :authorization_details_types=, :authorizationDetailsTypes=
|
281
281
|
|
282
282
|
attr_accessor :parRequired
|
283
283
|
alias_method :par_required, :parRequired
|
@@ -287,6 +287,12 @@ module Authlete
|
|
287
287
|
alias_method :request_object_required, :requestObjectRequired
|
288
288
|
alias_method :request_object_required=, :requestObjectRequired=
|
289
289
|
|
290
|
+
attr_accessor :attributes
|
291
|
+
|
292
|
+
attr_accessor :customMetadata
|
293
|
+
alias_method :custom_metadata, :customMetadata
|
294
|
+
alias_method :custom_metadata=, :customMetadata=
|
295
|
+
|
290
296
|
private
|
291
297
|
|
292
298
|
def defaults
|
@@ -358,9 +364,11 @@ module Authlete
|
|
358
364
|
bcUserCodeRequired: false,
|
359
365
|
dynamicallyRegistered: false,
|
360
366
|
registrationAccessTokenHash: nil,
|
361
|
-
|
367
|
+
authorizationDetailsTypes: nil,
|
362
368
|
parRequired: false,
|
363
|
-
requestObjectRequired: false
|
369
|
+
requestObjectRequired: false,
|
370
|
+
attributes: nil,
|
371
|
+
customMetadata: nil
|
364
372
|
}
|
365
373
|
end
|
366
374
|
|
@@ -432,16 +440,19 @@ module Authlete
|
|
432
440
|
@bcUserCodeRequired = hash[:bcUserCodeRequired]
|
433
441
|
@dynamicallyRegistered = hash[:dynamicallyRegistered]
|
434
442
|
@registrationAccessTokenHash = hash[:registrationAccessTokenHash]
|
435
|
-
@
|
443
|
+
@authorizationDetailsTypes = hash[:authorizationDetailsTypes]
|
436
444
|
@parRequired = hash[:parRequired]
|
437
445
|
@requestObjectRequired = hash[:requestObjectRequired]
|
446
|
+
@attributes = get_parsed_array(hash[:attributes]) { |e| Authlete::Model::Pair.parse(e) }
|
447
|
+
@customMetadata = hash[:customMetadata]
|
438
448
|
end
|
439
449
|
|
440
450
|
def to_hash_value(key, var)
|
441
451
|
raw_val = instance_variable_get(var)
|
442
452
|
|
443
453
|
case key
|
444
|
-
when :clientNames, :logoUris, :clientUris, :policyUris, :tosUris,
|
454
|
+
when :clientNames, :logoUris, :clientUris, :policyUris, :tosUris,
|
455
|
+
:descriptions, :attributes
|
445
456
|
raw_val&.map { |e| e.to_hash }
|
446
457
|
when :extension
|
447
458
|
raw_val&.to_hash
|
@@ -379,9 +379,9 @@ module Authlete
|
|
379
379
|
alias_method :mtls_endpoint_aliases, :mtlsEndpointAliases
|
380
380
|
alias_method :mtls_endpoint_aliases=, :mtlsEndpointAliases=
|
381
381
|
|
382
|
-
attr_accessor :
|
383
|
-
alias_method :
|
384
|
-
alias_method :
|
382
|
+
attr_accessor :supportedAuthorizationDetailsTypes
|
383
|
+
alias_method :supported_authorization_details_types, :supportedAuthorizationDetailsTypes
|
384
|
+
alias_method :supported_authorization_details_types=, :supportedAuthorizationDetailsTypes=
|
385
385
|
|
386
386
|
attr_accessor :supportedTrustFrameworks
|
387
387
|
alias_method :supported_trust_frameworks, :supportedTrustFrameworks
|
@@ -427,6 +427,24 @@ module Authlete
|
|
427
427
|
alias_method :scope_required, :scopeRequired
|
428
428
|
alias_method :scope_required=, :scopeRequired=
|
429
429
|
|
430
|
+
attr_accessor :nbfOptional
|
431
|
+
alias_method :nbf_optional, :nbfOptional
|
432
|
+
alias_method :nbf_optional=, :nbfOptional=
|
433
|
+
|
434
|
+
attr_accessor :issSuppressed
|
435
|
+
alias_method :iss_suppressed, :issSuppressed
|
436
|
+
alias_method :iss_suppressed=, :issSuppressed=
|
437
|
+
|
438
|
+
attr_accessor :attributes
|
439
|
+
|
440
|
+
attr_accessor :supportedCustomClientMetadata
|
441
|
+
alias_method :supported_custom_client_metadata, :supportedCustomClientMetadata
|
442
|
+
alias_method :supported_custom_client_metadata=, :supportedCustomClientMetadata=
|
443
|
+
|
444
|
+
attr_accessor :tokenExpirationLinked
|
445
|
+
alias_method :token_expiration_linked, :tokenExpirationLinked
|
446
|
+
alias_method :token_expiration_linked=, :tokenExpirationLinked=
|
447
|
+
|
430
448
|
private
|
431
449
|
|
432
450
|
def defaults
|
@@ -523,7 +541,7 @@ module Authlete
|
|
523
541
|
userCodeLength: 0,
|
524
542
|
pushedAuthReqEndpoint: nil,
|
525
543
|
mtlsEndpointAliases: nil,
|
526
|
-
|
544
|
+
supportedAuthorizationDetailsTypes: nil,
|
527
545
|
supportedTrustFrameworks: nil,
|
528
546
|
supportedEvidence: nil,
|
529
547
|
supportedIdentityDocuments: nil,
|
@@ -534,7 +552,12 @@ module Authlete
|
|
534
552
|
requestObjectRequired: false,
|
535
553
|
traditionalRequestObjectProcessingApplied: false,
|
536
554
|
claimShortcutRestrictive: false,
|
537
|
-
scopeRequired: false
|
555
|
+
scopeRequired: false,
|
556
|
+
nbfOptional: false,
|
557
|
+
issSuppressed: false,
|
558
|
+
attributes: nil,
|
559
|
+
supportedCustomClientMetadata: nil,
|
560
|
+
tokenExpirationLinked: false
|
538
561
|
}
|
539
562
|
end
|
540
563
|
|
@@ -631,7 +654,7 @@ module Authlete
|
|
631
654
|
@userCodeLength = hash[:userCodeLength]
|
632
655
|
@pushedAuthReqEndpoint = hash[:pushedAuthReqEndpoint]
|
633
656
|
@mtlsEndpointAliases = get_parsed_array(hash[:mtlsEndpointAliases]) { |e| Authlete::Model::NamedUri.parse(e) }
|
634
|
-
@
|
657
|
+
@supportedAuthorizationDetailsTypes = hash[:supportedAuthorizationDetailsTypes]
|
635
658
|
@supportedTrustFrameworks = hash[:supportedTrustFrameworks]
|
636
659
|
@supportedEvidence = hash[:supportedEvidence]
|
637
660
|
@supportedIdentityDocuments = hash[:supportedIdentityDocuments]
|
@@ -643,13 +666,19 @@ module Authlete
|
|
643
666
|
@traditionalRequestObjectProcessingApplied = hash[:traditionalRequestObjectProcessingApplied]
|
644
667
|
@claimShortcutRestrictive = hash[:claimShortcutRestrictive]
|
645
668
|
@scopeRequired = hash[:scopeRequired]
|
669
|
+
@nbfOptional = hash[:nbfOptional]
|
670
|
+
@issSuppressed = hash[:issSuppressed]
|
671
|
+
@attributes = get_parsed_array(hash[:attributes]) { |e| Authlete::Model::Pair.parse(e) }
|
672
|
+
@supportedCustomClientMetadata = hash[:supportedCustomClientMetadata]
|
673
|
+
@tokenExpirationLinked = hash[:tokenExpirationLinked]
|
646
674
|
end
|
647
675
|
|
648
676
|
def to_hash_value(key, var)
|
649
677
|
raw_val = instance_variable_get(var)
|
650
678
|
|
651
679
|
case key
|
652
|
-
when :snsCredentials, :developerSnsCredentials, :supportedScopes,
|
680
|
+
when :snsCredentials, :developerSnsCredentials, :supportedScopes,
|
681
|
+
:metadata, :mtlsEndpointAliases, :attributes
|
653
682
|
raw_val&.map { |e| e.to_hash }
|
654
683
|
else
|
655
684
|
raw_val
|
data/lib/authlete/version.rb
CHANGED
@@ -109,9 +109,13 @@ class ClientTest < Minitest::Test
|
|
109
109
|
BC_USER_CODE_REQUIRED = true
|
110
110
|
DYNAMICALLY_REGISTERED = false
|
111
111
|
REGISTRATION_ACCESS_TOKEN_HASH = '<registration-access-token-hash>'
|
112
|
-
|
112
|
+
AUTHORIZATION_DETAILS_TYPES = [ '<authorization-details-type0>', '<authorization-details-type1>' ]
|
113
113
|
PAR_REQUIRED = false
|
114
114
|
REQUEST_OBJECT_REQUIRED = true
|
115
|
+
ATTRIBUTE_KEY = '<attribute0-key>'
|
116
|
+
ATTRIBUTE_VALUE = '<attribute0-value>'
|
117
|
+
ATTRIBUTES = [ Authlete::Model::Pair.new(key: ATTRIBUTE_KEY, value: ATTRIBUTE_VALUE) ]
|
118
|
+
CUSTOM_METADATA = '<custom-metadata>'
|
115
119
|
|
116
120
|
|
117
121
|
def generate_json
|
@@ -189,9 +193,11 @@ class ClientTest < Minitest::Test
|
|
189
193
|
"bcUserCodeRequired": true,
|
190
194
|
"dynamicallyRegistered": false,
|
191
195
|
"registrationAccessTokenHash": "<registration-access-token-hash>",
|
192
|
-
"
|
196
|
+
"authorizationDetailsTypes": [ "<authorization-details-type0>", "<authorization-details-type1>" ],
|
193
197
|
"parRequired": false,
|
194
|
-
"requestObjectRequired": true
|
198
|
+
"requestObjectRequired": true,
|
199
|
+
"attributes": [{ "key": "<attribute0-key>", "value": "<attribute0-value>" }],
|
200
|
+
"customMetadata": "<custom-metadata>"
|
195
201
|
}
|
196
202
|
JSON
|
197
203
|
end
|
@@ -271,9 +277,11 @@ class ClientTest < Minitest::Test
|
|
271
277
|
bcUserCodeRequired: true,
|
272
278
|
dynamicallyRegistered: false,
|
273
279
|
registrationAccessTokenHash: '<registration-access-token-hash>',
|
274
|
-
|
280
|
+
authorizationDetailsTypes: [ '<authorization-details-type0>', '<authorization-details-type1>' ],
|
275
281
|
parRequired: false,
|
276
|
-
requestObjectRequired: true
|
282
|
+
requestObjectRequired: true,
|
283
|
+
attributes: [{ key: '<attribute0-key>', value: '<attribute0-value>' }],
|
284
|
+
customMetadata: '<custom-metadata>'
|
277
285
|
}
|
278
286
|
end
|
279
287
|
|
@@ -346,9 +354,11 @@ class ClientTest < Minitest::Test
|
|
346
354
|
obj.bc_user_code_required = BC_USER_CODE_REQUIRED
|
347
355
|
obj.dynamically_registered = DYNAMICALLY_REGISTERED
|
348
356
|
obj.registration_access_token_hash = REGISTRATION_ACCESS_TOKEN_HASH
|
349
|
-
obj.
|
357
|
+
obj.authorization_details_types = AUTHORIZATION_DETAILS_TYPES
|
350
358
|
obj.par_required = PAR_REQUIRED
|
351
359
|
obj.request_object_required = REQUEST_OBJECT_REQUIRED
|
360
|
+
obj.attributes = ATTRIBUTES
|
361
|
+
obj.custom_metadata = CUSTOM_METADATA
|
352
362
|
end
|
353
363
|
|
354
364
|
|
@@ -427,9 +437,12 @@ class ClientTest < Minitest::Test
|
|
427
437
|
assert_equal BC_USER_CODE_REQUIRED, obj.bcUserCodeRequired
|
428
438
|
assert_equal DYNAMICALLY_REGISTERED, obj.dynamicallyRegistered
|
429
439
|
assert_equal REGISTRATION_ACCESS_TOKEN_HASH, obj.registrationAccessTokenHash
|
430
|
-
assert_equal
|
440
|
+
assert_equal AUTHORIZATION_DETAILS_TYPES, obj.authorizationDetailsTypes
|
431
441
|
assert_equal PAR_REQUIRED, obj.parRequired
|
432
442
|
assert_equal REQUEST_OBJECT_REQUIRED, obj.requestObjectRequired
|
443
|
+
assert_equal ATTRIBUTE_KEY, obj.attributes[0].key
|
444
|
+
assert_equal ATTRIBUTE_VALUE, obj.attributes[0].value
|
445
|
+
assert_equal CUSTOM_METADATA, obj.customMetadata
|
433
446
|
end
|
434
447
|
|
435
448
|
|
@@ -62,8 +62,6 @@ class ScopeTest < Minitest::Test
|
|
62
62
|
obj.description = DESCRIPTION
|
63
63
|
obj.descriptions = DESCRIPTIONS
|
64
64
|
obj.attributes = ATTRIBUTES
|
65
|
-
|
66
|
-
obj
|
67
65
|
end
|
68
66
|
|
69
67
|
|
@@ -97,7 +95,7 @@ class ScopeTest < Minitest::Test
|
|
97
95
|
|
98
96
|
def test_to_hash
|
99
97
|
obj = Authlete::Model::Scope.new
|
100
|
-
|
98
|
+
set_params(obj)
|
101
99
|
actual = obj.to_hash
|
102
100
|
expected = generate_hash
|
103
101
|
|
@@ -125,7 +125,7 @@ class ServiceTest < Minitest::Test
|
|
125
125
|
MTLS_ENDPOINT_ALIAS_NAME = '<mtls-endpoint-alias0-name>'
|
126
126
|
MTLS_ENDPOINT_ALIAS_URI = '<mtls-endpoint-alias0-uri>'
|
127
127
|
MTLS_ENDPOINT_ALIASES = [ Authlete::Model::NamedUri.new(name: MTLS_ENDPOINT_ALIAS_NAME, uri: MTLS_ENDPOINT_ALIAS_URI) ]
|
128
|
-
|
128
|
+
SUPPORTED_AUTHORIZATION_DETAILS_TYPES = [ '<supported-authorization-details-type0>', '<supported-authorization-details-type1>' ]
|
129
129
|
SUPPORTED_TRUST_FRAMEWORKS = [ '<supported-trust-framework0>', '<supported-trust-framework1>' ]
|
130
130
|
SUPPORTED_EVIDENCE = [ '<supported-evidence0>', '<supported-evidence1>' ]
|
131
131
|
SUPPORTED_IDENTITY_DOCUMENTS = [ '<supported-identity-document0>', '<supported-identity-document1>' ]
|
@@ -137,6 +137,13 @@ class ServiceTest < Minitest::Test
|
|
137
137
|
TRADITIONAL_REQUEST_OBJECT_PROCESSING_APPLIED = false
|
138
138
|
CLAIM_SHORTCUT_RESTRICTIVE = false
|
139
139
|
SCOPE_REQUIRED = true
|
140
|
+
NBF_OPTIONAL = true
|
141
|
+
ISS_SUPPRESSED = false
|
142
|
+
ATTRIBUTE_KEY = '<attribute0-key>'
|
143
|
+
ATTRIBUTE_VALUE = '<attribute0-value>'
|
144
|
+
ATTRIBUTES = [ Authlete::Model::Pair.new(key: ATTRIBUTE_KEY, value: ATTRIBUTE_VALUE) ]
|
145
|
+
SUPPORTED_CUSTOM_CLIENT_METADATA = [ '<supported-custom-client-metadata0>', '<supported-custom-client-metadata1>' ]
|
146
|
+
TOKEN_EXPIRATION_LINKED = false
|
140
147
|
|
141
148
|
|
142
149
|
def generate_json
|
@@ -234,7 +241,7 @@ class ServiceTest < Minitest::Test
|
|
234
241
|
"userCodeLength": 100,
|
235
242
|
"pushedAuthReqEndpoint": "<pushed-auth-req-endpoint>",
|
236
243
|
"mtlsEndpointAliases": [ { "name": "<mtls-endpoint-alias0-name>", "uri": "<mtls-endpoint-alias0-uri>" } ],
|
237
|
-
"
|
244
|
+
"supportedAuthorizationDetailsTypes": [ "<supported-authorization-details-type0>", "<supported-authorization-details-type1>" ],
|
238
245
|
"supportedTrustFrameworks": [ "<supported-trust-framework0>", "<supported-trust-framework1>" ],
|
239
246
|
"supportedEvidence": [ "<supported-evidence0>", "<supported-evidence1>" ],
|
240
247
|
"supportedIdentityDocuments": [ "<supported-identity-document0>", "<supported-identity-document1>" ],
|
@@ -245,7 +252,12 @@ class ServiceTest < Minitest::Test
|
|
245
252
|
"requestObjectRequired": true,
|
246
253
|
"traditionalRequestObjectProcessingApplied": false,
|
247
254
|
"claimShortcutRestrictive": false,
|
248
|
-
"scopeRequired": true
|
255
|
+
"scopeRequired": true,
|
256
|
+
"nbfOptional": true,
|
257
|
+
"issSuppressed": false,
|
258
|
+
"attributes": [{ "key": "<attribute0-key>", "value": "<attribute0-value>" }],
|
259
|
+
"supportedCustomClientMetadata": [ "<supported-custom-client-metadata0>", "<supported-custom-client-metadata1>" ],
|
260
|
+
"tokenExpirationLinked": false
|
249
261
|
}
|
250
262
|
JSON
|
251
263
|
end
|
@@ -345,7 +357,7 @@ class ServiceTest < Minitest::Test
|
|
345
357
|
userCodeLength: 100,
|
346
358
|
pushedAuthReqEndpoint: '<pushed-auth-req-endpoint>',
|
347
359
|
mtlsEndpointAliases: [ { name: '<mtls-endpoint-alias0-name>', uri: '<mtls-endpoint-alias0-uri>' } ],
|
348
|
-
|
360
|
+
supportedAuthorizationDetailsTypes: [ '<supported-authorization-details-type0>', '<supported-authorization-details-type1>' ],
|
349
361
|
supportedTrustFrameworks: [ '<supported-trust-framework0>', '<supported-trust-framework1>' ],
|
350
362
|
supportedEvidence: [ '<supported-evidence0>', '<supported-evidence1>' ],
|
351
363
|
supportedIdentityDocuments: [ '<supported-identity-document0>', '<supported-identity-document1>' ],
|
@@ -356,7 +368,12 @@ class ServiceTest < Minitest::Test
|
|
356
368
|
requestObjectRequired: true,
|
357
369
|
traditionalRequestObjectProcessingApplied: false,
|
358
370
|
claimShortcutRestrictive: false,
|
359
|
-
scopeRequired: true
|
371
|
+
scopeRequired: true,
|
372
|
+
nbfOptional: true,
|
373
|
+
issSuppressed: false,
|
374
|
+
attributes: [{ key: '<attribute0-key>', value: '<attribute0-value>' }],
|
375
|
+
supportedCustomClientMetadata: [ '<supported-custom-client-metadata0>', '<supported-custom-client-metadata1>' ],
|
376
|
+
tokenExpirationLinked: false
|
360
377
|
}
|
361
378
|
end
|
362
379
|
|
@@ -454,7 +471,7 @@ class ServiceTest < Minitest::Test
|
|
454
471
|
obj.user_code_length = USER_CODE_LENGTH
|
455
472
|
obj.pushed_auth_req_endpoint = PUSHED_AUTH_REQ_ENDPOINT
|
456
473
|
obj.mtls_endpoint_aliases = MTLS_ENDPOINT_ALIASES
|
457
|
-
obj.
|
474
|
+
obj.supported_authorization_details_types = SUPPORTED_AUTHORIZATION_DETAILS_TYPES
|
458
475
|
obj.supported_trust_frameworks = SUPPORTED_TRUST_FRAMEWORKS
|
459
476
|
obj.supported_evidence = SUPPORTED_EVIDENCE
|
460
477
|
obj.supported_identity_documents = SUPPORTED_IDENTITY_DOCUMENTS
|
@@ -466,8 +483,11 @@ class ServiceTest < Minitest::Test
|
|
466
483
|
obj.traditional_request_object_processing_applied = TRADITIONAL_REQUEST_OBJECT_PROCESSING_APPLIED
|
467
484
|
obj.claim_shortcut_restrictive = CLAIM_SHORTCUT_RESTRICTIVE
|
468
485
|
obj.scope_required = SCOPE_REQUIRED
|
469
|
-
|
470
|
-
obj
|
486
|
+
obj.nbf_optional = NBF_OPTIONAL
|
487
|
+
obj.iss_suppressed = ISS_SUPPRESSED
|
488
|
+
obj.attributes = ATTRIBUTES
|
489
|
+
obj.supported_custom_client_metadata = SUPPORTED_CUSTOM_CLIENT_METADATA
|
490
|
+
obj.token_expiration_linked = TOKEN_EXPIRATION_LINKED
|
471
491
|
end
|
472
492
|
|
473
493
|
|
@@ -571,7 +591,7 @@ class ServiceTest < Minitest::Test
|
|
571
591
|
assert_equal PUSHED_AUTH_REQ_ENDPOINT, obj.pushedAuthReqEndpoint
|
572
592
|
assert_equal MTLS_ENDPOINT_ALIAS_NAME, obj.mtlsEndpointAliases[0].name
|
573
593
|
assert_equal MTLS_ENDPOINT_ALIAS_URI, obj.mtlsEndpointAliases[0].uri
|
574
|
-
assert_equal
|
594
|
+
assert_equal SUPPORTED_AUTHORIZATION_DETAILS_TYPES, obj.supportedAuthorizationDetailsTypes
|
575
595
|
assert_equal SUPPORTED_TRUST_FRAMEWORKS, obj.supportedTrustFrameworks
|
576
596
|
assert_equal SUPPORTED_EVIDENCE, obj.supportedEvidence
|
577
597
|
assert_equal SUPPORTED_IDENTITY_DOCUMENTS, obj.supportedIdentityDocuments
|
@@ -583,6 +603,12 @@ class ServiceTest < Minitest::Test
|
|
583
603
|
assert_equal TRADITIONAL_REQUEST_OBJECT_PROCESSING_APPLIED, obj.traditionalRequestObjectProcessingApplied
|
584
604
|
assert_equal CLAIM_SHORTCUT_RESTRICTIVE, obj.claimShortcutRestrictive
|
585
605
|
assert_equal SCOPE_REQUIRED, obj.scopeRequired
|
606
|
+
assert_equal NBF_OPTIONAL, obj.nbfOptional
|
607
|
+
assert_equal ISS_SUPPRESSED, obj.issSuppressed
|
608
|
+
assert_equal ATTRIBUTE_KEY, obj.attributes[0].key
|
609
|
+
assert_equal ATTRIBUTE_VALUE, obj.attributes[0].value
|
610
|
+
assert_equal SUPPORTED_CUSTOM_CLIENT_METADATA, obj.supportedCustomClientMetadata
|
611
|
+
assert_equal TOKEN_EXPIRATION_LINKED, obj.tokenExpirationLinked
|
586
612
|
end
|
587
613
|
|
588
614
|
|
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.6.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:
|
12
|
+
date: 2021-06-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|