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