authlete 1.6.0 → 1.7.0

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