authlete 1.3.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/authlete.rb +1 -0
- data/lib/authlete/model/client.rb +169 -145
- data/lib/authlete/model/hsk.rb +67 -0
- data/lib/authlete/model/service.rb +258 -218
- data/lib/authlete/version.rb +1 -1
- data/test/authlete/model/test_client.rb +416 -396
- data/test/authlete/model/test_hsk.rb +108 -0
- data/test/authlete/model/test_service.rb +499 -451
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 164290174c960b47c0108dbde641e0c01e37f38b2bdbafa9f36fcbb68f5dd053
|
4
|
+
data.tar.gz: 625eba82bcdee17d39a2635199e6228e6e9a001729fdf64a1343c486ecd23998
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a5224c845954deb1f327f7c726c5c61368800563225abe58190208bbd18a158764d656dff2576816faf1ef13772153004beb77dbd7555b9a587c6ddeb2df74a
|
7
|
+
data.tar.gz: 6a51b9016c348e583f1d5b43285c021aea1e60d6d3371a059d997f12e731cedc70dca2d5bdf883657c815d609fd3ea5ed293ddecbafb67f20a39d9dfb04ccd4b
|
data/lib/authlete.rb
CHANGED
@@ -39,6 +39,7 @@ module Authlete
|
|
39
39
|
autoload :SnsCredentials, 'authlete/model/sns-credentials'
|
40
40
|
autoload :TaggedValue, 'authlete/model/tagged-value'
|
41
41
|
autoload :NamedUri, 'authlete/model/named-uri'
|
42
|
+
autoload :Hsk, 'authlete/model/hsk'
|
42
43
|
|
43
44
|
module Request
|
44
45
|
autoload :AuthenticationCallbackRequest, 'authlete/model/request/authentication-callback-request'
|
@@ -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
|
@@ -289,156 +289,180 @@ module Authlete
|
|
289
289
|
|
290
290
|
attr_accessor :attributes
|
291
291
|
|
292
|
+
attr_accessor :customMetadata
|
293
|
+
alias_method :custom_metadata, :customMetadata
|
294
|
+
alias_method :custom_metadata=, :customMetadata=
|
295
|
+
|
296
|
+
attr_accessor :frontChannelRequestObjectEncryptionRequired
|
297
|
+
alias_method :front_channel_request_object_encryption_required, :frontChannelRequestObjectEncryptionRequired
|
298
|
+
alias_method :front_channel_request_object_encryption_required=, :frontChannelRequestObjectEncryptionRequired=
|
299
|
+
|
300
|
+
attr_accessor :requestObjectEncryptionAlgMatchRequired
|
301
|
+
alias_method :request_object_encryption_alg_match_required, :requestObjectEncryptionAlgMatchRequired
|
302
|
+
alias_method :request_object_encryption_alg_match_required=, :requestObjectEncryptionAlgMatchRequired=
|
303
|
+
|
304
|
+
attr_accessor :requestObjectEncryptionEncMatchRequired
|
305
|
+
alias_method :request_object_encryption_enc_match_required, :requestObjectEncryptionEncMatchRequired
|
306
|
+
alias_method :request_object_encryption_enc_match_required=, :requestObjectEncryptionEncMatchRequired=
|
307
|
+
|
292
308
|
private
|
293
309
|
|
294
310
|
def defaults
|
295
311
|
{
|
296
|
-
number:
|
297
|
-
serviceNumber:
|
298
|
-
developer:
|
299
|
-
clientId:
|
300
|
-
clientIdAlias:
|
301
|
-
clientIdAliasEnabled:
|
302
|
-
clientSecret:
|
303
|
-
clientType:
|
304
|
-
redirectUris:
|
305
|
-
responseTypes:
|
306
|
-
grantTypes:
|
307
|
-
applicationType:
|
308
|
-
contacts:
|
309
|
-
clientName:
|
310
|
-
clientNames:
|
311
|
-
logoUri:
|
312
|
-
logoUris:
|
313
|
-
clientUri:
|
314
|
-
clientUris:
|
315
|
-
policyUri:
|
316
|
-
policyUris:
|
317
|
-
tosUri:
|
318
|
-
tosUris:
|
319
|
-
jwksUri:
|
320
|
-
jwks:
|
321
|
-
derivedSectorIdentifier:
|
322
|
-
sectorIdentifierUri:
|
323
|
-
subjectType:
|
324
|
-
idTokenSignAlg:
|
325
|
-
idTokenEncryptionAlg:
|
326
|
-
idTokenEncryptionEnc:
|
327
|
-
userInfoSignAlg:
|
328
|
-
userInfoEncryptionAlg:
|
329
|
-
userInfoEncryptionEnc:
|
330
|
-
requestSignAlg:
|
331
|
-
requestEncryptionAlg:
|
332
|
-
requestEncryptionEnc:
|
333
|
-
tokenAuthMethod:
|
334
|
-
tokenAuthSignAlg:
|
335
|
-
defaultMaxAge:
|
336
|
-
defaultAcrs:
|
337
|
-
authTimeRequired:
|
338
|
-
loginUri:
|
339
|
-
requestUris:
|
340
|
-
description:
|
341
|
-
descriptions:
|
342
|
-
createdAt:
|
343
|
-
modifiedAt:
|
344
|
-
extension:
|
345
|
-
tlsClientAuthSubjectDn:
|
346
|
-
tlsClientAuthSanDns:
|
347
|
-
tlsClientAuthSanUri:
|
348
|
-
tlsClientAuthSanIp:
|
349
|
-
tlsClientAuthSanEmail:
|
350
|
-
tlsClientCertificateBoundAccessTokens:
|
351
|
-
selfSignedCertificateKeyId:
|
352
|
-
softwareId:
|
353
|
-
softwareVersion:
|
354
|
-
authorizationSignAlg:
|
355
|
-
authorizationEncryptionAlg:
|
356
|
-
authorizationEncryptionEnc:
|
357
|
-
bcDeliveryMode:
|
358
|
-
bcNotificationEndpoint:
|
359
|
-
bcRequestSignAlg:
|
360
|
-
bcUserCodeRequired:
|
361
|
-
dynamicallyRegistered:
|
362
|
-
registrationAccessTokenHash:
|
363
|
-
|
364
|
-
parRequired:
|
365
|
-
requestObjectRequired:
|
366
|
-
attributes:
|
312
|
+
number: 0,
|
313
|
+
serviceNumber: 0,
|
314
|
+
developer: nil,
|
315
|
+
clientId: 0,
|
316
|
+
clientIdAlias: nil,
|
317
|
+
clientIdAliasEnabled: false,
|
318
|
+
clientSecret: nil,
|
319
|
+
clientType: nil,
|
320
|
+
redirectUris: nil,
|
321
|
+
responseTypes: nil,
|
322
|
+
grantTypes: nil,
|
323
|
+
applicationType: nil,
|
324
|
+
contacts: nil,
|
325
|
+
clientName: nil,
|
326
|
+
clientNames: nil,
|
327
|
+
logoUri: nil,
|
328
|
+
logoUris: nil,
|
329
|
+
clientUri: nil,
|
330
|
+
clientUris: nil,
|
331
|
+
policyUri: nil,
|
332
|
+
policyUris: nil,
|
333
|
+
tosUri: nil,
|
334
|
+
tosUris: nil,
|
335
|
+
jwksUri: nil,
|
336
|
+
jwks: nil,
|
337
|
+
derivedSectorIdentifier: nil,
|
338
|
+
sectorIdentifierUri: nil,
|
339
|
+
subjectType: nil,
|
340
|
+
idTokenSignAlg: nil,
|
341
|
+
idTokenEncryptionAlg: nil,
|
342
|
+
idTokenEncryptionEnc: nil,
|
343
|
+
userInfoSignAlg: nil,
|
344
|
+
userInfoEncryptionAlg: nil,
|
345
|
+
userInfoEncryptionEnc: nil,
|
346
|
+
requestSignAlg: nil,
|
347
|
+
requestEncryptionAlg: nil,
|
348
|
+
requestEncryptionEnc: nil,
|
349
|
+
tokenAuthMethod: nil,
|
350
|
+
tokenAuthSignAlg: nil,
|
351
|
+
defaultMaxAge: 0,
|
352
|
+
defaultAcrs: nil,
|
353
|
+
authTimeRequired: false,
|
354
|
+
loginUri: nil,
|
355
|
+
requestUris: nil,
|
356
|
+
description: nil,
|
357
|
+
descriptions: nil,
|
358
|
+
createdAt: 0,
|
359
|
+
modifiedAt: 0,
|
360
|
+
extension: nil,
|
361
|
+
tlsClientAuthSubjectDn: nil,
|
362
|
+
tlsClientAuthSanDns: nil,
|
363
|
+
tlsClientAuthSanUri: nil,
|
364
|
+
tlsClientAuthSanIp: nil,
|
365
|
+
tlsClientAuthSanEmail: nil,
|
366
|
+
tlsClientCertificateBoundAccessTokens: false,
|
367
|
+
selfSignedCertificateKeyId: nil,
|
368
|
+
softwareId: nil,
|
369
|
+
softwareVersion: nil,
|
370
|
+
authorizationSignAlg: nil,
|
371
|
+
authorizationEncryptionAlg: nil,
|
372
|
+
authorizationEncryptionEnc: nil,
|
373
|
+
bcDeliveryMode: nil,
|
374
|
+
bcNotificationEndpoint: nil,
|
375
|
+
bcRequestSignAlg: nil,
|
376
|
+
bcUserCodeRequired: false,
|
377
|
+
dynamicallyRegistered: false,
|
378
|
+
registrationAccessTokenHash: nil,
|
379
|
+
authorizationDetailsTypes: nil,
|
380
|
+
parRequired: false,
|
381
|
+
requestObjectRequired: false,
|
382
|
+
attributes: nil,
|
383
|
+
customMetadata: nil,
|
384
|
+
frontChannelRequestObjectEncryptionRequired: false,
|
385
|
+
requestObjectEncryptionAlgMatchRequired: false,
|
386
|
+
requestObjectEncryptionEncMatchRequired: false
|
367
387
|
}
|
368
388
|
end
|
369
389
|
|
370
390
|
def set_params(hash)
|
371
|
-
@number
|
372
|
-
@serviceNumber
|
373
|
-
@developer
|
374
|
-
@clientId
|
375
|
-
@clientIdAlias
|
376
|
-
@clientIdAliasEnabled
|
377
|
-
@clientSecret
|
378
|
-
@clientType
|
379
|
-
@redirectUris
|
380
|
-
@responseTypes
|
381
|
-
@grantTypes
|
382
|
-
@applicationType
|
383
|
-
@contacts
|
384
|
-
@clientName
|
385
|
-
@clientNames
|
386
|
-
@logoUri
|
387
|
-
@logoUris
|
388
|
-
@clientUri
|
389
|
-
@clientUris
|
390
|
-
@policyUri
|
391
|
-
@policyUris
|
392
|
-
@tosUri
|
393
|
-
@tosUris
|
394
|
-
@jwksUri
|
395
|
-
@jwks
|
396
|
-
@derivedSectorIdentifier
|
397
|
-
@sectorIdentifierUri
|
398
|
-
@subjectType
|
399
|
-
@idTokenSignAlg
|
400
|
-
@idTokenEncryptionAlg
|
401
|
-
@idTokenEncryptionEnc
|
402
|
-
@userInfoSignAlg
|
403
|
-
@userInfoEncryptionAlg
|
404
|
-
@userInfoEncryptionEnc
|
405
|
-
@requestSignAlg
|
406
|
-
@requestEncryptionAlg
|
407
|
-
@requestEncryptionEnc
|
408
|
-
@tokenAuthMethod
|
409
|
-
@tokenAuthSignAlg
|
410
|
-
@defaultMaxAge
|
411
|
-
@defaultAcrs
|
412
|
-
@authTimeRequired
|
413
|
-
@loginUri
|
414
|
-
@requestUris
|
415
|
-
@description
|
416
|
-
@descriptions
|
417
|
-
@createdAt
|
418
|
-
@modifiedAt
|
419
|
-
@extension
|
420
|
-
@tlsClientAuthSubjectDn
|
421
|
-
@tlsClientAuthSanDns
|
422
|
-
@tlsClientAuthSanUri
|
423
|
-
@tlsClientAuthSanIp
|
424
|
-
@tlsClientAuthSanEmail
|
425
|
-
@tlsClientCertificateBoundAccessTokens
|
426
|
-
@selfSignedCertificateKeyId
|
427
|
-
@softwareId
|
428
|
-
@softwareVersion
|
429
|
-
@authorizationSignAlg
|
430
|
-
@authorizationEncryptionAlg
|
431
|
-
@authorizationEncryptionEnc
|
432
|
-
@bcDeliveryMode
|
433
|
-
@bcNotificationEndpoint
|
434
|
-
@bcRequestSignAlg
|
435
|
-
@bcUserCodeRequired
|
436
|
-
@dynamicallyRegistered
|
437
|
-
@registrationAccessTokenHash
|
438
|
-
@
|
439
|
-
@parRequired
|
440
|
-
@requestObjectRequired
|
441
|
-
@attributes
|
391
|
+
@number = hash[:number]
|
392
|
+
@serviceNumber = hash[:serviceNumber]
|
393
|
+
@developer = hash[:developer]
|
394
|
+
@clientId = hash[:clientId]
|
395
|
+
@clientIdAlias = hash[:clientIdAlias]
|
396
|
+
@clientIdAliasEnabled = hash[:clientIdAliasEnabled]
|
397
|
+
@clientSecret = hash[:clientSecret]
|
398
|
+
@clientType = hash[:clientType]
|
399
|
+
@redirectUris = hash[:redirectUris]
|
400
|
+
@responseTypes = hash[:responseTypes]
|
401
|
+
@grantTypes = hash[:grantTypes]
|
402
|
+
@applicationType = hash[:applicationType]
|
403
|
+
@contacts = hash[:contacts]
|
404
|
+
@clientName = hash[:clientName]
|
405
|
+
@clientNames = get_parsed_array(hash[:clientNames]) { |e| Authlete::Model::TaggedValue.parse(e) }
|
406
|
+
@logoUri = hash[:logoUri]
|
407
|
+
@logoUris = get_parsed_array(hash[:logoUris]) { |e| Authlete::Model::TaggedValue.parse(e) }
|
408
|
+
@clientUri = hash[:clientUri]
|
409
|
+
@clientUris = get_parsed_array(hash[:clientUris]) { |e| Authlete::Model::TaggedValue.parse(e) }
|
410
|
+
@policyUri = hash[:policyUri]
|
411
|
+
@policyUris = get_parsed_array(hash[:policyUris]) { |e| Authlete::Model::TaggedValue.parse(e) }
|
412
|
+
@tosUri = hash[:tosUri]
|
413
|
+
@tosUris = get_parsed_array(hash[:tosUris]) { |e| Authlete::Model::TaggedValue.parse(e) }
|
414
|
+
@jwksUri = hash[:jwksUri]
|
415
|
+
@jwks = hash[:jwks]
|
416
|
+
@derivedSectorIdentifier = hash[:derivedSectorIdentifier]
|
417
|
+
@sectorIdentifierUri = hash[:sectorIdentifierUri]
|
418
|
+
@subjectType = hash[:subjectType]
|
419
|
+
@idTokenSignAlg = hash[:idTokenSignAlg]
|
420
|
+
@idTokenEncryptionAlg = hash[:idTokenEncryptionAlg]
|
421
|
+
@idTokenEncryptionEnc = hash[:idTokenEncryptionEnc]
|
422
|
+
@userInfoSignAlg = hash[:userInfoSignAlg]
|
423
|
+
@userInfoEncryptionAlg = hash[:userInfoEncryptionAlg]
|
424
|
+
@userInfoEncryptionEnc = hash[:userInfoEncryptionEnc]
|
425
|
+
@requestSignAlg = hash[:requestSignAlg]
|
426
|
+
@requestEncryptionAlg = hash[:requestEncryptionAlg]
|
427
|
+
@requestEncryptionEnc = hash[:requestEncryptionEnc]
|
428
|
+
@tokenAuthMethod = hash[:tokenAuthMethod]
|
429
|
+
@tokenAuthSignAlg = hash[:tokenAuthSignAlg]
|
430
|
+
@defaultMaxAge = hash[:defaultMaxAge]
|
431
|
+
@defaultAcrs = hash[:defaultAcrs]
|
432
|
+
@authTimeRequired = hash[:authTimeRequired]
|
433
|
+
@loginUri = hash[:loginUri]
|
434
|
+
@requestUris = hash[:requestUris]
|
435
|
+
@description = hash[:description]
|
436
|
+
@descriptions = get_parsed_array(hash[:descriptions]) { |e| Authlete::Model::TaggedValue.parse(e) }
|
437
|
+
@createdAt = hash[:createdAt]
|
438
|
+
@modifiedAt = hash[:modifiedAt]
|
439
|
+
@extension = Authlete::Model::ClientExtension.parse(hash[:extension])
|
440
|
+
@tlsClientAuthSubjectDn = hash[:tlsClientAuthSubjectDn]
|
441
|
+
@tlsClientAuthSanDns = hash[:tlsClientAuthSanDns]
|
442
|
+
@tlsClientAuthSanUri = hash[:tlsClientAuthSanUri]
|
443
|
+
@tlsClientAuthSanIp = hash[:tlsClientAuthSanIp]
|
444
|
+
@tlsClientAuthSanEmail = hash[:tlsClientAuthSanEmail]
|
445
|
+
@tlsClientCertificateBoundAccessTokens = hash[:tlsClientCertificateBoundAccessTokens]
|
446
|
+
@selfSignedCertificateKeyId = hash[:selfSignedCertificateKeyId]
|
447
|
+
@softwareId = hash[:softwareId]
|
448
|
+
@softwareVersion = hash[:softwareVersion]
|
449
|
+
@authorizationSignAlg = hash[:authorizationSignAlg]
|
450
|
+
@authorizationEncryptionAlg = hash[:authorizationEncryptionAlg]
|
451
|
+
@authorizationEncryptionEnc = hash[:authorizationEncryptionEnc]
|
452
|
+
@bcDeliveryMode = hash[:bcDeliveryMode]
|
453
|
+
@bcNotificationEndpoint = hash[:bcNotificationEndpoint]
|
454
|
+
@bcRequestSignAlg = hash[:bcRequestSignAlg]
|
455
|
+
@bcUserCodeRequired = hash[:bcUserCodeRequired]
|
456
|
+
@dynamicallyRegistered = hash[:dynamicallyRegistered]
|
457
|
+
@registrationAccessTokenHash = hash[:registrationAccessTokenHash]
|
458
|
+
@authorizationDetailsTypes = hash[:authorizationDetailsTypes]
|
459
|
+
@parRequired = hash[:parRequired]
|
460
|
+
@requestObjectRequired = hash[:requestObjectRequired]
|
461
|
+
@attributes = get_parsed_array(hash[:attributes]) { |e| Authlete::Model::Pair.parse(e) }
|
462
|
+
@customMetadata = hash[:customMetadata]
|
463
|
+
@frontChannelRequestObjectEncryptionRequired = hash[:frontChannelRequestObjectEncryptionRequired]
|
464
|
+
@requestObjectEncryptionAlgMatchRequired = hash[:requestObjectEncryptionAlgMatchRequired]
|
465
|
+
@requestObjectEncryptionEncMatchRequired = hash[:requestObjectEncryptionEncMatchRequired]
|
442
466
|
end
|
443
467
|
|
444
468
|
def to_hash_value(key, var)
|
@@ -0,0 +1,67 @@
|
|
1
|
+
# :nodoc:
|
2
|
+
#
|
3
|
+
# Copyright (C) 2014-2021 Authlete, Inc.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
|
18
|
+
module Authlete
|
19
|
+
module Model
|
20
|
+
class Hsk < Authlete::Model::Base
|
21
|
+
include Authlete::Model::Hashable
|
22
|
+
include Authlete::Utility
|
23
|
+
|
24
|
+
attr_accessor :kty
|
25
|
+
|
26
|
+
attr_accessor :use
|
27
|
+
|
28
|
+
attr_accessor :alg
|
29
|
+
|
30
|
+
attr_accessor :kid
|
31
|
+
|
32
|
+
attr_accessor :hsmName
|
33
|
+
alias_method :hsm_name, :hsmName
|
34
|
+
alias_method :hsm_name=, :hsmName=
|
35
|
+
|
36
|
+
attr_accessor :handle
|
37
|
+
|
38
|
+
attr_accessor :publicKey
|
39
|
+
alias_method :public_key, :publicKey
|
40
|
+
alias_method :public_key=, :publicKey=
|
41
|
+
|
42
|
+
private
|
43
|
+
|
44
|
+
def defaults
|
45
|
+
{
|
46
|
+
kty: nil,
|
47
|
+
use: nil,
|
48
|
+
alg: nil,
|
49
|
+
kid: nil,
|
50
|
+
hsmName: nil,
|
51
|
+
handle: nil,
|
52
|
+
publicKey: nil,
|
53
|
+
}
|
54
|
+
end
|
55
|
+
|
56
|
+
def set_params(hash)
|
57
|
+
@kty = hash[:kty]
|
58
|
+
@use = hash[:use]
|
59
|
+
@alg = hash[:alg]
|
60
|
+
@kid = hash[:kid]
|
61
|
+
@hsmName = hash[:hsmName]
|
62
|
+
@handle = hash[:handle]
|
63
|
+
@publicKey = hash[:publicKey]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -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
|
@@ -437,228 +437,268 @@ module Authlete
|
|
437
437
|
|
438
438
|
attr_accessor :attributes
|
439
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
|
+
|
448
|
+
attr_accessor :frontChannelRequestObjectEncryptionRequired
|
449
|
+
alias_method :front_channel_request_object_encryption_required, :frontChannelRequestObjectEncryptionRequired
|
450
|
+
alias_method :front_channel_request_object_encryption_required=, :frontChannelRequestObjectEncryptionRequired=
|
451
|
+
|
452
|
+
attr_accessor :requestObjectEncryptionAlgMatchRequired
|
453
|
+
alias_method :request_object_encryption_alg_match_required, :requestObjectEncryptionAlgMatchRequired
|
454
|
+
alias_method :request_object_encryption_alg_match_required=, :requestObjectEncryptionAlgMatchRequired=
|
455
|
+
|
456
|
+
attr_accessor :requestObjectEncryptionEncMatchRequired
|
457
|
+
alias_method :request_object_encryption_enc_match_required, :requestObjectEncryptionEncMatchRequired
|
458
|
+
alias_method :request_object_encryption_enc_match_required=, :requestObjectEncryptionEncMatchRequired=
|
459
|
+
|
460
|
+
attr_accessor :hsks
|
461
|
+
|
462
|
+
attr_accessor :hsmEnabled
|
463
|
+
alias_method :hsm_enabled, :hsmEnabled
|
464
|
+
alias_method :hsm_enabled=, :hsmEnabled=
|
465
|
+
|
440
466
|
private
|
441
467
|
|
442
468
|
def defaults
|
443
469
|
{
|
444
|
-
number:
|
445
|
-
serviceOwnerNumber:
|
446
|
-
serviceName:
|
447
|
-
apiKey:
|
448
|
-
apiSecret:
|
449
|
-
issuer:
|
450
|
-
authorizationEndpoint:
|
451
|
-
tokenEndpoint:
|
452
|
-
revocationEndpoint:
|
453
|
-
supportedRevocationAuthMethods:
|
454
|
-
userInfoEndpoint:
|
455
|
-
jwksUri:
|
456
|
-
jwks:
|
457
|
-
registrationEndpoint:
|
458
|
-
registrationManagementEndpoint:
|
459
|
-
supportedScopes:
|
460
|
-
supportedResponseTypes:
|
461
|
-
supportedGrantTypes:
|
462
|
-
supportedAcrs:
|
463
|
-
supportedTokenAuthMethods:
|
464
|
-
supportedDisplays:
|
465
|
-
supportedClaimTypes:
|
466
|
-
supportedClaims:
|
467
|
-
serviceDocumentation:
|
468
|
-
supportedClaimLocales:
|
469
|
-
supportedUiLocales:
|
470
|
-
policyUri:
|
471
|
-
tosUri:
|
472
|
-
authenticationCallbackEndpoint:
|
473
|
-
authenticationCallbackApiKey:
|
474
|
-
authenticationCallbackApiSecret:
|
475
|
-
supportedSnses:
|
476
|
-
snsCredentials:
|
477
|
-
createdAt:
|
478
|
-
modifiedAt:
|
479
|
-
developerAuthenticationCallbackEndpoint:
|
480
|
-
developerAuthenticationCallbackApiKey:
|
481
|
-
developerAuthenticationCallbackApiSecret:
|
482
|
-
supportedDeveloperSnses:
|
483
|
-
developerSnsCredentials:
|
484
|
-
clientsPerDeveloper:
|
485
|
-
directAuthorizationEndpointEnabled:
|
486
|
-
directTokenEndpointEnabled:
|
487
|
-
directRevocationEndpointEnabled:
|
488
|
-
directUserInfoEndpointEnabled:
|
489
|
-
directJwksEndpointEnabled:
|
490
|
-
directIntrospectionEndpointEnabled:
|
491
|
-
singleAccessTokenPerSubject:
|
492
|
-
pkceRequired:
|
493
|
-
pkceS256Required:
|
494
|
-
refreshTokenKept:
|
495
|
-
refreshTokenDurationKept:
|
496
|
-
errorDescriptionOmitted:
|
497
|
-
errorUriOmitted:
|
498
|
-
clientIdAliasEnabled:
|
499
|
-
supportedServiceProfiles:
|
500
|
-
tlsClientCertificateBoundAccessTokens:
|
501
|
-
introspectionEndpoint:
|
502
|
-
supportedIntrospectionAuthMethods:
|
503
|
-
mutualTlsValidatePkiCertChain:
|
504
|
-
trustedRootCertificates:
|
505
|
-
dynamicRegistrationSupported:
|
506
|
-
endSessionEndpoint:
|
507
|
-
description:
|
508
|
-
accessTokenType:
|
509
|
-
accessTokenSignAlg:
|
510
|
-
accessTokenDuration:
|
511
|
-
refreshTokenDuration:
|
512
|
-
idTokenDuration:
|
513
|
-
authorizationResponseDuration:
|
514
|
-
pushedAuthReqDuration:
|
515
|
-
metadata:
|
516
|
-
accessTokenSignatureKeyId:
|
517
|
-
authorizationSignatureKeyId:
|
518
|
-
idTokenSignatureKeyId:
|
519
|
-
userInfoSignatureKeyId:
|
520
|
-
supportedBackchannelTokenDeliveryModes:
|
521
|
-
backchannelAuthenticationEndpoint:
|
522
|
-
backchannelUserCodeParameterSupported:
|
523
|
-
backchannelAuthReqIdDuration:
|
524
|
-
backchannelPollingInterval:
|
525
|
-
backchannelBindingMessageRequiredInFapi:
|
526
|
-
allowableClockSkew:
|
527
|
-
deviceAuthorizationEndpoint:
|
528
|
-
deviceVerificationUri:
|
529
|
-
deviceVerificationUriComplete:
|
530
|
-
deviceFlowCodeDuration:
|
531
|
-
deviceFlowPollingInterval:
|
532
|
-
userCodeCharset:
|
533
|
-
userCodeLength:
|
534
|
-
pushedAuthReqEndpoint:
|
535
|
-
mtlsEndpointAliases:
|
536
|
-
|
537
|
-
supportedTrustFrameworks:
|
538
|
-
supportedEvidence:
|
539
|
-
supportedIdentityDocuments:
|
540
|
-
supportedVerificationMethods:
|
541
|
-
supportedVerifiedClaims:
|
542
|
-
missingClientIdAllowed:
|
543
|
-
parRequired:
|
544
|
-
requestObjectRequired:
|
545
|
-
traditionalRequestObjectProcessingApplied:
|
546
|
-
claimShortcutRestrictive:
|
547
|
-
scopeRequired:
|
548
|
-
nbfOptional:
|
549
|
-
issSuppressed:
|
550
|
-
attributes:
|
470
|
+
number: 0,
|
471
|
+
serviceOwnerNumber: 0,
|
472
|
+
serviceName: nil,
|
473
|
+
apiKey: 0,
|
474
|
+
apiSecret: nil,
|
475
|
+
issuer: nil,
|
476
|
+
authorizationEndpoint: nil,
|
477
|
+
tokenEndpoint: nil,
|
478
|
+
revocationEndpoint: nil,
|
479
|
+
supportedRevocationAuthMethods: nil,
|
480
|
+
userInfoEndpoint: nil,
|
481
|
+
jwksUri: nil,
|
482
|
+
jwks: nil,
|
483
|
+
registrationEndpoint: nil,
|
484
|
+
registrationManagementEndpoint: nil,
|
485
|
+
supportedScopes: nil,
|
486
|
+
supportedResponseTypes: nil,
|
487
|
+
supportedGrantTypes: nil,
|
488
|
+
supportedAcrs: nil,
|
489
|
+
supportedTokenAuthMethods: nil,
|
490
|
+
supportedDisplays: nil,
|
491
|
+
supportedClaimTypes: nil,
|
492
|
+
supportedClaims: nil,
|
493
|
+
serviceDocumentation: nil,
|
494
|
+
supportedClaimLocales: nil,
|
495
|
+
supportedUiLocales: nil,
|
496
|
+
policyUri: nil,
|
497
|
+
tosUri: nil,
|
498
|
+
authenticationCallbackEndpoint: nil,
|
499
|
+
authenticationCallbackApiKey: nil,
|
500
|
+
authenticationCallbackApiSecret: nil,
|
501
|
+
supportedSnses: nil,
|
502
|
+
snsCredentials: nil,
|
503
|
+
createdAt: 0,
|
504
|
+
modifiedAt: 0,
|
505
|
+
developerAuthenticationCallbackEndpoint: nil,
|
506
|
+
developerAuthenticationCallbackApiKey: nil,
|
507
|
+
developerAuthenticationCallbackApiSecret: nil,
|
508
|
+
supportedDeveloperSnses: nil,
|
509
|
+
developerSnsCredentials: nil,
|
510
|
+
clientsPerDeveloper: 0,
|
511
|
+
directAuthorizationEndpointEnabled: false,
|
512
|
+
directTokenEndpointEnabled: false,
|
513
|
+
directRevocationEndpointEnabled: false,
|
514
|
+
directUserInfoEndpointEnabled: false,
|
515
|
+
directJwksEndpointEnabled: false,
|
516
|
+
directIntrospectionEndpointEnabled: false,
|
517
|
+
singleAccessTokenPerSubject: false,
|
518
|
+
pkceRequired: false,
|
519
|
+
pkceS256Required: false,
|
520
|
+
refreshTokenKept: false,
|
521
|
+
refreshTokenDurationKept: false,
|
522
|
+
errorDescriptionOmitted: false,
|
523
|
+
errorUriOmitted: false,
|
524
|
+
clientIdAliasEnabled: false,
|
525
|
+
supportedServiceProfiles: nil,
|
526
|
+
tlsClientCertificateBoundAccessTokens: false,
|
527
|
+
introspectionEndpoint: nil,
|
528
|
+
supportedIntrospectionAuthMethods: nil,
|
529
|
+
mutualTlsValidatePkiCertChain: false,
|
530
|
+
trustedRootCertificates: nil,
|
531
|
+
dynamicRegistrationSupported: false,
|
532
|
+
endSessionEndpoint: nil,
|
533
|
+
description: nil,
|
534
|
+
accessTokenType: nil,
|
535
|
+
accessTokenSignAlg: nil,
|
536
|
+
accessTokenDuration: 0,
|
537
|
+
refreshTokenDuration: 0,
|
538
|
+
idTokenDuration: 0,
|
539
|
+
authorizationResponseDuration: 0,
|
540
|
+
pushedAuthReqDuration: 0,
|
541
|
+
metadata: nil,
|
542
|
+
accessTokenSignatureKeyId: nil,
|
543
|
+
authorizationSignatureKeyId: nil,
|
544
|
+
idTokenSignatureKeyId: nil,
|
545
|
+
userInfoSignatureKeyId: nil,
|
546
|
+
supportedBackchannelTokenDeliveryModes: nil,
|
547
|
+
backchannelAuthenticationEndpoint: nil,
|
548
|
+
backchannelUserCodeParameterSupported: false,
|
549
|
+
backchannelAuthReqIdDuration: 0,
|
550
|
+
backchannelPollingInterval: 0,
|
551
|
+
backchannelBindingMessageRequiredInFapi: false,
|
552
|
+
allowableClockSkew: 0,
|
553
|
+
deviceAuthorizationEndpoint: nil,
|
554
|
+
deviceVerificationUri: nil,
|
555
|
+
deviceVerificationUriComplete: nil,
|
556
|
+
deviceFlowCodeDuration: 0,
|
557
|
+
deviceFlowPollingInterval: 0,
|
558
|
+
userCodeCharset: nil,
|
559
|
+
userCodeLength: 0,
|
560
|
+
pushedAuthReqEndpoint: nil,
|
561
|
+
mtlsEndpointAliases: nil,
|
562
|
+
supportedAuthorizationDetailsTypes: nil,
|
563
|
+
supportedTrustFrameworks: nil,
|
564
|
+
supportedEvidence: nil,
|
565
|
+
supportedIdentityDocuments: nil,
|
566
|
+
supportedVerificationMethods: nil,
|
567
|
+
supportedVerifiedClaims: nil,
|
568
|
+
missingClientIdAllowed: false,
|
569
|
+
parRequired: false,
|
570
|
+
requestObjectRequired: false,
|
571
|
+
traditionalRequestObjectProcessingApplied: false,
|
572
|
+
claimShortcutRestrictive: false,
|
573
|
+
scopeRequired: false,
|
574
|
+
nbfOptional: false,
|
575
|
+
issSuppressed: false,
|
576
|
+
attributes: nil,
|
577
|
+
supportedCustomClientMetadata: nil,
|
578
|
+
tokenExpirationLinked: false,
|
579
|
+
frontChannelRequestObjectEncryptionRequired: false,
|
580
|
+
requestObjectEncryptionAlgMatchRequired: false,
|
581
|
+
requestObjectEncryptionEncMatchRequired: false,
|
582
|
+
hsks: nil,
|
583
|
+
hsmEnabled: false
|
551
584
|
}
|
552
585
|
end
|
553
586
|
|
554
587
|
def set_params(hash)
|
555
|
-
@number
|
556
|
-
@serviceOwnerNumber
|
557
|
-
@serviceName
|
558
|
-
@apiKey
|
559
|
-
@apiSecret
|
560
|
-
@issuer
|
561
|
-
@authorizationEndpoint
|
562
|
-
@tokenEndpoint
|
563
|
-
@revocationEndpoint
|
564
|
-
@supportedRevocationAuthMethods
|
565
|
-
@userInfoEndpoint
|
566
|
-
@jwksUri
|
567
|
-
@jwks
|
568
|
-
@registrationEndpoint
|
569
|
-
@registrationManagementEndpoint
|
570
|
-
@supportedScopes
|
571
|
-
@supportedResponseTypes
|
572
|
-
@supportedGrantTypes
|
573
|
-
@supportedAcrs
|
574
|
-
@supportedTokenAuthMethods
|
575
|
-
@supportedDisplays
|
576
|
-
@supportedClaimTypes
|
577
|
-
@supportedClaims
|
578
|
-
@serviceDocumentation
|
579
|
-
@supportedClaimLocales
|
580
|
-
@supportedUiLocales
|
581
|
-
@policyUri
|
582
|
-
@tosUri
|
583
|
-
@authenticationCallbackEndpoint
|
584
|
-
@authenticationCallbackApiKey
|
585
|
-
@authenticationCallbackApiSecret
|
586
|
-
@supportedSnses
|
587
|
-
@snsCredentials
|
588
|
-
@createdAt
|
589
|
-
@modifiedAt
|
590
|
-
@developerAuthenticationCallbackEndpoint
|
591
|
-
@developerAuthenticationCallbackApiKey
|
592
|
-
@developerAuthenticationCallbackApiSecret
|
593
|
-
@supportedDeveloperSnses
|
594
|
-
@developerSnsCredentials
|
595
|
-
@clientsPerDeveloper
|
596
|
-
@directAuthorizationEndpointEnabled
|
597
|
-
@directTokenEndpointEnabled
|
598
|
-
@directRevocationEndpointEnabled
|
599
|
-
@directUserInfoEndpointEnabled
|
600
|
-
@directJwksEndpointEnabled
|
601
|
-
@directIntrospectionEndpointEnabled
|
602
|
-
@singleAccessTokenPerSubject
|
603
|
-
@pkceRequired
|
604
|
-
@pkceS256Required
|
605
|
-
@refreshTokenKept
|
606
|
-
@refreshTokenDurationKept
|
607
|
-
@errorDescriptionOmitted
|
608
|
-
@errorUriOmitted
|
609
|
-
@clientIdAliasEnabled
|
610
|
-
@supportedServiceProfiles
|
611
|
-
@tlsClientCertificateBoundAccessTokens
|
612
|
-
@introspectionEndpoint
|
613
|
-
@supportedIntrospectionAuthMethods
|
614
|
-
@mutualTlsValidatePkiCertChain
|
615
|
-
@trustedRootCertificates
|
616
|
-
@dynamicRegistrationSupported
|
617
|
-
@endSessionEndpoint
|
618
|
-
@description
|
619
|
-
@accessTokenType
|
620
|
-
@accessTokenSignAlg
|
621
|
-
@accessTokenDuration
|
622
|
-
@refreshTokenDuration
|
623
|
-
@idTokenDuration
|
624
|
-
@authorizationResponseDuration
|
625
|
-
@pushedAuthReqDuration
|
626
|
-
@metadata
|
627
|
-
@accessTokenSignatureKeyId
|
628
|
-
@authorizationSignatureKeyId
|
629
|
-
@idTokenSignatureKeyId
|
630
|
-
@userInfoSignatureKeyId
|
631
|
-
@supportedBackchannelTokenDeliveryModes
|
632
|
-
@backchannelAuthenticationEndpoint
|
633
|
-
@backchannelUserCodeParameterSupported
|
634
|
-
@backchannelAuthReqIdDuration
|
635
|
-
@backchannelPollingInterval
|
636
|
-
@backchannelBindingMessageRequiredInFapi
|
637
|
-
@allowableClockSkew
|
638
|
-
@deviceAuthorizationEndpoint
|
639
|
-
@deviceVerificationUri
|
640
|
-
@deviceVerificationUriComplete
|
641
|
-
@deviceFlowCodeDuration
|
642
|
-
@deviceFlowPollingInterval
|
643
|
-
@userCodeCharset
|
644
|
-
@userCodeLength
|
645
|
-
@pushedAuthReqEndpoint
|
646
|
-
@mtlsEndpointAliases
|
647
|
-
@
|
648
|
-
@supportedTrustFrameworks
|
649
|
-
@supportedEvidence
|
650
|
-
@supportedIdentityDocuments
|
651
|
-
@supportedVerificationMethods
|
652
|
-
@supportedVerifiedClaims
|
653
|
-
@missingClientIdAllowed
|
654
|
-
@parRequired
|
655
|
-
@requestObjectRequired
|
656
|
-
@traditionalRequestObjectProcessingApplied
|
657
|
-
@claimShortcutRestrictive
|
658
|
-
@scopeRequired
|
659
|
-
@nbfOptional
|
660
|
-
@issSuppressed
|
661
|
-
@attributes
|
588
|
+
@number = hash[:number]
|
589
|
+
@serviceOwnerNumber = hash[:serviceOwnerNumber]
|
590
|
+
@serviceName = hash[:serviceName]
|
591
|
+
@apiKey = hash[:apiKey]
|
592
|
+
@apiSecret = hash[:apiSecret]
|
593
|
+
@issuer = hash[:issuer]
|
594
|
+
@authorizationEndpoint = hash[:authorizationEndpoint]
|
595
|
+
@tokenEndpoint = hash[:tokenEndpoint]
|
596
|
+
@revocationEndpoint = hash[:revocationEndpoint]
|
597
|
+
@supportedRevocationAuthMethods = hash[:supportedRevocationAuthMethods]
|
598
|
+
@userInfoEndpoint = hash[:userInfoEndpoint]
|
599
|
+
@jwksUri = hash[:jwksUri]
|
600
|
+
@jwks = hash[:jwks]
|
601
|
+
@registrationEndpoint = hash[:registrationEndpoint]
|
602
|
+
@registrationManagementEndpoint = hash[:registrationManagementEndpoint]
|
603
|
+
@supportedScopes = get_parsed_array(hash[:supportedScopes]) { |e| Authlete::Model::Scope.parse(e) }
|
604
|
+
@supportedResponseTypes = hash[:supportedResponseTypes]
|
605
|
+
@supportedGrantTypes = hash[:supportedGrantTypes]
|
606
|
+
@supportedAcrs = hash[:supportedAcrs]
|
607
|
+
@supportedTokenAuthMethods = hash[:supportedTokenAuthMethods]
|
608
|
+
@supportedDisplays = hash[:supportedDisplays]
|
609
|
+
@supportedClaimTypes = hash[:supportedClaimTypes]
|
610
|
+
@supportedClaims = hash[:supportedClaims]
|
611
|
+
@serviceDocumentation = hash[:serviceDocumentation]
|
612
|
+
@supportedClaimLocales = hash[:supportedClaimLocales]
|
613
|
+
@supportedUiLocales = hash[:supportedUiLocales]
|
614
|
+
@policyUri = hash[:policyUri]
|
615
|
+
@tosUri = hash[:tosUri]
|
616
|
+
@authenticationCallbackEndpoint = hash[:authenticationCallbackEndpoint]
|
617
|
+
@authenticationCallbackApiKey = hash[:authenticationCallbackApiKey]
|
618
|
+
@authenticationCallbackApiSecret = hash[:authenticationCallbackApiSecret]
|
619
|
+
@supportedSnses = hash[:supportedSnses]
|
620
|
+
@snsCredentials = get_parsed_array(hash[:snsCredentials]) { |e| Authlete::Model::SnsCredentials.parse(e) }
|
621
|
+
@createdAt = hash[:createdAt]
|
622
|
+
@modifiedAt = hash[:modifiedAt]
|
623
|
+
@developerAuthenticationCallbackEndpoint = hash[:developerAuthenticationCallbackEndpoint]
|
624
|
+
@developerAuthenticationCallbackApiKey = hash[:developerAuthenticationCallbackApiKey]
|
625
|
+
@developerAuthenticationCallbackApiSecret = hash[:developerAuthenticationCallbackApiSecret]
|
626
|
+
@supportedDeveloperSnses = hash[:supportedDeveloperSnses]
|
627
|
+
@developerSnsCredentials = get_parsed_array(hash[:developerSnsCredentials]) { |e| Authlete::Model::SnsCredentials.parse(e) }
|
628
|
+
@clientsPerDeveloper = hash[:clientsPerDeveloper]
|
629
|
+
@directAuthorizationEndpointEnabled = hash[:directAuthorizationEndpointEnabled]
|
630
|
+
@directTokenEndpointEnabled = hash[:directTokenEndpointEnabled]
|
631
|
+
@directRevocationEndpointEnabled = hash[:directRevocationEndpointEnabled]
|
632
|
+
@directUserInfoEndpointEnabled = hash[:directUserInfoEndpointEnabled]
|
633
|
+
@directJwksEndpointEnabled = hash[:directJwksEndpointEnabled]
|
634
|
+
@directIntrospectionEndpointEnabled = hash[:directIntrospectionEndpointEnabled]
|
635
|
+
@singleAccessTokenPerSubject = hash[:singleAccessTokenPerSubject]
|
636
|
+
@pkceRequired = hash[:pkceRequired]
|
637
|
+
@pkceS256Required = hash[:pkceS256Required]
|
638
|
+
@refreshTokenKept = hash[:refreshTokenKept]
|
639
|
+
@refreshTokenDurationKept = hash[:refreshTokenDurationKept]
|
640
|
+
@errorDescriptionOmitted = hash[:errorDescriptionOmitted]
|
641
|
+
@errorUriOmitted = hash[:errorUriOmitted]
|
642
|
+
@clientIdAliasEnabled = hash[:clientIdAliasEnabled]
|
643
|
+
@supportedServiceProfiles = hash[:supportedServiceProfiles]
|
644
|
+
@tlsClientCertificateBoundAccessTokens = hash[:tlsClientCertificateBoundAccessTokens]
|
645
|
+
@introspectionEndpoint = hash[:introspectionEndpoint]
|
646
|
+
@supportedIntrospectionAuthMethods = hash[:supportedIntrospectionAuthMethods]
|
647
|
+
@mutualTlsValidatePkiCertChain = hash[:mutualTlsValidatePkiCertChain]
|
648
|
+
@trustedRootCertificates = hash[:trustedRootCertificates]
|
649
|
+
@dynamicRegistrationSupported = hash[:dynamicRegistrationSupported]
|
650
|
+
@endSessionEndpoint = hash[:endSessionEndpoint]
|
651
|
+
@description = hash[:description]
|
652
|
+
@accessTokenType = hash[:accessTokenType]
|
653
|
+
@accessTokenSignAlg = hash[:accessTokenSignAlg]
|
654
|
+
@accessTokenDuration = hash[:accessTokenDuration]
|
655
|
+
@refreshTokenDuration = hash[:refreshTokenDuration]
|
656
|
+
@idTokenDuration = hash[:idTokenDuration]
|
657
|
+
@authorizationResponseDuration = hash[:authorizationResponseDuration]
|
658
|
+
@pushedAuthReqDuration = hash[:pushedAuthReqDuration]
|
659
|
+
@metadata = get_parsed_array(hash[:metadata]) { |e| Authlete::Model::Pair.parse(e) }
|
660
|
+
@accessTokenSignatureKeyId = hash[:accessTokenSignatureKeyId]
|
661
|
+
@authorizationSignatureKeyId = hash[:authorizationSignatureKeyId]
|
662
|
+
@idTokenSignatureKeyId = hash[:idTokenSignatureKeyId]
|
663
|
+
@userInfoSignatureKeyId = hash[:userInfoSignatureKeyId]
|
664
|
+
@supportedBackchannelTokenDeliveryModes = hash[:supportedBackchannelTokenDeliveryModes]
|
665
|
+
@backchannelAuthenticationEndpoint = hash[:backchannelAuthenticationEndpoint]
|
666
|
+
@backchannelUserCodeParameterSupported = hash[:backchannelUserCodeParameterSupported]
|
667
|
+
@backchannelAuthReqIdDuration = hash[:backchannelAuthReqIdDuration]
|
668
|
+
@backchannelPollingInterval = hash[:backchannelPollingInterval]
|
669
|
+
@backchannelBindingMessageRequiredInFapi = hash[:backchannelBindingMessageRequiredInFapi]
|
670
|
+
@allowableClockSkew = hash[:allowableClockSkew]
|
671
|
+
@deviceAuthorizationEndpoint = hash[:deviceAuthorizationEndpoint]
|
672
|
+
@deviceVerificationUri = hash[:deviceVerificationUri]
|
673
|
+
@deviceVerificationUriComplete = hash[:deviceVerificationUriComplete]
|
674
|
+
@deviceFlowCodeDuration = hash[:deviceFlowCodeDuration]
|
675
|
+
@deviceFlowPollingInterval = hash[:deviceFlowPollingInterval]
|
676
|
+
@userCodeCharset = hash[:userCodeCharset]
|
677
|
+
@userCodeLength = hash[:userCodeLength]
|
678
|
+
@pushedAuthReqEndpoint = hash[:pushedAuthReqEndpoint]
|
679
|
+
@mtlsEndpointAliases = get_parsed_array(hash[:mtlsEndpointAliases]) { |e| Authlete::Model::NamedUri.parse(e) }
|
680
|
+
@supportedAuthorizationDetailsTypes = hash[:supportedAuthorizationDetailsTypes]
|
681
|
+
@supportedTrustFrameworks = hash[:supportedTrustFrameworks]
|
682
|
+
@supportedEvidence = hash[:supportedEvidence]
|
683
|
+
@supportedIdentityDocuments = hash[:supportedIdentityDocuments]
|
684
|
+
@supportedVerificationMethods = hash[:supportedVerificationMethods]
|
685
|
+
@supportedVerifiedClaims = hash[:supportedVerifiedClaims]
|
686
|
+
@missingClientIdAllowed = hash[:missingClientIdAllowed]
|
687
|
+
@parRequired = hash[:parRequired]
|
688
|
+
@requestObjectRequired = hash[:requestObjectRequired]
|
689
|
+
@traditionalRequestObjectProcessingApplied = hash[:traditionalRequestObjectProcessingApplied]
|
690
|
+
@claimShortcutRestrictive = hash[:claimShortcutRestrictive]
|
691
|
+
@scopeRequired = hash[:scopeRequired]
|
692
|
+
@nbfOptional = hash[:nbfOptional]
|
693
|
+
@issSuppressed = hash[:issSuppressed]
|
694
|
+
@attributes = get_parsed_array(hash[:attributes]) { |e| Authlete::Model::Pair.parse(e) }
|
695
|
+
@supportedCustomClientMetadata = hash[:supportedCustomClientMetadata]
|
696
|
+
@tokenExpirationLinked = hash[:tokenExpirationLinked]
|
697
|
+
@frontChannelRequestObjectEncryptionRequired = hash[:frontChannelRequestObjectEncryptionRequired]
|
698
|
+
@requestObjectEncryptionAlgMatchRequired = hash[:requestObjectEncryptionAlgMatchRequired]
|
699
|
+
@requestObjectEncryptionEncMatchRequired = hash[:requestObjectEncryptionEncMatchRequired]
|
700
|
+
@hsks = get_parsed_array(hash[:hsks]) { |e| Authlete::Model::Hsk.parse(e) }
|
701
|
+
@hsmEnabled = hash[:hsmEnabled]
|
662
702
|
end
|
663
703
|
|
664
704
|
def to_hash_value(key, var)
|
@@ -666,7 +706,7 @@ module Authlete
|
|
666
706
|
|
667
707
|
case key
|
668
708
|
when :snsCredentials, :developerSnsCredentials, :supportedScopes,
|
669
|
-
:metadata, :mtlsEndpointAliases, :attributes
|
709
|
+
:metadata, :mtlsEndpointAliases, :attributes, :hsks
|
670
710
|
raw_val&.map { |e| e.to_hash }
|
671
711
|
else
|
672
712
|
raw_val
|