class Authlete::Model::Service

Attributes

accessTokenDuration[RW]
accessTokenSignAlg[RW]
accessTokenSignatureKeyId[RW]
accessTokenType[RW]
access_token_duration[RW]
access_token_duration=[RW]
access_token_sign_alg[RW]
access_token_sign_alg=[RW]
access_token_signature_key_id[RW]
access_token_signature_key_id=[RW]
access_token_type[RW]
access_token_type=[RW]
allowableClockSkew[RW]
allowable_clock_skew[RW]
allowable_clock_skew=[RW]
apiKey[RW]
apiSecret[RW]
api_key[RW]
api_key=[RW]
api_secret[RW]
api_secret=[RW]
attributes[RW]
authenticationCallbackApiKey[RW]
authenticationCallbackApiSecret[RW]
authenticationCallbackEndpoint[RW]
authentication_callback_api_key[RW]
authentication_callback_api_key=[RW]
authentication_callback_api_secret[RW]
authentication_callback_api_secret=[RW]
authentication_callback_endpoint[RW]
authentication_callback_endpoint=[RW]
authorizationEndpoint[RW]
authorizationResponseDuration[RW]
authorizationSignatureKeyId[RW]
authorization_endpoint[RW]
authorization_endpoint=[RW]
authorization_response_duration[RW]
authorization_response_duration=[RW]
authorization_signature_key_id[RW]
authorization_signature_key_id=[RW]
backchannelAuthReqIdDuration[RW]
backchannelAuthenticationEndpoint[RW]
backchannelBindingMessageRequiredInFapi[RW]
backchannelPollingInterval[RW]
backchannelUserCodeParameterSupported[RW]
backchannel_auth_req_id_duration[RW]
backchannel_auth_req_id_duration=[RW]
backchannel_authentication_endpoint[RW]
backchannel_authentication_endpoint=[RW]
backchannel_binding_message_required_in_fapi[RW]
backchannel_binding_message_required_in_fapi=[RW]
backchannel_polling_interval[RW]
backchannel_polling_interval=[RW]
backchannel_user_code_parameter_supported[RW]
backchannel_user_code_parameter_supported=[RW]
claimShortcutRestrictive[RW]
claim_shortcut_restrictive[RW]
claim_shortcut_restrictive=[RW]
clientIdAliasEnabled[RW]
client_id_alias_enabled[RW]
client_id_alias_enabled=[RW]
clientsPerDeveloper[RW]
clients_per_developer[RW]
clients_per_developer=[RW]
createdAt[RW]
created_at[RW]
created_at=[RW]
dcrScopeUsedAsRequestable[RW]
dcr_scope_used_as_requestable[RW]
dcr_scope_used_as_requestable=[RW]
description[RW]
developerAuthenticationCallbackApiKey[RW]
developerAuthenticationCallbackApiSecret[RW]
developerAuthenticationCallbackEndpoint[RW]
developerSnsCredentials[RW]
developer_authentication_callback_api_key[RW]
developer_authentication_callback_api_key=[RW]
developer_authentication_callback_api_secret[RW]
developer_authentication_callback_api_secret=[RW]
developer_authentication_callback_endpoint[RW]
developer_authentication_callback_endpoint=[RW]
developer_sns_credentials[RW]
developer_sns_credentials=[RW]
deviceAuthorizationEndpoint[RW]
deviceFlowCodeDuration[RW]
deviceFlowPollingInterval[RW]
deviceVerificationUri[RW]
deviceVerificationUriComplete[RW]
device_authorization_endpoint[RW]
device_authorization_endpoint=[RW]
device_flow_code_duration[RW]
device_flow_code_duration=[RW]
device_flow_polling_interval[RW]
device_flow_polling_interval=[RW]
device_verification_uri[RW]
device_verification_uri=[RW]
device_verification_uri_complete[RW]
device_verification_uri_complete=[RW]
directAuthorizationEndpointEnabled[RW]
directIntrospectionEndpointEnabled[RW]
directJwksEndpointEnabled[RW]
directRevocationEndpointEnabled[RW]
directTokenEndpointEnabled[RW]
directUserInfoEndpointEnabled[RW]
direct_authorization_endpoint_enabled[RW]
direct_authorization_endpoint_enabled=[RW]
direct_introspection_endpoint_enabled[RW]
direct_introspection_endpoint_enabled=[RW]
direct_jwks_endpoint_enabled[RW]
direct_jwks_endpoint_enabled=[RW]
direct_revocation_endpoint_enabled[RW]
direct_revocation_endpoint_enabled=[RW]
direct_token_endpoint_enabled[RW]
direct_token_endpoint_enabled=[RW]
direct_user_info_endpoint_enabled[RW]
direct_user_info_endpoint_enabled=[RW]
dynamicRegistrationSupported[RW]
dynamic_registration_supported[RW]
dynamic_registration_supported=[RW]
endSessionEndpoint[RW]
end_session_endpoint[RW]
end_session_endpoint=[RW]
errorDescriptionOmitted[RW]
errorUriOmitted[RW]
error_description_omitted[RW]
error_description_omitted=[RW]
error_uri_omitted[RW]
error_uri_omitted=[RW]
frontChannelRequestObjectEncryptionRequired[RW]
front_channel_request_object_encryption_required[RW]
front_channel_request_object_encryption_required=[RW]
grantManagementActionRequired[RW]
grantManagementEndpoint[RW]
grant_management_action_required[RW]
grant_management_action_required=[RW]
grant_management_endpoint[RW]
grant_management_endpoint=[RW]
hsks[RW]
hsmEnabled[RW]
hsm_enabled[RW]
hsm_enabled=[RW]
idTokenDuration[RW]
idTokenSignatureKeyId[RW]
id_token_duration[RW]
id_token_duration=[RW]
id_token_signature_key_id[RW]
id_token_signature_key_id=[RW]
introspectionEndpoint[RW]
introspection_endpoint[RW]
introspection_endpoint=[RW]
issSuppressed[RW]
iss_suppressed[RW]
iss_suppressed=[RW]
issuer[RW]
jwks[RW]
jwksUri[RW]
jwks_uri[RW]
jwks_uri=[RW]
metadata[RW]
missingClientIdAllowed[RW]
missing_client_id_allowed[RW]
missing_client_id_allowed=[RW]
modifiedAt[RW]
modified_at[RW]
modified_at=[RW]
mtlsEndpointAliases[RW]
mtls_endpoint_aliases[RW]
mtls_endpoint_aliases=[RW]
mutualTlsValidatePkiCertChain[RW]
mutual_tls_validate_pki_cert_chain[RW]
mutual_tls_validate_pki_cert_chain=[RW]
nbfOptional[RW]
nbf_optional[RW]
nbf_optional=[RW]
number[RW]
parRequired[RW]
par_required[RW]
par_required=[RW]
pkceRequired[RW]
pkceS256Required[RW]
pkce_required[RW]
pkce_required=[RW]
pkce_s256_required[RW]
pkce_s256_required=[RW]
policyUri[RW]
policy_uri[RW]
policy_uri=[RW]
pushedAuthReqDuration[RW]
pushedAuthReqEndpoint[RW]
pushed_auth_req_duration[RW]
pushed_auth_req_duration=[RW]
pushed_auth_req_endpoint[RW]
pushed_auth_req_endpoint=[RW]
refreshTokenDuration[RW]
refreshTokenDurationKept[RW]
refreshTokenDurationReset[RW]
refreshTokenKept[RW]
refresh_token_duration[RW]
refresh_token_duration=[RW]
refresh_token_duration_kept[RW]
refresh_token_duration_kept=[RW]
refresh_token_duration_reset[RW]
refresh_token_duration_reset=[RW]
refresh_token_kept[RW]
refresh_token_kept=[RW]
registrationEndpoint[RW]
registrationManagementEndpoint[RW]
registration_endpoint[RW]
registration_endpoint=[RW]
registration_management_endpoint[RW]
registration_management_endpoint=[RW]
requestObjectEncryptionAlgMatchRequired[RW]
requestObjectEncryptionEncMatchRequired[RW]
requestObjectRequired[RW]
request_object_encryption_alg_match_required[RW]
request_object_encryption_alg_match_required=[RW]
request_object_encryption_enc_match_required[RW]
request_object_encryption_enc_match_required=[RW]
request_object_required[RW]
request_object_required=[RW]
revocationEndpoint[RW]
revocation_endpoint[RW]
revocation_endpoint=[RW]
scopeRequired[RW]
scope_required[RW]
scope_required=[RW]
serviceDocumentation[RW]
serviceName[RW]
serviceOwnerNumber[RW]
service_documentation[RW]
service_documentation=[RW]
service_name[RW]
service_name=[RW]
service_owner_number[RW]
service_owner_number=[RW]
singleAccessTokenPerSubject[RW]
single_access_token_per_subject[RW]
single_access_token_per_subject=[RW]
snsCredentials[RW]
sns_credentials[RW]
sns_credentials=[RW]
supportedAcrs[RW]
supportedAuthorizationDetailsTypes[RW]
supportedBackchannelTokenDeliveryModes[RW]
supportedClaimLocales[RW]
supportedClaimTypes[RW]
supportedClaims[RW]
supportedCustomClientMetadata[RW]
supportedDeveloperSnses[RW]
supportedDisplays[RW]
supportedEvidence[RW]
supportedGrantTypes[RW]
supportedIdentityDocuments[RW]
supportedIntrospectionAuthMethods[RW]
supportedResponseTypes[RW]
supportedRevocationAuthMethods[RW]
supportedScopes[RW]
supportedServiceProfiles[RW]
supportedSnses[RW]
supportedTokenAuthMethods[RW]
supportedTrustFrameworks[RW]
supportedUiLocales[RW]
supportedVerificationMethods[RW]
supportedVerifiedClaims[RW]
supported_acrs[RW]
supported_acrs=[RW]
supported_authorization_details_types[RW]
supported_authorization_details_types=[RW]
supported_backchannel_token_delivery_modes[RW]
supported_backchannel_token_delivery_modes=[RW]
supported_claim_locales[RW]
supported_claim_locales=[RW]
supported_claim_types[RW]
supported_claim_types=[RW]
supported_claims[RW]
supported_claims=[RW]
supported_custom_client_metadata[RW]
supported_custom_client_metadata=[RW]
supported_developer_snses[RW]
supported_developer_snses=[RW]
supported_displays[RW]
supported_displays=[RW]
supported_evidence[RW]
supported_evidence=[RW]
supported_grant_types[RW]
supported_grant_types=[RW]
supported_identity_documents[RW]
supported_identity_documents=[RW]
supported_introspection_auth_methods[RW]
supported_introspection_auth_methods=[RW]
supported_response_types[RW]
supported_response_types=[RW]
supported_revocation_auth_methods[RW]
supported_revocation_auth_methods=[RW]
supported_scopes[RW]
supported_scopes=[RW]
supported_service_profiles[RW]
supported_service_profiles=[RW]
supported_snses[RW]
supported_snses=[RW]
supported_token_auth_methods[RW]
supported_token_auth_methods=[RW]
supported_trust_frameworks[RW]
supported_trust_frameworks=[RW]
supported_ui_locales[RW]
supported_ui_locales=[RW]
supported_verification_methods[RW]
supported_verification_methods=[RW]
supported_verified_claims[RW]
supported_verified_claims=[RW]
tlsClientCertificateBoundAccessTokens[RW]
tls_client_certificate_bound_access_tokens[RW]
tls_client_certificate_bound_access_tokens=[RW]
tokenEndpoint[RW]
tokenExpirationLinked[RW]
token_endpoint[RW]
token_endpoint=[RW]
token_expiration_linked[RW]
token_expiration_linked=[RW]
tosUri[RW]
tos_uri[RW]
tos_uri=[RW]
traditionalRequestObjectProcessingApplied[RW]
traditional_request_object_processing_applied[RW]
traditional_request_object_processing_applied=[RW]
trustedRootCertificates[RW]
trusted_root_certificates[RW]
trusted_root_certificates=[RW]
unauthorizedOnClientConfigSupported[RW]
unauthorized_on_client_config_supported[RW]
unauthorized_on_client_config_supported=[RW]
userCodeCharset[RW]
userCodeLength[RW]
userInfoEndpoint[RW]
userInfoSignatureKeyId[RW]
user_code_charset[RW]
user_code_charset=[RW]
user_code_length[RW]
user_code_length=[RW]
user_info_endpoint[RW]
user_info_endpoint=[RW]
user_info_signature_key_id[RW]
user_info_signature_key_id=[RW]

Private Instance Methods

defaults() click to toggle source
# File lib/authlete/model/service.rb, line 487
def defaults
  {
    number:                                      0,
    serviceOwnerNumber:                          0,
    serviceName:                                 nil,
    apiKey:                                      0,
    apiSecret:                                   nil,
    issuer:                                      nil,
    authorizationEndpoint:                       nil,
    tokenEndpoint:                               nil,
    revocationEndpoint:                          nil,
    supportedRevocationAuthMethods:              nil,
    userInfoEndpoint:                            nil,
    jwksUri:                                     nil,
    jwks:                                        nil,
    registrationEndpoint:                        nil,
    registrationManagementEndpoint:              nil,
    supportedScopes:                             nil,
    supportedResponseTypes:                      nil,
    supportedGrantTypes:                         nil,
    supportedAcrs:                               nil,
    supportedTokenAuthMethods:                   nil,
    supportedDisplays:                           nil,
    supportedClaimTypes:                         nil,
    supportedClaims:                             nil,
    serviceDocumentation:                        nil,
    supportedClaimLocales:                       nil,
    supportedUiLocales:                          nil,
    policyUri:                                   nil,
    tosUri:                                      nil,
    authenticationCallbackEndpoint:              nil,
    authenticationCallbackApiKey:                nil,
    authenticationCallbackApiSecret:             nil,
    supportedSnses:                              nil,
    snsCredentials:                              nil,
    createdAt:                                   0,
    modifiedAt:                                  0,
    developerAuthenticationCallbackEndpoint:     nil,
    developerAuthenticationCallbackApiKey:       nil,
    developerAuthenticationCallbackApiSecret:    nil,
    supportedDeveloperSnses:                     nil,
    developerSnsCredentials:                     nil,
    clientsPerDeveloper:                         0,
    directAuthorizationEndpointEnabled:          false,
    directTokenEndpointEnabled:                  false,
    directRevocationEndpointEnabled:             false,
    directUserInfoEndpointEnabled:               false,
    directJwksEndpointEnabled:                   false,
    directIntrospectionEndpointEnabled:          false,
    singleAccessTokenPerSubject:                 false,
    pkceRequired:                                false,
    pkceS256Required:                            false,
    refreshTokenKept:                            false,
    refreshTokenDurationKept:                    false,
    errorDescriptionOmitted:                     false,
    errorUriOmitted:                             false,
    clientIdAliasEnabled:                        false,
    supportedServiceProfiles:                    nil,
    tlsClientCertificateBoundAccessTokens:       false,
    introspectionEndpoint:                       nil,
    supportedIntrospectionAuthMethods:           nil,
    mutualTlsValidatePkiCertChain:               false,
    trustedRootCertificates:                     nil,
    dynamicRegistrationSupported:                false,
    endSessionEndpoint:                          nil,
    description:                                 nil,
    accessTokenType:                             nil,
    accessTokenSignAlg:                          nil,
    accessTokenDuration:                         0,
    refreshTokenDuration:                        0,
    idTokenDuration:                             0,
    authorizationResponseDuration:               0,
    pushedAuthReqDuration:                       0,
    metadata:                                    nil,
    accessTokenSignatureKeyId:                   nil,
    authorizationSignatureKeyId:                 nil,
    idTokenSignatureKeyId:                       nil,
    userInfoSignatureKeyId:                      nil,
    supportedBackchannelTokenDeliveryModes:      nil,
    backchannelAuthenticationEndpoint:           nil,
    backchannelUserCodeParameterSupported:       false,
    backchannelAuthReqIdDuration:                0,
    backchannelPollingInterval:                  0,
    backchannelBindingMessageRequiredInFapi:     false,
    allowableClockSkew:                          0,
    deviceAuthorizationEndpoint:                 nil,
    deviceVerificationUri:                       nil,
    deviceVerificationUriComplete:               nil,
    deviceFlowCodeDuration:                      0,
    deviceFlowPollingInterval:                   0,
    userCodeCharset:                             nil,
    userCodeLength:                              0,
    pushedAuthReqEndpoint:                       nil,
    mtlsEndpointAliases:                         nil,
    supportedAuthorizationDetailsTypes:          nil,
    supportedTrustFrameworks:                    nil,
    supportedEvidence:                           nil,
    supportedIdentityDocuments:                  nil,
    supportedVerificationMethods:                nil,
    supportedVerifiedClaims:                     nil,
    missingClientIdAllowed:                      false,
    parRequired:                                 false,
    requestObjectRequired:                       false,
    traditionalRequestObjectProcessingApplied:   false,
    claimShortcutRestrictive:                    false,
    scopeRequired:                               false,
    nbfOptional:                                 false,
    issSuppressed:                               false,
    attributes:                                  nil,
    supportedCustomClientMetadata:               nil,
    tokenExpirationLinked:                       false,
    frontChannelRequestObjectEncryptionRequired: false,
    requestObjectEncryptionAlgMatchRequired:     false,
    requestObjectEncryptionEncMatchRequired:     false,
    hsks:                                        nil,
    hsmEnabled:                                  false,
    refreshTokenDurationReset:                   false,
    grantManagementEndpoint:                     nil,
    grantManagementActionRequired:               false,
    unauthorizedOnClientConfigSupported:         false,
    dcrScopeUsedAsRequestable:                   false
  }
end
set_params(hash) click to toggle source
# File lib/authlete/model/service.rb, line 611
def set_params(hash)
  @number                                      = hash[:number]
  @serviceOwnerNumber                          = hash[:serviceOwnerNumber]
  @serviceName                                 = hash[:serviceName]
  @apiKey                                      = hash[:apiKey]
  @apiSecret                                   = hash[:apiSecret]
  @issuer                                      = hash[:issuer]
  @authorizationEndpoint                       = hash[:authorizationEndpoint]
  @tokenEndpoint                               = hash[:tokenEndpoint]
  @revocationEndpoint                          = hash[:revocationEndpoint]
  @supportedRevocationAuthMethods              = hash[:supportedRevocationAuthMethods]
  @userInfoEndpoint                            = hash[:userInfoEndpoint]
  @jwksUri                                     = hash[:jwksUri]
  @jwks                                        = hash[:jwks]
  @registrationEndpoint                        = hash[:registrationEndpoint]
  @registrationManagementEndpoint              = hash[:registrationManagementEndpoint]
  @supportedScopes                             = get_parsed_array(hash[:supportedScopes]) { |e| Authlete::Model::Scope.parse(e) }
  @supportedResponseTypes                      = hash[:supportedResponseTypes]
  @supportedGrantTypes                         = hash[:supportedGrantTypes]
  @supportedAcrs                               = hash[:supportedAcrs]
  @supportedTokenAuthMethods                   = hash[:supportedTokenAuthMethods]
  @supportedDisplays                           = hash[:supportedDisplays]
  @supportedClaimTypes                         = hash[:supportedClaimTypes]
  @supportedClaims                             = hash[:supportedClaims]
  @serviceDocumentation                        = hash[:serviceDocumentation]
  @supportedClaimLocales                       = hash[:supportedClaimLocales]
  @supportedUiLocales                          = hash[:supportedUiLocales]
  @policyUri                                   = hash[:policyUri]
  @tosUri                                      = hash[:tosUri]
  @authenticationCallbackEndpoint              = hash[:authenticationCallbackEndpoint]
  @authenticationCallbackApiKey                = hash[:authenticationCallbackApiKey]
  @authenticationCallbackApiSecret             = hash[:authenticationCallbackApiSecret]
  @supportedSnses                              = hash[:supportedSnses]
  @snsCredentials                              = get_parsed_array(hash[:snsCredentials]) { |e| Authlete::Model::SnsCredentials.parse(e) }
  @createdAt                                   = hash[:createdAt]
  @modifiedAt                                  = hash[:modifiedAt]
  @developerAuthenticationCallbackEndpoint     = hash[:developerAuthenticationCallbackEndpoint]
  @developerAuthenticationCallbackApiKey       = hash[:developerAuthenticationCallbackApiKey]
  @developerAuthenticationCallbackApiSecret    = hash[:developerAuthenticationCallbackApiSecret]
  @supportedDeveloperSnses                     = hash[:supportedDeveloperSnses]
  @developerSnsCredentials                     = get_parsed_array(hash[:developerSnsCredentials]) { |e| Authlete::Model::SnsCredentials.parse(e) }
  @clientsPerDeveloper                         = hash[:clientsPerDeveloper]
  @directAuthorizationEndpointEnabled          = hash[:directAuthorizationEndpointEnabled]
  @directTokenEndpointEnabled                  = hash[:directTokenEndpointEnabled]
  @directRevocationEndpointEnabled             = hash[:directRevocationEndpointEnabled]
  @directUserInfoEndpointEnabled               = hash[:directUserInfoEndpointEnabled]
  @directJwksEndpointEnabled                   = hash[:directJwksEndpointEnabled]
  @directIntrospectionEndpointEnabled          = hash[:directIntrospectionEndpointEnabled]
  @singleAccessTokenPerSubject                 = hash[:singleAccessTokenPerSubject]
  @pkceRequired                                = hash[:pkceRequired]
  @pkceS256Required                            = hash[:pkceS256Required]
  @refreshTokenKept                            = hash[:refreshTokenKept]
  @refreshTokenDurationKept                    = hash[:refreshTokenDurationKept]
  @errorDescriptionOmitted                     = hash[:errorDescriptionOmitted]
  @errorUriOmitted                             = hash[:errorUriOmitted]
  @clientIdAliasEnabled                        = hash[:clientIdAliasEnabled]
  @supportedServiceProfiles                    = hash[:supportedServiceProfiles]
  @tlsClientCertificateBoundAccessTokens       = hash[:tlsClientCertificateBoundAccessTokens]
  @introspectionEndpoint                       = hash[:introspectionEndpoint]
  @supportedIntrospectionAuthMethods           = hash[:supportedIntrospectionAuthMethods]
  @mutualTlsValidatePkiCertChain               = hash[:mutualTlsValidatePkiCertChain]
  @trustedRootCertificates                     = hash[:trustedRootCertificates]
  @dynamicRegistrationSupported                = hash[:dynamicRegistrationSupported]
  @endSessionEndpoint                          = hash[:endSessionEndpoint]
  @description                                 = hash[:description]
  @accessTokenType                             = hash[:accessTokenType]
  @accessTokenSignAlg                          = hash[:accessTokenSignAlg]
  @accessTokenDuration                         = hash[:accessTokenDuration]
  @refreshTokenDuration                        = hash[:refreshTokenDuration]
  @idTokenDuration                             = hash[:idTokenDuration]
  @authorizationResponseDuration               = hash[:authorizationResponseDuration]
  @pushedAuthReqDuration                       = hash[:pushedAuthReqDuration]
  @metadata                                    = get_parsed_array(hash[:metadata]) { |e| Authlete::Model::Pair.parse(e) }
  @accessTokenSignatureKeyId                   = hash[:accessTokenSignatureKeyId]
  @authorizationSignatureKeyId                 = hash[:authorizationSignatureKeyId]
  @idTokenSignatureKeyId                       = hash[:idTokenSignatureKeyId]
  @userInfoSignatureKeyId                      = hash[:userInfoSignatureKeyId]
  @supportedBackchannelTokenDeliveryModes      = hash[:supportedBackchannelTokenDeliveryModes]
  @backchannelAuthenticationEndpoint           = hash[:backchannelAuthenticationEndpoint]
  @backchannelUserCodeParameterSupported       = hash[:backchannelUserCodeParameterSupported]
  @backchannelAuthReqIdDuration                = hash[:backchannelAuthReqIdDuration]
  @backchannelPollingInterval                  = hash[:backchannelPollingInterval]
  @backchannelBindingMessageRequiredInFapi     = hash[:backchannelBindingMessageRequiredInFapi]
  @allowableClockSkew                          = hash[:allowableClockSkew]
  @deviceAuthorizationEndpoint                 = hash[:deviceAuthorizationEndpoint]
  @deviceVerificationUri                       = hash[:deviceVerificationUri]
  @deviceVerificationUriComplete               = hash[:deviceVerificationUriComplete]
  @deviceFlowCodeDuration                      = hash[:deviceFlowCodeDuration]
  @deviceFlowPollingInterval                   = hash[:deviceFlowPollingInterval]
  @userCodeCharset                             = hash[:userCodeCharset]
  @userCodeLength                              = hash[:userCodeLength]
  @pushedAuthReqEndpoint                       = hash[:pushedAuthReqEndpoint]
  @mtlsEndpointAliases                         = get_parsed_array(hash[:mtlsEndpointAliases]) { |e| Authlete::Model::NamedUri.parse(e) }
  @supportedAuthorizationDetailsTypes          = hash[:supportedAuthorizationDetailsTypes]
  @supportedTrustFrameworks                    = hash[:supportedTrustFrameworks]
  @supportedEvidence                           = hash[:supportedEvidence]
  @supportedIdentityDocuments                  = hash[:supportedIdentityDocuments]
  @supportedVerificationMethods                = hash[:supportedVerificationMethods]
  @supportedVerifiedClaims                     = hash[:supportedVerifiedClaims]
  @missingClientIdAllowed                      = hash[:missingClientIdAllowed]
  @parRequired                                 = hash[:parRequired]
  @requestObjectRequired                       = hash[:requestObjectRequired]
  @traditionalRequestObjectProcessingApplied   = hash[:traditionalRequestObjectProcessingApplied]
  @claimShortcutRestrictive                    = hash[:claimShortcutRestrictive]
  @scopeRequired                               = hash[:scopeRequired]
  @nbfOptional                                 = hash[:nbfOptional]
  @issSuppressed                               = hash[:issSuppressed]
  @attributes                                  = get_parsed_array(hash[:attributes]) { |e| Authlete::Model::Pair.parse(e) }
  @supportedCustomClientMetadata               = hash[:supportedCustomClientMetadata]
  @tokenExpirationLinked                       = hash[:tokenExpirationLinked]
  @frontChannelRequestObjectEncryptionRequired = hash[:frontChannelRequestObjectEncryptionRequired]
  @requestObjectEncryptionAlgMatchRequired     = hash[:requestObjectEncryptionAlgMatchRequired]
  @requestObjectEncryptionEncMatchRequired     = hash[:requestObjectEncryptionEncMatchRequired]
  @hsks                                        = get_parsed_array(hash[:hsks]) { |e| Authlete::Model::Hsk.parse(e) }
  @hsmEnabled                                  = hash[:hsmEnabled]
  @refreshTokenDurationReset                   = hash[:refreshTokenDurationReset]
  @grantManagementEndpoint                     = hash[:grantManagementEndpoint]
  @grantManagementActionRequired               = hash[:grantManagementActionRequired]
  @unauthorizedOnClientConfigSupported         = hash[:unauthorizedOnClientConfigSupported]
  @dcrScopeUsedAsRequestable                   = hash[:dcrScopeUsedAsRequestable]
end
to_hash_value(key, var) click to toggle source
# File lib/authlete/model/service.rb, line 733
def to_hash_value(key, var)
  raw_val = instance_variable_get(var)

  case key
    when :snsCredentials, :developerSnsCredentials, :supportedScopes,
         :metadata, :mtlsEndpointAliases, :attributes, :hsks
      raw_val&.map { |e| e.to_hash }
    else
      raw_val
  end
end