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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e0b0558488bf3a4a4265e05d2d1d015de18a1476
4
- data.tar.gz: c6493cf2652ebaf784c3251940fc6ec8ed5812f5
2
+ SHA256:
3
+ metadata.gz: 164290174c960b47c0108dbde641e0c01e37f38b2bdbafa9f36fcbb68f5dd053
4
+ data.tar.gz: 625eba82bcdee17d39a2635199e6228e6e9a001729fdf64a1343c486ecd23998
5
5
  SHA512:
6
- metadata.gz: 2c7efb96bedc54703dffda85a82ac39898a11c99d36adf0d4c62e008bd8d5f2c0c5bedcba65273c9aef9aafb524ca39d9d26d759c1e20043053fdad63327bd5c
7
- data.tar.gz: a475cbdfd0f88572cd7b26d27c0728f2fc9e757930318151da7523974b3eb08959975b06857b209e64c29c909e443ca15452c731dc1d3639f175a8bc328695e0
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 :authorizationDataTypes
279
- alias_method :authorization_data_types, :authorizationDataTypes
280
- alias_method :authorization_data_types=, :authorizationDataTypes=
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: 0,
297
- serviceNumber: 0,
298
- developer: nil,
299
- clientId: 0,
300
- clientIdAlias: nil,
301
- clientIdAliasEnabled: false,
302
- clientSecret: nil,
303
- clientType: nil,
304
- redirectUris: nil,
305
- responseTypes: nil,
306
- grantTypes: nil,
307
- applicationType: nil,
308
- contacts: nil,
309
- clientName: nil,
310
- clientNames: nil,
311
- logoUri: nil,
312
- logoUris: nil,
313
- clientUri: nil,
314
- clientUris: nil,
315
- policyUri: nil,
316
- policyUris: nil,
317
- tosUri: nil,
318
- tosUris: nil,
319
- jwksUri: nil,
320
- jwks: nil,
321
- derivedSectorIdentifier: nil,
322
- sectorIdentifierUri: nil,
323
- subjectType: nil,
324
- idTokenSignAlg: nil,
325
- idTokenEncryptionAlg: nil,
326
- idTokenEncryptionEnc: nil,
327
- userInfoSignAlg: nil,
328
- userInfoEncryptionAlg: nil,
329
- userInfoEncryptionEnc: nil,
330
- requestSignAlg: nil,
331
- requestEncryptionAlg: nil,
332
- requestEncryptionEnc: nil,
333
- tokenAuthMethod: nil,
334
- tokenAuthSignAlg: nil,
335
- defaultMaxAge: 0,
336
- defaultAcrs: nil,
337
- authTimeRequired: false,
338
- loginUri: nil,
339
- requestUris: nil,
340
- description: nil,
341
- descriptions: nil,
342
- createdAt: 0,
343
- modifiedAt: 0,
344
- extension: nil,
345
- tlsClientAuthSubjectDn: nil,
346
- tlsClientAuthSanDns: nil,
347
- tlsClientAuthSanUri: nil,
348
- tlsClientAuthSanIp: nil,
349
- tlsClientAuthSanEmail: nil,
350
- tlsClientCertificateBoundAccessTokens: false,
351
- selfSignedCertificateKeyId: nil,
352
- softwareId: nil,
353
- softwareVersion: nil,
354
- authorizationSignAlg: nil,
355
- authorizationEncryptionAlg: nil,
356
- authorizationEncryptionEnc: nil,
357
- bcDeliveryMode: nil,
358
- bcNotificationEndpoint: nil,
359
- bcRequestSignAlg: nil,
360
- bcUserCodeRequired: false,
361
- dynamicallyRegistered: false,
362
- registrationAccessTokenHash: nil,
363
- authorizationDataTypes: nil,
364
- parRequired: false,
365
- requestObjectRequired: false,
366
- attributes: nil
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 = hash[:number]
372
- @serviceNumber = hash[:serviceNumber]
373
- @developer = hash[:developer]
374
- @clientId = hash[:clientId]
375
- @clientIdAlias = hash[:clientIdAlias]
376
- @clientIdAliasEnabled = hash[:clientIdAliasEnabled]
377
- @clientSecret = hash[:clientSecret]
378
- @clientType = hash[:clientType]
379
- @redirectUris = hash[:redirectUris]
380
- @responseTypes = hash[:responseTypes]
381
- @grantTypes = hash[:grantTypes]
382
- @applicationType = hash[:applicationType]
383
- @contacts = hash[:contacts]
384
- @clientName = hash[:clientName]
385
- @clientNames = get_parsed_array(hash[:clientNames]) { |e| Authlete::Model::TaggedValue.parse(e) }
386
- @logoUri = hash[:logoUri]
387
- @logoUris = get_parsed_array(hash[:logoUris]) { |e| Authlete::Model::TaggedValue.parse(e) }
388
- @clientUri = hash[:clientUri]
389
- @clientUris = get_parsed_array(hash[:clientUris]) { |e| Authlete::Model::TaggedValue.parse(e) }
390
- @policyUri = hash[:policyUri]
391
- @policyUris = get_parsed_array(hash[:policyUris]) { |e| Authlete::Model::TaggedValue.parse(e) }
392
- @tosUri = hash[:tosUri]
393
- @tosUris = get_parsed_array(hash[:tosUris]) { |e| Authlete::Model::TaggedValue.parse(e) }
394
- @jwksUri = hash[:jwksUri]
395
- @jwks = hash[:jwks]
396
- @derivedSectorIdentifier = hash[:derivedSectorIdentifier]
397
- @sectorIdentifierUri = hash[:sectorIdentifierUri]
398
- @subjectType = hash[:subjectType]
399
- @idTokenSignAlg = hash[:idTokenSignAlg]
400
- @idTokenEncryptionAlg = hash[:idTokenEncryptionAlg]
401
- @idTokenEncryptionEnc = hash[:idTokenEncryptionEnc]
402
- @userInfoSignAlg = hash[:userInfoSignAlg]
403
- @userInfoEncryptionAlg = hash[:userInfoEncryptionAlg]
404
- @userInfoEncryptionEnc = hash[:userInfoEncryptionEnc]
405
- @requestSignAlg = hash[:requestSignAlg]
406
- @requestEncryptionAlg = hash[:requestEncryptionAlg]
407
- @requestEncryptionEnc = hash[:requestEncryptionEnc]
408
- @tokenAuthMethod = hash[:tokenAuthMethod]
409
- @tokenAuthSignAlg = hash[:tokenAuthSignAlg]
410
- @defaultMaxAge = hash[:defaultMaxAge]
411
- @defaultAcrs = hash[:defaultAcrs]
412
- @authTimeRequired = hash[:authTimeRequired]
413
- @loginUri = hash[:loginUri]
414
- @requestUris = hash[:requestUris]
415
- @description = hash[:description]
416
- @descriptions = get_parsed_array(hash[:descriptions]) { |e| Authlete::Model::TaggedValue.parse(e) }
417
- @createdAt = hash[:createdAt]
418
- @modifiedAt = hash[:modifiedAt]
419
- @extension = Authlete::Model::ClientExtension.parse(hash[:extension])
420
- @tlsClientAuthSubjectDn = hash[:tlsClientAuthSubjectDn]
421
- @tlsClientAuthSanDns = hash[:tlsClientAuthSanDns]
422
- @tlsClientAuthSanUri = hash[:tlsClientAuthSanUri]
423
- @tlsClientAuthSanIp = hash[:tlsClientAuthSanIp]
424
- @tlsClientAuthSanEmail = hash[:tlsClientAuthSanEmail]
425
- @tlsClientCertificateBoundAccessTokens = hash[:tlsClientCertificateBoundAccessTokens]
426
- @selfSignedCertificateKeyId = hash[:selfSignedCertificateKeyId]
427
- @softwareId = hash[:softwareId]
428
- @softwareVersion = hash[:softwareVersion]
429
- @authorizationSignAlg = hash[:authorizationSignAlg]
430
- @authorizationEncryptionAlg = hash[:authorizationEncryptionAlg]
431
- @authorizationEncryptionEnc = hash[:authorizationEncryptionEnc]
432
- @bcDeliveryMode = hash[:bcDeliveryMode]
433
- @bcNotificationEndpoint = hash[:bcNotificationEndpoint]
434
- @bcRequestSignAlg = hash[:bcRequestSignAlg]
435
- @bcUserCodeRequired = hash[:bcUserCodeRequired]
436
- @dynamicallyRegistered = hash[:dynamicallyRegistered]
437
- @registrationAccessTokenHash = hash[:registrationAccessTokenHash]
438
- @authorizationDataTypes = hash[:authorizationDataTypes]
439
- @parRequired = hash[:parRequired]
440
- @requestObjectRequired = hash[:requestObjectRequired]
441
- @attributes = get_parsed_array(hash[:attributes]) { |e| Authlete::Model::Pair.parse(e) }
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 :supportedAuthorizationDataTypes
383
- alias_method :supported_authorization_data_types, :supportedAuthorizationDataTypes
384
- alias_method :supported_authorization_data_types=, :supportedAuthorizationDataTypes=
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: 0,
445
- serviceOwnerNumber: 0,
446
- serviceName: nil,
447
- apiKey: 0,
448
- apiSecret: nil,
449
- issuer: nil,
450
- authorizationEndpoint: nil,
451
- tokenEndpoint: nil,
452
- revocationEndpoint: nil,
453
- supportedRevocationAuthMethods: nil,
454
- userInfoEndpoint: nil,
455
- jwksUri: nil,
456
- jwks: nil,
457
- registrationEndpoint: nil,
458
- registrationManagementEndpoint: nil,
459
- supportedScopes: nil,
460
- supportedResponseTypes: nil,
461
- supportedGrantTypes: nil,
462
- supportedAcrs: nil,
463
- supportedTokenAuthMethods: nil,
464
- supportedDisplays: nil,
465
- supportedClaimTypes: nil,
466
- supportedClaims: nil,
467
- serviceDocumentation: nil,
468
- supportedClaimLocales: nil,
469
- supportedUiLocales: nil,
470
- policyUri: nil,
471
- tosUri: nil,
472
- authenticationCallbackEndpoint: nil,
473
- authenticationCallbackApiKey: nil,
474
- authenticationCallbackApiSecret: nil,
475
- supportedSnses: nil,
476
- snsCredentials: nil,
477
- createdAt: 0,
478
- modifiedAt: 0,
479
- developerAuthenticationCallbackEndpoint: nil,
480
- developerAuthenticationCallbackApiKey: nil,
481
- developerAuthenticationCallbackApiSecret: nil,
482
- supportedDeveloperSnses: nil,
483
- developerSnsCredentials: nil,
484
- clientsPerDeveloper: 0,
485
- directAuthorizationEndpointEnabled: false,
486
- directTokenEndpointEnabled: false,
487
- directRevocationEndpointEnabled: false,
488
- directUserInfoEndpointEnabled: false,
489
- directJwksEndpointEnabled: false,
490
- directIntrospectionEndpointEnabled: false,
491
- singleAccessTokenPerSubject: false,
492
- pkceRequired: false,
493
- pkceS256Required: false,
494
- refreshTokenKept: false,
495
- refreshTokenDurationKept: false,
496
- errorDescriptionOmitted: false,
497
- errorUriOmitted: false,
498
- clientIdAliasEnabled: false,
499
- supportedServiceProfiles: nil,
500
- tlsClientCertificateBoundAccessTokens: false,
501
- introspectionEndpoint: nil,
502
- supportedIntrospectionAuthMethods: nil,
503
- mutualTlsValidatePkiCertChain: false,
504
- trustedRootCertificates: nil,
505
- dynamicRegistrationSupported: false,
506
- endSessionEndpoint: nil,
507
- description: nil,
508
- accessTokenType: nil,
509
- accessTokenSignAlg: nil,
510
- accessTokenDuration: 0,
511
- refreshTokenDuration: 0,
512
- idTokenDuration: 0,
513
- authorizationResponseDuration: 0,
514
- pushedAuthReqDuration: 0,
515
- metadata: nil,
516
- accessTokenSignatureKeyId: nil,
517
- authorizationSignatureKeyId: nil,
518
- idTokenSignatureKeyId: nil,
519
- userInfoSignatureKeyId: nil,
520
- supportedBackchannelTokenDeliveryModes: nil,
521
- backchannelAuthenticationEndpoint: nil,
522
- backchannelUserCodeParameterSupported: false,
523
- backchannelAuthReqIdDuration: 0,
524
- backchannelPollingInterval: 0,
525
- backchannelBindingMessageRequiredInFapi: false,
526
- allowableClockSkew: 0,
527
- deviceAuthorizationEndpoint: nil,
528
- deviceVerificationUri: nil,
529
- deviceVerificationUriComplete: nil,
530
- deviceFlowCodeDuration: 0,
531
- deviceFlowPollingInterval: 0,
532
- userCodeCharset: nil,
533
- userCodeLength: 0,
534
- pushedAuthReqEndpoint: nil,
535
- mtlsEndpointAliases: nil,
536
- supportedAuthorizationDataTypes: nil,
537
- supportedTrustFrameworks: nil,
538
- supportedEvidence: nil,
539
- supportedIdentityDocuments: nil,
540
- supportedVerificationMethods: nil,
541
- supportedVerifiedClaims: nil,
542
- missingClientIdAllowed: false,
543
- parRequired: false,
544
- requestObjectRequired: false,
545
- traditionalRequestObjectProcessingApplied: false,
546
- claimShortcutRestrictive: false,
547
- scopeRequired: false,
548
- nbfOptional: false,
549
- issSuppressed: false,
550
- attributes: nil
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 = hash[:number]
556
- @serviceOwnerNumber = hash[:serviceOwnerNumber]
557
- @serviceName = hash[:serviceName]
558
- @apiKey = hash[:apiKey]
559
- @apiSecret = hash[:apiSecret]
560
- @issuer = hash[:issuer]
561
- @authorizationEndpoint = hash[:authorizationEndpoint]
562
- @tokenEndpoint = hash[:tokenEndpoint]
563
- @revocationEndpoint = hash[:revocationEndpoint]
564
- @supportedRevocationAuthMethods = hash[:supportedRevocationAuthMethods]
565
- @userInfoEndpoint = hash[:userInfoEndpoint]
566
- @jwksUri = hash[:jwksUri]
567
- @jwks = hash[:jwks]
568
- @registrationEndpoint = hash[:registrationEndpoint]
569
- @registrationManagementEndpoint = hash[:registrationManagementEndpoint]
570
- @supportedScopes = get_parsed_array(hash[:supportedScopes]) { |e| Authlete::Model::Scope.parse(e) }
571
- @supportedResponseTypes = hash[:supportedResponseTypes]
572
- @supportedGrantTypes = hash[:supportedGrantTypes]
573
- @supportedAcrs = hash[:supportedAcrs]
574
- @supportedTokenAuthMethods = hash[:supportedTokenAuthMethods]
575
- @supportedDisplays = hash[:supportedDisplays]
576
- @supportedClaimTypes = hash[:supportedClaimTypes]
577
- @supportedClaims = hash[:supportedClaims]
578
- @serviceDocumentation = hash[:serviceDocumentation]
579
- @supportedClaimLocales = hash[:supportedClaimLocales]
580
- @supportedUiLocales = hash[:supportedUiLocales]
581
- @policyUri = hash[:policyUri]
582
- @tosUri = hash[:tosUri]
583
- @authenticationCallbackEndpoint = hash[:authenticationCallbackEndpoint]
584
- @authenticationCallbackApiKey = hash[:authenticationCallbackApiKey]
585
- @authenticationCallbackApiSecret = hash[:authenticationCallbackApiSecret]
586
- @supportedSnses = hash[:supportedSnses]
587
- @snsCredentials = get_parsed_array(hash[:snsCredentials]) { |e| Authlete::Model::SnsCredentials.parse(e) }
588
- @createdAt = hash[:createdAt]
589
- @modifiedAt = hash[:modifiedAt]
590
- @developerAuthenticationCallbackEndpoint = hash[:developerAuthenticationCallbackEndpoint]
591
- @developerAuthenticationCallbackApiKey = hash[:developerAuthenticationCallbackApiKey]
592
- @developerAuthenticationCallbackApiSecret = hash[:developerAuthenticationCallbackApiSecret]
593
- @supportedDeveloperSnses = hash[:supportedDeveloperSnses]
594
- @developerSnsCredentials = get_parsed_array(hash[:developerSnsCredentials]) { |e| Authlete::Model::SnsCredentials.parse(e) }
595
- @clientsPerDeveloper = hash[:clientsPerDeveloper]
596
- @directAuthorizationEndpointEnabled = hash[:directAuthorizationEndpointEnabled]
597
- @directTokenEndpointEnabled = hash[:directTokenEndpointEnabled]
598
- @directRevocationEndpointEnabled = hash[:directRevocationEndpointEnabled]
599
- @directUserInfoEndpointEnabled = hash[:directUserInfoEndpointEnabled]
600
- @directJwksEndpointEnabled = hash[:directJwksEndpointEnabled]
601
- @directIntrospectionEndpointEnabled = hash[:directIntrospectionEndpointEnabled]
602
- @singleAccessTokenPerSubject = hash[:singleAccessTokenPerSubject]
603
- @pkceRequired = hash[:pkceRequired]
604
- @pkceS256Required = hash[:pkceS256Required]
605
- @refreshTokenKept = hash[:refreshTokenKept]
606
- @refreshTokenDurationKept = hash[:refreshTokenDurationKept]
607
- @errorDescriptionOmitted = hash[:errorDescriptionOmitted]
608
- @errorUriOmitted = hash[:errorUriOmitted]
609
- @clientIdAliasEnabled = hash[:clientIdAliasEnabled]
610
- @supportedServiceProfiles = hash[:supportedServiceProfiles]
611
- @tlsClientCertificateBoundAccessTokens = hash[:tlsClientCertificateBoundAccessTokens]
612
- @introspectionEndpoint = hash[:introspectionEndpoint]
613
- @supportedIntrospectionAuthMethods = hash[:supportedIntrospectionAuthMethods]
614
- @mutualTlsValidatePkiCertChain = hash[:mutualTlsValidatePkiCertChain]
615
- @trustedRootCertificates = hash[:trustedRootCertificates]
616
- @dynamicRegistrationSupported = hash[:dynamicRegistrationSupported]
617
- @endSessionEndpoint = hash[:endSessionEndpoint]
618
- @description = hash[:description]
619
- @accessTokenType = hash[:accessTokenType]
620
- @accessTokenSignAlg = hash[:accessTokenSignAlg]
621
- @accessTokenDuration = hash[:accessTokenDuration]
622
- @refreshTokenDuration = hash[:refreshTokenDuration]
623
- @idTokenDuration = hash[:idTokenDuration]
624
- @authorizationResponseDuration = hash[:authorizationResponseDuration]
625
- @pushedAuthReqDuration = hash[:pushedAuthReqDuration]
626
- @metadata = get_parsed_array(hash[:metadata]) { |e| Authlete::Model::Pair.parse(e) }
627
- @accessTokenSignatureKeyId = hash[:accessTokenSignatureKeyId]
628
- @authorizationSignatureKeyId = hash[:authorizationSignatureKeyId]
629
- @idTokenSignatureKeyId = hash[:idTokenSignatureKeyId]
630
- @userInfoSignatureKeyId = hash[:userInfoSignatureKeyId]
631
- @supportedBackchannelTokenDeliveryModes = hash[:supportedBackchannelTokenDeliveryModes]
632
- @backchannelAuthenticationEndpoint = hash[:backchannelAuthenticationEndpoint]
633
- @backchannelUserCodeParameterSupported = hash[:backchannelUserCodeParameterSupported]
634
- @backchannelAuthReqIdDuration = hash[:backchannelAuthReqIdDuration]
635
- @backchannelPollingInterval = hash[:backchannelPollingInterval]
636
- @backchannelBindingMessageRequiredInFapi = hash[:backchannelBindingMessageRequiredInFapi]
637
- @allowableClockSkew = hash[:allowableClockSkew]
638
- @deviceAuthorizationEndpoint = hash[:deviceAuthorizationEndpoint]
639
- @deviceVerificationUri = hash[:deviceVerificationUri]
640
- @deviceVerificationUriComplete = hash[:deviceVerificationUriComplete]
641
- @deviceFlowCodeDuration = hash[:deviceFlowCodeDuration]
642
- @deviceFlowPollingInterval = hash[:deviceFlowPollingInterval]
643
- @userCodeCharset = hash[:userCodeCharset]
644
- @userCodeLength = hash[:userCodeLength]
645
- @pushedAuthReqEndpoint = hash[:pushedAuthReqEndpoint]
646
- @mtlsEndpointAliases = get_parsed_array(hash[:mtlsEndpointAliases]) { |e| Authlete::Model::NamedUri.parse(e) }
647
- @supportedAuthorizationDataTypes = hash[:supportedAuthorizationDataTypes]
648
- @supportedTrustFrameworks = hash[:supportedTrustFrameworks]
649
- @supportedEvidence = hash[:supportedEvidence]
650
- @supportedIdentityDocuments = hash[:supportedIdentityDocuments]
651
- @supportedVerificationMethods = hash[:supportedVerificationMethods]
652
- @supportedVerifiedClaims = hash[:supportedVerifiedClaims]
653
- @missingClientIdAllowed = hash[:missingClientIdAllowed]
654
- @parRequired = hash[:parRequired]
655
- @requestObjectRequired = hash[:requestObjectRequired]
656
- @traditionalRequestObjectProcessingApplied = hash[:traditionalRequestObjectProcessingApplied]
657
- @claimShortcutRestrictive = hash[:claimShortcutRestrictive]
658
- @scopeRequired = hash[:scopeRequired]
659
- @nbfOptional = hash[:nbfOptional]
660
- @issSuppressed = hash[:issSuppressed]
661
- @attributes = get_parsed_array(hash[:attributes]) { |e| Authlete::Model::Pair.parse(e) }
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