authlete_ruby_sdk 0.0.2.beta → 0.0.5.pre.beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/authlete/authorization.rb +24 -563
- data/lib/authlete/authorization_management.rb +15 -7
- data/lib/authlete/ciba.rb +35 -414
- data/lib/authlete/client.rb +4 -2
- data/lib/authlete/client_management.rb +1292 -95
- data/lib/authlete/clients.rb +47 -27
- data/lib/authlete/device_flow.rb +24 -147
- data/lib/authlete/dynamic_client_registration.rb +31 -283
- data/lib/authlete/federation.rb +17 -66
- data/lib/authlete/grant_management.rb +10 -5
- data/lib/authlete/hardware_security_keys.rb +24 -10
- data/lib/authlete/introspection.rb +17 -195
- data/lib/authlete/jose_object.rb +10 -5
- data/lib/authlete/jwk_set_endpoint.rb +24 -7
- data/lib/authlete/lifecycle.rb +151 -0
- data/lib/authlete/models/components/access_token.rb +9 -10
- data/lib/authlete/models/components/access_token.rbi +1 -1
- data/lib/authlete/models/components/application_type.rb +1 -4
- data/lib/authlete/models/components/application_type.rbi +1 -1
- data/lib/authlete/models/components/attachment_type.rb +1 -4
- data/lib/authlete/models/components/attachment_type.rbi +1 -1
- data/lib/authlete/models/components/authorization_details_element.rb +16 -17
- data/lib/authlete/models/components/authorization_details_element.rbi +1 -1
- data/lib/authlete/models/components/authorization_fail_request.rb +4 -5
- data/lib/authlete/models/components/authorization_fail_request.rbi +1 -1
- data/lib/authlete/models/components/authorization_fail_request_reason.rb +1 -4
- data/lib/authlete/models/components/authorization_fail_request_reason.rbi +1 -1
- data/lib/authlete/models/components/authorization_fail_response.rb +2 -3
- data/lib/authlete/models/components/authorization_fail_response.rbi +1 -1
- data/lib/authlete/models/components/authorization_fail_response_action.rb +0 -3
- data/lib/authlete/models/components/authorization_fail_response_action.rbi +1 -1
- data/lib/authlete/models/components/authorization_issue_request.rb +19 -84
- data/lib/authlete/models/components/authorization_issue_request.rbi +1 -1
- data/lib/authlete/models/components/authorization_issue_response.rb +8 -9
- data/lib/authlete/models/components/authorization_issue_response.rbi +1 -1
- data/lib/authlete/models/components/authorization_issue_response_action.rb +0 -3
- data/lib/authlete/models/components/authorization_issue_response_action.rbi +1 -1
- data/lib/authlete/models/components/authorization_request.rb +7 -8
- data/lib/authlete/models/components/authorization_request.rbi +1 -1
- data/lib/authlete/models/components/authorization_response.rb +86 -186
- data/lib/authlete/models/components/authorization_response.rbi +1 -3
- data/lib/authlete/models/components/authorization_response_action.rb +0 -3
- data/lib/authlete/models/components/authorization_response_action.rbi +1 -1
- data/lib/authlete/models/components/authorization_ticket_info.rb +1 -2
- data/lib/authlete/models/components/authorization_ticket_info.rbi +1 -1
- data/lib/authlete/models/components/authorization_ticket_info_request.rb +0 -1
- data/lib/authlete/models/components/authorization_ticket_info_request.rbi +1 -1
- data/lib/authlete/models/components/authorization_ticket_info_response.rb +1 -2
- data/lib/authlete/models/components/authorization_ticket_info_response.rbi +1 -1
- data/lib/authlete/models/components/authorization_ticket_info_response_action.rb +0 -3
- data/lib/authlete/models/components/authorization_ticket_info_response_action.rbi +1 -1
- data/lib/authlete/models/components/authorization_ticket_update_request.rb +0 -1
- data/lib/authlete/models/components/authorization_ticket_update_request.rbi +1 -1
- data/lib/authlete/models/components/authorization_ticket_update_response.rb +4 -5
- data/lib/authlete/models/components/authorization_ticket_update_response.rbi +1 -1
- data/lib/authlete/models/components/authorization_ticket_update_response_action.rb +0 -3
- data/lib/authlete/models/components/authorization_ticket_update_response_action.rbi +1 -1
- data/lib/authlete/models/components/authz_details.rb +2 -3
- data/lib/authlete/models/components/authz_details.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_complete_request.rb +23 -24
- data/lib/authlete/models/components/backchannel_authentication_complete_request.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_complete_request_result.rb +1 -4
- data/lib/authlete/models/components/backchannel_authentication_complete_request_result.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_complete_response.rb +30 -31
- data/lib/authlete/models/components/backchannel_authentication_complete_response.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_complete_response_action.rb +1 -4
- data/lib/authlete/models/components/backchannel_authentication_complete_response_action.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_fail_request.rb +5 -6
- data/lib/authlete/models/components/backchannel_authentication_fail_request.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_fail_request_reason.rb +1 -4
- data/lib/authlete/models/components/backchannel_authentication_fail_request_reason.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_fail_response.rb +2 -3
- data/lib/authlete/models/components/backchannel_authentication_fail_response.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_fail_response_action.rb +0 -3
- data/lib/authlete/models/components/backchannel_authentication_fail_response_action.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_issue_request.rb +1 -2
- data/lib/authlete/models/components/backchannel_authentication_issue_request.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_issue_response.rb +5 -6
- data/lib/authlete/models/components/backchannel_authentication_issue_response.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_issue_response_action.rb +0 -3
- data/lib/authlete/models/components/backchannel_authentication_issue_response_action.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_request.rb +12 -13
- data/lib/authlete/models/components/backchannel_authentication_request.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_response.rb +47 -57
- data/lib/authlete/models/components/backchannel_authentication_response.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_response_action.rb +0 -3
- data/lib/authlete/models/components/backchannel_authentication_response_action.rbi +1 -1
- data/lib/authlete/models/components/cimd_options.rb +15 -16
- data/lib/authlete/models/components/cimd_options.rbi +1 -1
- data/lib/authlete/models/components/claim_type.rb +0 -3
- data/lib/authlete/models/components/claim_type.rbi +1 -1
- data/lib/authlete/models/components/client.rb +160 -310
- data/lib/authlete/models/components/client.rbi +1 -1
- data/lib/authlete/models/components/client_auth_method.rb +1 -4
- data/lib/authlete/models/components/client_auth_method.rbi +1 -1
- data/lib/authlete/models/components/client_authorization_delete_response.rb +4 -5
- data/lib/authlete/models/components/client_authorization_delete_response.rbi +1 -1
- data/lib/authlete/models/components/client_authorization_get_list_request.rb +44 -0
- data/lib/authlete/models/components/client_authorization_get_list_request.rbi +19 -0
- data/lib/authlete/models/components/client_authorization_get_list_response.rb +6 -7
- data/lib/authlete/models/components/client_authorization_get_list_response.rbi +1 -1
- data/lib/authlete/models/components/client_authorization_update_request.rb +2 -3
- data/lib/authlete/models/components/client_authorization_update_request.rbi +1 -1
- data/lib/authlete/models/components/client_authorization_update_response.rb +0 -1
- data/lib/authlete/models/components/client_authorization_update_response.rbi +1 -1
- data/lib/authlete/models/components/{clientsource.rb → client_clientsource.rb} +3 -6
- data/lib/authlete/models/components/client_clientsource.rbi +11 -0
- data/lib/authlete/models/components/client_extension.rb +9 -20
- data/lib/authlete/models/components/client_extension.rbi +1 -1
- data/lib/authlete/models/components/client_extension_requestable_scopes_get_response.rb +2 -2
- data/lib/authlete/models/components/client_extension_requestable_scopes_get_response.rbi +1 -1
- data/lib/authlete/models/components/client_extension_requestable_scopes_update_request.rb +4 -5
- data/lib/authlete/models/components/client_extension_requestable_scopes_update_request.rbi +1 -1
- data/lib/authlete/models/components/client_extension_requestable_scopes_update_response.rb +0 -1
- data/lib/authlete/models/components/client_extension_requestable_scopes_update_response.rbi +1 -1
- data/lib/authlete/models/components/client_flag_update_request.rb +1 -2
- data/lib/authlete/models/components/client_flag_update_request.rbi +1 -1
- data/lib/authlete/models/components/client_flag_update_response.rb +0 -1
- data/lib/authlete/models/components/client_flag_update_response.rbi +1 -1
- data/lib/authlete/models/components/client_get_list_response.rb +4 -5
- data/lib/authlete/models/components/client_get_list_response.rbi +1 -1
- data/lib/authlete/models/components/client_granted_scopes_delete_response.rb +0 -1
- data/lib/authlete/models/components/client_granted_scopes_delete_response.rbi +1 -1
- data/lib/authlete/models/components/client_input.rb +155 -295
- data/lib/authlete/models/components/client_input.rbi +1 -1
- data/lib/authlete/models/components/client_limited.rb +7 -8
- data/lib/authlete/models/components/client_limited.rbi +1 -1
- data/lib/authlete/models/components/client_limited_authorization.rb +217 -20
- data/lib/authlete/models/components/client_limited_authorization.rbi +65 -1
- data/lib/authlete/models/components/client_limited_authorization_clientsource.rb +23 -0
- data/lib/authlete/models/components/client_limited_authorization_clientsource.rbi +11 -0
- data/lib/authlete/models/components/client_registration_response.rb +3 -4
- data/lib/authlete/models/components/client_registration_response.rbi +1 -1
- data/lib/authlete/models/components/client_registration_response_action.rb +1 -4
- data/lib/authlete/models/components/client_registration_response_action.rbi +1 -1
- data/lib/authlete/models/components/client_registration_type.rb +1 -4
- data/lib/authlete/models/components/client_registration_type.rbi +1 -1
- data/lib/authlete/models/components/client_secret_refresh_response.rb +2 -3
- data/lib/authlete/models/components/client_secret_refresh_response.rbi +1 -1
- data/lib/authlete/models/components/client_secret_update_request.rb +1 -2
- data/lib/authlete/models/components/client_secret_update_request.rbi +1 -1
- data/lib/authlete/models/components/client_secret_update_response.rb +2 -3
- data/lib/authlete/models/components/client_secret_update_response.rbi +1 -1
- data/lib/authlete/models/components/client_type.rb +1 -4
- data/lib/authlete/models/components/client_type.rbi +1 -1
- data/lib/authlete/models/components/credential_issuance_order.rb +1 -2
- data/lib/authlete/models/components/credential_issuance_order.rbi +1 -1
- data/lib/authlete/models/components/credential_issuer_metadata.rb +5 -6
- data/lib/authlete/models/components/credential_issuer_metadata.rbi +1 -1
- data/lib/authlete/models/components/credential_offer_info.rb +12 -21
- data/lib/authlete/models/components/credential_offer_info.rbi +1 -1
- data/lib/authlete/models/components/credential_request_info.rb +0 -1
- data/lib/authlete/models/components/credential_request_info.rbi +1 -1
- data/lib/authlete/models/components/delivery_mode.rb +0 -3
- data/lib/authlete/models/components/delivery_mode.rbi +1 -1
- data/lib/authlete/models/components/device_authorization_request.rb +12 -13
- data/lib/authlete/models/components/device_authorization_request.rbi +1 -1
- data/lib/authlete/models/components/device_authorization_response.rb +39 -49
- data/lib/authlete/models/components/device_authorization_response.rbi +1 -1
- data/lib/authlete/models/components/device_authorization_response_action.rb +0 -3
- data/lib/authlete/models/components/device_authorization_response_action.rbi +1 -1
- data/lib/authlete/models/components/device_complete_request.rb +22 -23
- data/lib/authlete/models/components/device_complete_request.rbi +1 -1
- data/lib/authlete/models/components/device_complete_request_result.rb +1 -4
- data/lib/authlete/models/components/device_complete_request_result.rbi +1 -1
- data/lib/authlete/models/components/device_complete_response.rb +2 -3
- data/lib/authlete/models/components/device_complete_response.rbi +1 -1
- data/lib/authlete/models/components/device_complete_response_action.rb +1 -4
- data/lib/authlete/models/components/device_complete_response_action.rbi +1 -1
- data/lib/authlete/models/components/device_verification_request.rb +1 -2
- data/lib/authlete/models/components/device_verification_request.rbi +1 -1
- data/lib/authlete/models/components/device_verification_response.rb +32 -33
- data/lib/authlete/models/components/device_verification_response.rbi +1 -1
- data/lib/authlete/models/components/device_verification_response_action.rb +0 -3
- data/lib/authlete/models/components/device_verification_response_action.rbi +1 -1
- data/lib/authlete/models/components/display.rb +3 -6
- data/lib/authlete/models/components/display.rbi +1 -1
- data/lib/authlete/models/components/dynamic_scope.rb +0 -1
- data/lib/authlete/models/components/dynamic_scope.rbi +1 -1
- data/lib/authlete/models/components/fapi_mode.rb +0 -3
- data/lib/authlete/models/components/fapi_mode.rbi +1 -1
- data/lib/authlete/models/components/federation_configuration_response.rb +2 -3
- data/lib/authlete/models/components/federation_configuration_response.rbi +1 -1
- data/lib/authlete/models/components/federation_configuration_response_action.rb +0 -3
- data/lib/authlete/models/components/federation_configuration_response_action.rbi +1 -1
- data/lib/authlete/models/components/federation_registration_request.rb +2 -3
- data/lib/authlete/models/components/federation_registration_request.rbi +1 -1
- data/lib/authlete/models/components/federation_registration_response.rb +2 -3
- data/lib/authlete/models/components/federation_registration_response.rbi +1 -1
- data/lib/authlete/models/components/federation_registration_response_action.rb +0 -3
- data/lib/authlete/models/components/federation_registration_response_action.rbi +1 -1
- data/lib/authlete/models/components/g_m_request.rb +13 -14
- data/lib/authlete/models/components/g_m_request.rbi +1 -1
- data/lib/authlete/models/components/g_m_response.rb +3 -4
- data/lib/authlete/models/components/g_m_response.rbi +1 -1
- data/lib/authlete/models/components/g_m_response_action.rb +0 -3
- data/lib/authlete/models/components/g_m_response_action.rbi +1 -1
- data/lib/authlete/models/components/grant.rb +2 -3
- data/lib/authlete/models/components/grant.rbi +1 -1
- data/lib/authlete/models/components/grant_management_action.rb +2 -5
- data/lib/authlete/models/components/grant_management_action.rbi +1 -1
- data/lib/authlete/models/components/grant_scope.rb +2 -3
- data/lib/authlete/models/components/grant_scope.rbi +1 -1
- data/lib/authlete/models/components/grant_type.rb +1 -4
- data/lib/authlete/models/components/grant_type.rbi +1 -1
- data/lib/authlete/models/components/hsk.rb +8 -9
- data/lib/authlete/models/components/hsk.rbi +1 -1
- data/lib/authlete/models/components/hsk_create_request.rb +6 -7
- data/lib/authlete/models/components/hsk_create_request.rbi +1 -1
- data/lib/authlete/models/components/hsk_create_response.rb +2 -3
- data/lib/authlete/models/components/hsk_create_response.rbi +1 -1
- data/lib/authlete/models/components/hsk_create_response_action.rb +0 -3
- data/lib/authlete/models/components/hsk_create_response_action.rbi +1 -1
- data/lib/authlete/models/components/hsk_delete_response.rb +2 -3
- data/lib/authlete/models/components/hsk_delete_response.rbi +1 -1
- data/lib/authlete/models/components/hsk_delete_response_action.rb +0 -3
- data/lib/authlete/models/components/hsk_delete_response_action.rbi +1 -1
- data/lib/authlete/models/components/hsk_get_list_response.rb +1 -2
- data/lib/authlete/models/components/hsk_get_list_response.rbi +1 -1
- data/lib/authlete/models/components/hsk_get_list_response_action.rb +0 -3
- data/lib/authlete/models/components/hsk_get_list_response_action.rbi +1 -1
- data/lib/authlete/models/components/hsk_get_response.rb +2 -3
- data/lib/authlete/models/components/hsk_get_response.rbi +1 -1
- data/lib/authlete/models/components/hsk_get_response_action.rb +0 -3
- data/lib/authlete/models/components/hsk_get_response_action.rbi +1 -1
- data/lib/authlete/models/components/idtoken_reissue_request.rb +7 -8
- data/lib/authlete/models/components/idtoken_reissue_request.rbi +1 -1
- data/lib/authlete/models/components/idtoken_reissue_response.rb +3 -4
- data/lib/authlete/models/components/idtoken_reissue_response.rbi +1 -1
- data/lib/authlete/models/components/idtoken_reissue_response_action.rb +0 -3
- data/lib/authlete/models/components/idtoken_reissue_response_action.rbi +1 -1
- data/lib/authlete/models/components/introspection_request.rb +24 -41
- data/lib/authlete/models/components/introspection_request.rbi +1 -1
- data/lib/authlete/models/components/introspection_response.rb +36 -46
- data/lib/authlete/models/components/introspection_response.rbi +1 -1
- data/lib/authlete/models/components/introspection_response_action.rb +0 -3
- data/lib/authlete/models/components/introspection_response_action.rbi +1 -1
- data/lib/authlete/models/components/jose_verify_request.rb +5 -6
- data/lib/authlete/models/components/jose_verify_request.rbi +1 -1
- data/lib/authlete/models/components/jose_verify_response.rb +5 -6
- data/lib/authlete/models/components/jose_verify_response.rbi +1 -1
- data/lib/authlete/models/components/jwe_alg.rb +2 -5
- data/lib/authlete/models/components/jwe_alg.rbi +1 -1
- data/lib/authlete/models/components/jwe_enc.rb +1 -4
- data/lib/authlete/models/components/jwe_enc.rbi +1 -1
- data/lib/authlete/models/components/jws_alg.rb +2 -5
- data/lib/authlete/models/components/jws_alg.rbi +1 -1
- data/lib/authlete/models/components/named_uri.rb +0 -1
- data/lib/authlete/models/components/named_uri.rbi +1 -1
- data/lib/authlete/models/components/native_sso_logout_request.rb +1 -2
- data/lib/authlete/models/components/native_sso_logout_request.rbi +1 -1
- data/lib/authlete/models/components/native_sso_logout_response.rb +3 -4
- data/lib/authlete/models/components/native_sso_logout_response.rbi +1 -1
- data/lib/authlete/models/components/native_sso_logout_response_action.rb +1 -4
- data/lib/authlete/models/components/native_sso_logout_response_action.rbi +1 -1
- data/lib/authlete/models/components/native_sso_request.rb +8 -25
- data/lib/authlete/models/components/native_sso_request.rbi +1 -1
- data/lib/authlete/models/components/native_sso_response.rb +4 -5
- data/lib/authlete/models/components/native_sso_response.rbi +1 -1
- data/lib/authlete/models/components/native_sso_response_action.rb +1 -4
- data/lib/authlete/models/components/native_sso_response_action.rbi +1 -1
- data/lib/authlete/models/components/pair.rb +0 -1
- data/lib/authlete/models/components/pair.rbi +1 -1
- data/lib/authlete/models/components/prompt.rb +3 -6
- data/lib/authlete/models/components/prompt.rbi +1 -1
- data/lib/authlete/models/components/property.rb +1 -2
- data/lib/authlete/models/components/property.rbi +1 -1
- data/lib/authlete/models/components/pushed_authorization_request.rb +11 -12
- data/lib/authlete/models/components/pushed_authorization_request.rbi +1 -1
- data/lib/authlete/models/components/pushed_authorization_response.rb +6 -7
- data/lib/authlete/models/components/pushed_authorization_response.rbi +1 -1
- data/lib/authlete/models/components/pushed_authorization_response_action.rb +0 -3
- data/lib/authlete/models/components/pushed_authorization_response_action.rbi +1 -1
- data/lib/authlete/models/components/pushed_authorization_response_clientauthmethod.rb +2 -4
- data/lib/authlete/models/components/pushed_authorization_response_clientauthmethod.rbi +1 -1
- data/lib/authlete/models/components/response_type.rb +0 -3
- data/lib/authlete/models/components/response_type.rbi +1 -1
- data/lib/authlete/models/components/responsemode.rb +0 -3
- data/lib/authlete/models/components/responsemode.rbi +1 -1
- data/lib/authlete/models/components/revocation_request.rb +10 -11
- data/lib/authlete/models/components/revocation_request.rbi +1 -1
- data/lib/authlete/models/components/revocation_response.rb +2 -3
- data/lib/authlete/models/components/revocation_response.rbi +1 -1
- data/lib/authlete/models/components/revocation_response_action.rb +0 -3
- data/lib/authlete/models/components/revocation_response_action.rbi +1 -1
- data/lib/authlete/models/components/scope.rb +0 -1
- data/lib/authlete/models/components/scope.rbi +1 -1
- data/lib/authlete/models/components/security.rb +3 -4
- data/lib/authlete/models/components/security.rbi +1 -1
- data/lib/authlete/models/components/service.rb +248 -600
- data/lib/authlete/models/components/service.rbi +1 -1
- data/lib/authlete/models/components/service_get_list_response.rb +4 -5
- data/lib/authlete/models/components/service_get_list_response.rbi +1 -1
- data/lib/authlete/models/components/service_input.rb +242 -594
- data/lib/authlete/models/components/service_input.rbi +1 -1
- data/lib/authlete/models/components/service_jwks_get_response.rb +0 -1
- data/lib/authlete/models/components/service_jwks_get_response.rbi +1 -1
- data/lib/authlete/models/components/service_profile.rb +0 -3
- data/lib/authlete/models/components/service_profile.rbi +1 -1
- data/lib/authlete/models/components/sns_credentials.rb +0 -1
- data/lib/authlete/models/components/sns_credentials.rbi +1 -1
- data/lib/authlete/models/components/standard_introspection_request.rb +22 -23
- data/lib/authlete/models/components/standard_introspection_request.rbi +1 -1
- data/lib/authlete/models/components/standard_introspection_response.rb +2 -3
- data/lib/authlete/models/components/standard_introspection_response.rbi +1 -1
- data/lib/authlete/models/components/standard_introspection_response_action.rb +1 -3
- data/lib/authlete/models/components/standard_introspection_response_action.rbi +1 -1
- data/lib/authlete/models/components/subject_type.rb +2 -5
- data/lib/authlete/models/components/subject_type.rbi +1 -1
- data/lib/authlete/models/components/supportedsnse.rb +0 -3
- data/lib/authlete/models/components/supportedsnse.rbi +1 -1
- data/lib/authlete/models/components/tagged_value.rb +0 -1
- data/lib/authlete/models/components/tagged_value.rbi +1 -1
- data/lib/authlete/models/components/token_create_request.rb +30 -63
- data/lib/authlete/models/components/token_create_request.rbi +1 -1
- data/lib/authlete/models/components/token_create_response.rb +18 -19
- data/lib/authlete/models/components/token_create_response.rbi +1 -1
- data/lib/authlete/models/components/token_create_response_action.rb +0 -3
- data/lib/authlete/models/components/token_create_response_action.rbi +1 -1
- data/lib/authlete/models/components/token_fail_request.rb +3 -4
- data/lib/authlete/models/components/token_fail_request.rbi +1 -1
- data/lib/authlete/models/components/token_fail_request_reason.rb +1 -4
- data/lib/authlete/models/components/token_fail_request_reason.rbi +1 -1
- data/lib/authlete/models/components/token_fail_response.rb +2 -3
- data/lib/authlete/models/components/token_fail_response.rbi +1 -1
- data/lib/authlete/models/components/token_fail_response_action.rb +0 -3
- data/lib/authlete/models/components/token_fail_response_action.rbi +1 -1
- data/lib/authlete/models/components/token_get_list_response.rb +5 -6
- data/lib/authlete/models/components/token_get_list_response.rbi +1 -1
- data/lib/authlete/models/components/token_info.rb +8 -9
- data/lib/authlete/models/components/token_info.rbi +1 -1
- data/lib/authlete/models/components/token_issue_request.rb +9 -10
- data/lib/authlete/models/components/token_issue_request.rbi +1 -1
- data/lib/authlete/models/components/token_issue_response.rb +21 -22
- data/lib/authlete/models/components/token_issue_response.rbi +1 -1
- data/lib/authlete/models/components/token_issue_response_action.rb +0 -3
- data/lib/authlete/models/components/token_issue_response_action.rbi +1 -1
- data/lib/authlete/models/components/token_request.rb +27 -28
- data/lib/authlete/models/components/token_request.rbi +1 -1
- data/lib/authlete/models/components/token_response.rb +55 -63
- data/lib/authlete/models/components/token_response.rbi +3 -1
- data/lib/authlete/models/components/token_response_action.rb +2 -3
- data/lib/authlete/models/components/token_response_action.rbi +1 -1
- data/lib/authlete/models/components/token_revoke_request.rb +7 -8
- data/lib/authlete/models/components/token_revoke_request.rbi +1 -1
- data/lib/authlete/models/components/token_revoke_response.rb +0 -1
- data/lib/authlete/models/components/token_revoke_response.rbi +1 -1
- data/lib/authlete/models/components/token_type.rb +1 -4
- data/lib/authlete/models/components/token_type.rbi +1 -1
- data/lib/authlete/models/components/token_update_request.rb +19 -20
- data/lib/authlete/models/components/token_update_request.rbi +1 -1
- data/lib/authlete/models/components/token_update_response.rb +9 -10
- data/lib/authlete/models/components/token_update_response.rbi +1 -1
- data/lib/authlete/models/components/token_update_response_action.rb +0 -3
- data/lib/authlete/models/components/token_update_response_action.rbi +1 -1
- data/lib/authlete/models/components/trust_anchor.rb +2 -3
- data/lib/authlete/models/components/trust_anchor.rbi +1 -1
- data/lib/authlete/models/components/user_code_charset.rb +1 -4
- data/lib/authlete/models/components/user_code_charset.rbi +1 -1
- data/lib/authlete/models/components/userinfo_issue_request.rb +7 -68
- data/lib/authlete/models/components/userinfo_issue_request.rbi +1 -1
- data/lib/authlete/models/components/userinfo_issue_response.rb +5 -6
- data/lib/authlete/models/components/userinfo_issue_response.rbi +1 -1
- data/lib/authlete/models/components/userinfo_issue_response_action.rb +0 -3
- data/lib/authlete/models/components/userinfo_issue_response_action.rbi +1 -1
- data/lib/authlete/models/components/userinfo_request.rb +15 -41
- data/lib/authlete/models/components/userinfo_request.rbi +1 -1
- data/lib/authlete/models/components/userinfo_response.rb +46 -90
- data/lib/authlete/models/components/userinfo_response.rbi +1 -1
- data/lib/authlete/models/components/userinfo_response_action.rb +0 -3
- data/lib/authlete/models/components/userinfo_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_batch_issue_request.rb +0 -1
- data/lib/authlete/models/components/vci_batch_issue_request.rbi +1 -1
- data/lib/authlete/models/components/vci_batch_issue_response.rb +3 -4
- data/lib/authlete/models/components/vci_batch_issue_response.rbi +1 -1
- data/lib/authlete/models/components/vci_batch_issue_response_action.rb +1 -4
- data/lib/authlete/models/components/vci_batch_issue_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_batch_parse_request.rb +0 -1
- data/lib/authlete/models/components/vci_batch_parse_request.rbi +1 -1
- data/lib/authlete/models/components/vci_batch_parse_response.rb +2 -3
- data/lib/authlete/models/components/vci_batch_parse_response.rbi +1 -1
- data/lib/authlete/models/components/vci_batch_parse_response_action.rb +0 -3
- data/lib/authlete/models/components/vci_batch_parse_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_deferred_issue_request.rb +0 -1
- data/lib/authlete/models/components/vci_deferred_issue_request.rbi +1 -1
- data/lib/authlete/models/components/vci_deferred_issue_response.rb +3 -4
- data/lib/authlete/models/components/vci_deferred_issue_response.rbi +1 -1
- data/lib/authlete/models/components/vci_deferred_issue_response_action.rb +1 -4
- data/lib/authlete/models/components/vci_deferred_issue_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_deferred_parse_request.rb +0 -1
- data/lib/authlete/models/components/vci_deferred_parse_request.rbi +1 -1
- data/lib/authlete/models/components/vci_deferred_parse_response.rb +1 -2
- data/lib/authlete/models/components/vci_deferred_parse_response.rbi +1 -1
- data/lib/authlete/models/components/vci_deferred_parse_response_action.rb +0 -3
- data/lib/authlete/models/components/vci_deferred_parse_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_jwks_request.rb +1 -2
- data/lib/authlete/models/components/vci_jwks_request.rbi +1 -1
- data/lib/authlete/models/components/vci_jwks_response.rb +3 -4
- data/lib/authlete/models/components/vci_jwks_response.rbi +1 -1
- data/lib/authlete/models/components/vci_jwks_response_action.rb +1 -4
- data/lib/authlete/models/components/vci_jwks_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_jwtissuer_request.rb +1 -2
- data/lib/authlete/models/components/vci_jwtissuer_request.rbi +1 -1
- data/lib/authlete/models/components/vci_jwtissuer_response.rb +3 -4
- data/lib/authlete/models/components/vci_jwtissuer_response.rbi +1 -1
- data/lib/authlete/models/components/vci_jwtissuer_response_action.rb +1 -4
- data/lib/authlete/models/components/vci_jwtissuer_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_metadata_request.rb +1 -2
- data/lib/authlete/models/components/vci_metadata_request.rbi +1 -1
- data/lib/authlete/models/components/vci_metadata_response.rb +3 -4
- data/lib/authlete/models/components/vci_metadata_response.rbi +1 -1
- data/lib/authlete/models/components/vci_metadata_response_action.rb +1 -4
- data/lib/authlete/models/components/vci_metadata_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_offer_create_request.rb +10 -80
- data/lib/authlete/models/components/vci_offer_create_request.rbi +1 -1
- data/lib/authlete/models/components/vci_offer_create_response.rb +1 -2
- data/lib/authlete/models/components/vci_offer_create_response.rbi +1 -1
- data/lib/authlete/models/components/vci_offer_create_response_action.rb +0 -3
- data/lib/authlete/models/components/vci_offer_create_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_offer_info_request.rb +0 -1
- data/lib/authlete/models/components/vci_offer_info_request.rbi +1 -1
- data/lib/authlete/models/components/vci_offer_info_response.rb +1 -2
- data/lib/authlete/models/components/vci_offer_info_response.rbi +1 -1
- data/lib/authlete/models/components/vci_offer_info_response_action.rb +0 -3
- data/lib/authlete/models/components/vci_offer_info_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_single_issue_request.rb +0 -1
- data/lib/authlete/models/components/vci_single_issue_request.rbi +1 -1
- data/lib/authlete/models/components/vci_single_issue_response.rb +4 -5
- data/lib/authlete/models/components/vci_single_issue_response.rbi +1 -1
- data/lib/authlete/models/components/vci_single_issue_response_action.rb +1 -4
- data/lib/authlete/models/components/vci_single_issue_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_single_parse_request.rb +0 -1
- data/lib/authlete/models/components/vci_single_parse_request.rbi +1 -1
- data/lib/authlete/models/components/vci_single_parse_response.rb +1 -2
- data/lib/authlete/models/components/vci_single_parse_response.rbi +1 -1
- data/lib/authlete/models/components/vci_single_parse_response_action.rb +0 -3
- data/lib/authlete/models/components/vci_single_parse_response_action.rbi +1 -1
- data/lib/authlete/models/components/verified_claims_validation_schema.rb +1 -4
- data/lib/authlete/models/components/verified_claims_validation_schema.rbi +1 -1
- data/lib/authlete/models/components.rb +3 -1
- data/lib/authlete/models/errors/apierror.rbi +2 -1
- data/lib/authlete/models/errors/result_error.rb +0 -1
- data/lib/authlete/models/errors/result_error.rbi +1 -1
- data/lib/authlete/models/operations/auth_authorization_api_request.rb +0 -1
- data/lib/authlete/models/operations/auth_authorization_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_authorization_api_response.rb +0 -1
- data/lib/authlete/models/operations/auth_authorization_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_authorization_fail_api_request.rb +0 -1
- data/lib/authlete/models/operations/auth_authorization_fail_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_authorization_fail_api_response.rb +0 -1
- data/lib/authlete/models/operations/auth_authorization_fail_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_authorization_issue_api_request.rb +0 -1
- data/lib/authlete/models/operations/auth_authorization_issue_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_authorization_issue_api_response.rb +0 -1
- data/lib/authlete/models/operations/auth_authorization_issue_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_introspection_api_request.rb +0 -1
- data/lib/authlete/models/operations/auth_introspection_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_introspection_api_response.rb +0 -1
- data/lib/authlete/models/operations/auth_introspection_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_introspection_standard_api_request.rb +0 -1
- data/lib/authlete/models/operations/auth_introspection_standard_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_introspection_standard_api_response.rb +0 -1
- data/lib/authlete/models/operations/auth_introspection_standard_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_revocation_api_request.rb +0 -1
- data/lib/authlete/models/operations/auth_revocation_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_revocation_api_response.rb +0 -1
- data/lib/authlete/models/operations/auth_revocation_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_api_request.rb +0 -1
- data/lib/authlete/models/operations/auth_token_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_api_response.rb +0 -1
- data/lib/authlete/models/operations/auth_token_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_create_api_request.rb +0 -1
- data/lib/authlete/models/operations/auth_token_create_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_create_api_response.rb +0 -1
- data/lib/authlete/models/operations/auth_token_create_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_delete_api_request.rb +1 -2
- data/lib/authlete/models/operations/auth_token_delete_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_delete_api_response.rb +0 -1
- data/lib/authlete/models/operations/auth_token_delete_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_fail_api_request.rb +0 -1
- data/lib/authlete/models/operations/auth_token_fail_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_fail_api_response.rb +0 -1
- data/lib/authlete/models/operations/auth_token_fail_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_get_list_api_request.rb +3 -4
- data/lib/authlete/models/operations/auth_token_get_list_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_get_list_api_response.rb +0 -1
- data/lib/authlete/models/operations/auth_token_get_list_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_issue_api_request.rb +0 -1
- data/lib/authlete/models/operations/auth_token_issue_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_issue_api_response.rb +0 -1
- data/lib/authlete/models/operations/auth_token_issue_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_revoke_api_request.rb +0 -1
- data/lib/authlete/models/operations/auth_token_revoke_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_revoke_api_response.rb +0 -1
- data/lib/authlete/models/operations/auth_token_revoke_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_update_api_request.rb +0 -1
- data/lib/authlete/models/operations/auth_token_update_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_update_api_response.rb +0 -1
- data/lib/authlete/models/operations/auth_token_update_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_userinfo_api_request.rb +0 -1
- data/lib/authlete/models/operations/auth_userinfo_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_userinfo_api_response.rb +0 -1
- data/lib/authlete/models/operations/auth_userinfo_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_userinfo_issue_api_request.rb +0 -1
- data/lib/authlete/models/operations/auth_userinfo_issue_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_userinfo_issue_api_response.rb +0 -1
- data/lib/authlete/models/operations/auth_userinfo_issue_api_response.rbi +1 -1
- data/lib/authlete/models/operations/authorization_ticket_info_post_api_request.rb +0 -1
- data/lib/authlete/models/operations/authorization_ticket_info_post_api_request.rbi +1 -1
- data/lib/authlete/models/operations/authorization_ticket_info_post_api_response.rb +0 -1
- data/lib/authlete/models/operations/authorization_ticket_info_post_api_response.rbi +1 -1
- data/lib/authlete/models/operations/backchannel_authentication_api_request.rb +0 -1
- data/lib/authlete/models/operations/backchannel_authentication_api_request.rbi +1 -1
- data/lib/authlete/models/operations/backchannel_authentication_api_response.rb +0 -1
- data/lib/authlete/models/operations/backchannel_authentication_api_response.rbi +1 -1
- data/lib/authlete/models/operations/backchannel_authentication_complete_api_request.rb +0 -1
- data/lib/authlete/models/operations/backchannel_authentication_complete_api_request.rbi +1 -1
- data/lib/authlete/models/operations/backchannel_authentication_complete_api_response.rb +0 -1
- data/lib/authlete/models/operations/backchannel_authentication_complete_api_response.rbi +1 -1
- data/lib/authlete/models/operations/backchannel_authentication_fail_api_request.rb +0 -1
- data/lib/authlete/models/operations/backchannel_authentication_fail_api_request.rbi +1 -1
- data/lib/authlete/models/operations/backchannel_authentication_fail_api_response.rb +0 -1
- data/lib/authlete/models/operations/backchannel_authentication_fail_api_response.rbi +1 -1
- data/lib/authlete/models/operations/backchannel_authentication_issue_api_request.rb +0 -1
- data/lib/authlete/models/operations/backchannel_authentication_issue_api_request.rbi +1 -1
- data/lib/authlete/models/operations/backchannel_authentication_issue_api_response.rb +0 -1
- data/lib/authlete/models/operations/backchannel_authentication_issue_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_authorization_delete_api_post_request.rb +41 -0
- data/lib/authlete/models/operations/client_authorization_delete_api_post_request.rbi +17 -0
- data/lib/authlete/models/operations/client_authorization_delete_api_post_requestbody.rb +32 -0
- data/lib/authlete/models/operations/client_authorization_delete_api_post_requestbody.rbi +13 -0
- data/lib/authlete/models/operations/client_authorization_delete_api_post_response.rb +44 -0
- data/lib/authlete/models/operations/client_authorization_delete_api_post_response.rbi +19 -0
- data/lib/authlete/models/operations/client_authorization_delete_api_request.rb +7 -13
- data/lib/authlete/models/operations/client_authorization_delete_api_request.rbi +3 -5
- data/lib/authlete/models/operations/client_authorization_delete_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_authorization_delete_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_authorization_delete_by_subject_api_request.rb +42 -0
- data/lib/authlete/models/operations/client_authorization_delete_by_subject_api_request.rbi +17 -0
- data/lib/authlete/models/operations/client_authorization_delete_by_subject_api_response.rb +44 -0
- data/lib/authlete/models/operations/client_authorization_delete_by_subject_api_response.rbi +19 -0
- data/lib/authlete/models/operations/client_authorization_get_list_api_post_request.rb +36 -0
- data/lib/authlete/models/operations/client_authorization_get_list_api_post_request.rbi +15 -0
- data/lib/authlete/models/operations/client_authorization_get_list_api_post_response.rb +44 -0
- data/lib/authlete/models/operations/client_authorization_get_list_api_post_response.rbi +19 -0
- data/lib/authlete/models/operations/client_authorization_get_list_api_request.rb +8 -14
- data/lib/authlete/models/operations/client_authorization_get_list_api_request.rbi +3 -5
- data/lib/authlete/models/operations/client_authorization_get_list_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_authorization_get_list_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_authorization_get_list_by_subject_api_request.rb +51 -0
- data/lib/authlete/models/operations/client_authorization_get_list_by_subject_api_request.rbi +21 -0
- data/lib/authlete/models/operations/client_authorization_get_list_by_subject_api_response.rb +44 -0
- data/lib/authlete/models/operations/client_authorization_get_list_by_subject_api_response.rbi +19 -0
- data/lib/authlete/models/operations/client_authorization_update_api_request.rb +1 -2
- data/lib/authlete/models/operations/client_authorization_update_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_authorization_update_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_authorization_update_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_create_api_request.rb +0 -1
- data/lib/authlete/models/operations/client_create_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_create_api_response.rb +1 -2
- data/lib/authlete/models/operations/client_create_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_delete_api_request.rb +0 -1
- data/lib/authlete/models/operations/client_delete_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_delete_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_delete_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_extension_requestables_scopes_delete_api_request.rb +1 -2
- data/lib/authlete/models/operations/client_extension_requestables_scopes_delete_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_extension_requestables_scopes_delete_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_extension_requestables_scopes_delete_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_extension_requestables_scopes_get_api_request.rb +1 -2
- data/lib/authlete/models/operations/client_extension_requestables_scopes_get_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_extension_requestables_scopes_get_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_extension_requestables_scopes_get_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_post_request.rb +41 -0
- data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_post_request.rbi +17 -0
- data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_post_response.rb +44 -0
- data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_post_response.rbi +19 -0
- data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_request.rb +1 -2
- data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_flag_update_api_request.rb +0 -1
- data/lib/authlete/models/operations/client_flag_update_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_flag_update_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_flag_update_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_get_api_request.rb +0 -1
- data/lib/authlete/models/operations/client_get_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_get_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_get_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_get_list_api_request.rb +1 -2
- data/lib/authlete/models/operations/client_get_list_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_get_list_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_get_list_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_granted_scopes_delete_api_request.rb +7 -13
- data/lib/authlete/models/operations/client_granted_scopes_delete_api_request.rbi +3 -5
- data/lib/authlete/models/operations/client_granted_scopes_delete_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_granted_scopes_delete_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_granted_scopes_delete_by_subject_api_request.rb +42 -0
- data/lib/authlete/models/operations/client_granted_scopes_delete_by_subject_api_request.rbi +17 -0
- data/lib/authlete/models/operations/client_granted_scopes_delete_by_subject_api_response.rb +44 -0
- data/lib/authlete/models/operations/client_granted_scopes_delete_by_subject_api_response.rbi +19 -0
- data/lib/authlete/models/operations/client_granted_scopes_get_api_post_request.rb +41 -0
- data/lib/authlete/models/operations/client_granted_scopes_get_api_post_request.rbi +17 -0
- data/lib/authlete/models/operations/client_granted_scopes_get_api_post_requestbody.rb +32 -0
- data/lib/authlete/models/operations/client_granted_scopes_get_api_post_requestbody.rbi +13 -0
- data/lib/authlete/models/operations/client_granted_scopes_get_api_post_response.rb +44 -0
- data/lib/authlete/models/operations/client_granted_scopes_get_api_post_response.rbi +19 -0
- data/lib/authlete/models/operations/client_granted_scopes_get_api_request.rb +7 -13
- data/lib/authlete/models/operations/client_granted_scopes_get_api_request.rbi +3 -5
- data/lib/authlete/models/operations/client_granted_scopes_get_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_granted_scopes_get_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_granted_scopes_get_by_subject_api_request.rb +42 -0
- data/lib/authlete/models/operations/client_granted_scopes_get_by_subject_api_request.rbi +17 -0
- data/lib/authlete/models/operations/client_granted_scopes_get_by_subject_api_response.rb +44 -0
- data/lib/authlete/models/operations/client_granted_scopes_get_by_subject_api_response.rbi +19 -0
- data/lib/authlete/models/operations/client_registration_api_request.rb +0 -1
- data/lib/authlete/models/operations/client_registration_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_registration_api_requestbody.rb +3 -4
- data/lib/authlete/models/operations/client_registration_api_requestbody.rbi +1 -1
- data/lib/authlete/models/operations/client_registration_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_registration_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_registration_delete_api_request.rb +0 -1
- data/lib/authlete/models/operations/client_registration_delete_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_registration_delete_api_requestbody.rb +3 -4
- data/lib/authlete/models/operations/client_registration_delete_api_requestbody.rbi +1 -1
- data/lib/authlete/models/operations/client_registration_delete_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_registration_delete_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_registration_get_api_request.rb +0 -1
- data/lib/authlete/models/operations/client_registration_get_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_registration_get_api_requestbody.rb +3 -4
- data/lib/authlete/models/operations/client_registration_get_api_requestbody.rbi +1 -1
- data/lib/authlete/models/operations/client_registration_get_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_registration_get_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_registration_update_api_request.rb +0 -1
- data/lib/authlete/models/operations/client_registration_update_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_registration_update_api_requestbody.rb +3 -4
- data/lib/authlete/models/operations/client_registration_update_api_requestbody.rbi +1 -1
- data/lib/authlete/models/operations/client_registration_update_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_registration_update_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_secret_refresh_api_request.rb +1 -2
- data/lib/authlete/models/operations/client_secret_refresh_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_secret_refresh_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_secret_refresh_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_secret_update_api_request.rb +1 -2
- data/lib/authlete/models/operations/client_secret_update_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_secret_update_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_secret_update_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_update_api_form_request.rb +0 -1
- data/lib/authlete/models/operations/client_update_api_form_request.rbi +1 -1
- data/lib/authlete/models/operations/client_update_api_form_response.rb +0 -1
- data/lib/authlete/models/operations/client_update_api_form_response.rbi +1 -1
- data/lib/authlete/models/operations/client_update_api_request.rb +0 -1
- data/lib/authlete/models/operations/client_update_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_update_api_response.rb +0 -1
- data/lib/authlete/models/operations/client_update_api_response.rbi +1 -1
- data/lib/authlete/models/operations/device_authorization_api_request.rb +0 -1
- data/lib/authlete/models/operations/device_authorization_api_request.rbi +1 -1
- data/lib/authlete/models/operations/device_authorization_api_response.rb +0 -1
- data/lib/authlete/models/operations/device_authorization_api_response.rbi +1 -1
- data/lib/authlete/models/operations/device_complete_api_request.rb +0 -1
- data/lib/authlete/models/operations/device_complete_api_request.rbi +1 -1
- data/lib/authlete/models/operations/device_complete_api_response.rb +0 -1
- data/lib/authlete/models/operations/device_complete_api_response.rbi +1 -1
- data/lib/authlete/models/operations/device_verification_api_request.rb +0 -1
- data/lib/authlete/models/operations/device_verification_api_request.rbi +1 -1
- data/lib/authlete/models/operations/device_verification_api_response.rb +0 -1
- data/lib/authlete/models/operations/device_verification_api_response.rbi +1 -1
- data/lib/authlete/models/operations/federation_configuration_api_request.rb +0 -1
- data/lib/authlete/models/operations/federation_configuration_api_request.rbi +1 -1
- data/lib/authlete/models/operations/federation_configuration_api_requestbody.rb +0 -1
- data/lib/authlete/models/operations/federation_configuration_api_requestbody.rbi +1 -1
- data/lib/authlete/models/operations/federation_configuration_api_response.rb +0 -1
- data/lib/authlete/models/operations/federation_configuration_api_response.rbi +1 -1
- data/lib/authlete/models/operations/federation_registration_api_request.rb +0 -1
- data/lib/authlete/models/operations/federation_registration_api_request.rbi +1 -1
- data/lib/authlete/models/operations/federation_registration_api_response.rb +0 -1
- data/lib/authlete/models/operations/federation_registration_api_response.rbi +1 -1
- data/lib/authlete/models/operations/get_api_lifecycle_healthcheck_request.rb +33 -0
- data/lib/authlete/models/operations/get_api_lifecycle_healthcheck_request.rbi +13 -0
- data/lib/authlete/models/operations/get_api_lifecycle_healthcheck_response.rb +44 -0
- data/lib/authlete/models/operations/get_api_lifecycle_healthcheck_response.rbi +19 -0
- data/lib/authlete/models/operations/grant_m_api_request.rb +0 -1
- data/lib/authlete/models/operations/grant_m_api_request.rbi +1 -1
- data/lib/authlete/models/operations/grant_m_api_response.rb +0 -1
- data/lib/authlete/models/operations/grant_m_api_response.rbi +1 -1
- data/lib/authlete/models/operations/hsk_create_api_request.rb +0 -1
- data/lib/authlete/models/operations/hsk_create_api_request.rbi +1 -1
- data/lib/authlete/models/operations/hsk_create_api_response.rb +0 -1
- data/lib/authlete/models/operations/hsk_create_api_response.rbi +1 -1
- data/lib/authlete/models/operations/hsk_delete_api_request.rb +0 -1
- data/lib/authlete/models/operations/hsk_delete_api_request.rbi +1 -1
- data/lib/authlete/models/operations/hsk_delete_api_response.rb +0 -1
- data/lib/authlete/models/operations/hsk_delete_api_response.rbi +1 -1
- data/lib/authlete/models/operations/hsk_get_api_request.rb +0 -1
- data/lib/authlete/models/operations/hsk_get_api_request.rbi +1 -1
- data/lib/authlete/models/operations/hsk_get_api_response.rb +0 -1
- data/lib/authlete/models/operations/hsk_get_api_response.rbi +1 -1
- data/lib/authlete/models/operations/hsk_get_list_api_request.rb +0 -1
- data/lib/authlete/models/operations/hsk_get_list_api_request.rbi +1 -1
- data/lib/authlete/models/operations/hsk_get_list_api_response.rb +0 -1
- data/lib/authlete/models/operations/hsk_get_list_api_response.rbi +1 -1
- data/lib/authlete/models/operations/idtoken_reissue_api_request.rb +0 -1
- data/lib/authlete/models/operations/idtoken_reissue_api_request.rbi +1 -1
- data/lib/authlete/models/operations/idtoken_reissue_api_response.rb +0 -1
- data/lib/authlete/models/operations/idtoken_reissue_api_response.rbi +1 -1
- data/lib/authlete/models/operations/jose_verify_api_request.rb +0 -1
- data/lib/authlete/models/operations/jose_verify_api_request.rbi +1 -1
- data/lib/authlete/models/operations/jose_verify_api_response.rb +0 -1
- data/lib/authlete/models/operations/jose_verify_api_response.rbi +1 -1
- data/lib/authlete/models/operations/native_sso_api_request.rb +0 -1
- data/lib/authlete/models/operations/native_sso_api_request.rbi +1 -1
- data/lib/authlete/models/operations/native_sso_api_response.rb +0 -1
- data/lib/authlete/models/operations/native_sso_api_response.rbi +1 -1
- data/lib/authlete/models/operations/native_sso_logout_api_request.rb +0 -1
- data/lib/authlete/models/operations/native_sso_logout_api_request.rbi +1 -1
- data/lib/authlete/models/operations/native_sso_logout_api_response.rb +0 -1
- data/lib/authlete/models/operations/native_sso_logout_api_response.rbi +1 -1
- data/lib/authlete/models/operations/pushed_auth_req_api_request.rb +0 -1
- data/lib/authlete/models/operations/pushed_auth_req_api_request.rbi +1 -1
- data/lib/authlete/models/operations/pushed_auth_req_api_response.rb +0 -1
- data/lib/authlete/models/operations/pushed_auth_req_api_response.rbi +1 -1
- data/lib/authlete/models/operations/service_configuration_api_request.rb +0 -1
- data/lib/authlete/models/operations/service_configuration_api_request.rbi +1 -1
- data/lib/authlete/models/operations/service_configuration_api_response.rb +0 -1
- data/lib/authlete/models/operations/service_configuration_api_response.rbi +1 -1
- data/lib/authlete/models/operations/service_create_api_response.rb +1 -2
- data/lib/authlete/models/operations/service_create_api_response.rbi +1 -1
- data/lib/authlete/models/operations/service_delete_api_request.rb +0 -1
- data/lib/authlete/models/operations/service_delete_api_request.rbi +1 -1
- data/lib/authlete/models/operations/service_delete_api_response.rb +0 -1
- data/lib/authlete/models/operations/service_delete_api_response.rbi +1 -1
- data/lib/authlete/models/operations/service_get_api_request.rb +0 -1
- data/lib/authlete/models/operations/service_get_api_request.rbi +1 -1
- data/lib/authlete/models/operations/service_get_api_response.rb +0 -1
- data/lib/authlete/models/operations/service_get_api_response.rbi +1 -1
- data/lib/authlete/models/operations/service_get_list_api_request.rb +0 -1
- data/lib/authlete/models/operations/service_get_list_api_request.rbi +1 -1
- data/lib/authlete/models/operations/service_get_list_api_response.rb +0 -1
- data/lib/authlete/models/operations/service_get_list_api_response.rbi +1 -1
- data/lib/authlete/models/operations/service_jwks_get_api_request.rb +0 -1
- data/lib/authlete/models/operations/service_jwks_get_api_request.rbi +1 -1
- data/lib/authlete/models/operations/service_jwks_get_api_response.rb +0 -1
- data/lib/authlete/models/operations/service_jwks_get_api_response.rbi +1 -1
- data/lib/authlete/models/operations/service_update_api_request.rb +0 -1
- data/lib/authlete/models/operations/service_update_api_request.rbi +1 -1
- data/lib/authlete/models/operations/service_update_api_response.rb +0 -1
- data/lib/authlete/models/operations/service_update_api_response.rbi +1 -1
- data/lib/authlete/models/operations/updateauthorizationticket_request.rb +0 -1
- data/lib/authlete/models/operations/updateauthorizationticket_request.rbi +1 -1
- data/lib/authlete/models/operations/updateauthorizationticket_response.rb +0 -1
- data/lib/authlete/models/operations/updateauthorizationticket_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_batch_issue_api_request.rb +0 -1
- data/lib/authlete/models/operations/vci_batch_issue_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_batch_issue_api_response.rb +0 -1
- data/lib/authlete/models/operations/vci_batch_issue_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_batch_parse_api_request.rb +0 -1
- data/lib/authlete/models/operations/vci_batch_parse_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_batch_parse_api_response.rb +0 -1
- data/lib/authlete/models/operations/vci_batch_parse_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_deferred_issue_api_request.rb +0 -1
- data/lib/authlete/models/operations/vci_deferred_issue_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_deferred_issue_api_response.rb +0 -1
- data/lib/authlete/models/operations/vci_deferred_issue_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_deferred_parse_api_request.rb +0 -1
- data/lib/authlete/models/operations/vci_deferred_parse_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_deferred_parse_api_response.rb +0 -1
- data/lib/authlete/models/operations/vci_deferred_parse_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_jwks_api_request.rb +0 -1
- data/lib/authlete/models/operations/vci_jwks_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_jwks_api_response.rb +0 -1
- data/lib/authlete/models/operations/vci_jwks_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_jwtissuer_api_request.rb +0 -1
- data/lib/authlete/models/operations/vci_jwtissuer_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_jwtissuer_api_response.rb +0 -1
- data/lib/authlete/models/operations/vci_jwtissuer_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_metadata_api_request.rb +0 -1
- data/lib/authlete/models/operations/vci_metadata_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_metadata_api_response.rb +0 -1
- data/lib/authlete/models/operations/vci_metadata_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_offer_create_api_request.rb +0 -1
- data/lib/authlete/models/operations/vci_offer_create_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_offer_create_api_response.rb +0 -1
- data/lib/authlete/models/operations/vci_offer_create_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_offer_info_api_request.rb +0 -1
- data/lib/authlete/models/operations/vci_offer_info_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_offer_info_api_response.rb +0 -1
- data/lib/authlete/models/operations/vci_offer_info_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_single_issue_api_request.rb +0 -1
- data/lib/authlete/models/operations/vci_single_issue_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_single_issue_api_response.rb +0 -1
- data/lib/authlete/models/operations/vci_single_issue_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_single_parse_api_request.rb +0 -1
- data/lib/authlete/models/operations/vci_single_parse_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_single_parse_api_response.rb +0 -1
- data/lib/authlete/models/operations/vci_single_parse_api_response.rbi +1 -1
- data/lib/authlete/models/operations.rb +20 -0
- data/lib/authlete/native_sso.rb +17 -69
- data/lib/authlete/pushed_authorization.rb +10 -5
- data/lib/authlete/revocation.rb +10 -98
- data/lib/authlete/sdkconfiguration.rb +3 -3
- data/lib/authlete/services.rb +48 -28
- data/lib/authlete/token_management.rb +44 -24
- data/lib/authlete/tokens.rb +24 -454
- data/lib/authlete/userinfo.rb +17 -224
- data/lib/authlete/utils/request_bodies.rb +8 -3
- data/lib/authlete/utils/security.rb +10 -0
- data/lib/authlete/utils/url.rb +11 -5
- data/lib/authlete/utils/utils.rb +45 -3
- data/lib/authlete/verifiable_credentials.rb +69 -34
- data/lib/authlete_ruby_sdk.rb +1 -0
- data/lib/crystalline/enum.rbi +17 -0
- data/lib/crystalline/metadata_fields.rb +85 -22
- data/lib/crystalline/module.rb +99 -13
- data/lib/crystalline/types.rb +90 -3
- metadata +66 -6
- data/lib/authlete/models/components/clientsource.rbi +0 -11
|
@@ -7,11 +7,8 @@
|
|
|
7
7
|
module Authlete
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
|
-
|
|
11
10
|
# IdtokenReissueResponseAction - The next action that the implementation of the token endpoint should take.
|
|
12
11
|
class IdtokenReissueResponseAction < T::Enum
|
|
13
|
-
|
|
14
|
-
|
|
15
12
|
enums do
|
|
16
13
|
OK = new('OK')
|
|
17
14
|
INTERNAL_SERVER_ERROR = new('INTERNAL_SERVER_ERROR')
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
module Authlete
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
|
-
|
|
11
10
|
|
|
12
11
|
class IntrospectionRequest
|
|
13
12
|
extend T::Sig
|
|
@@ -18,103 +17,87 @@ module Authlete
|
|
|
18
17
|
# A string array listing names of scopes which the caller (= a protected resource endpoint of the
|
|
19
18
|
# service) requires. When the content type of the request from the service is `application/x-www-form-urlencoded`,
|
|
20
19
|
# the format of `scopes` is a space-separated list of scope names.
|
|
21
|
-
#
|
|
20
|
+
#
|
|
22
21
|
# If this parameter is a non-empty array and if it contains a scope which is not covered by the
|
|
23
22
|
# access token,`action=FORBIDDEN` with `error=insufficient_scope` is returned from Authlete.
|
|
24
|
-
#
|
|
23
|
+
#
|
|
25
24
|
field :scopes, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('scopes') }, 'form': { 'field_name': 'scopes' } }
|
|
26
25
|
# A subject (= a user account managed by the service) whom the caller (= a protected resource
|
|
27
26
|
# endpoint of the service) requires.
|
|
28
|
-
#
|
|
27
|
+
#
|
|
29
28
|
# If this parameter is not `null` and if the value does not match the subject who is associated
|
|
30
29
|
# with the access token, `action=FORBIDDEN` with `error=invalid_request` is returned from Authlete.
|
|
31
|
-
#
|
|
30
|
+
#
|
|
32
31
|
field :subject, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('subject') }, 'form': { 'field_name': 'subject' } }
|
|
33
32
|
# Client certificate in PEM format, used to validate binding against access tokens using the TLS
|
|
34
33
|
# client certificate confirmation method.
|
|
35
|
-
#
|
|
34
|
+
#
|
|
36
35
|
field :client_certificate, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientCertificate') }, 'form': { 'field_name': 'clientCertificate' } }
|
|
37
36
|
# `DPoP` header presented by the client during the request to the resource server.
|
|
38
|
-
#
|
|
37
|
+
#
|
|
39
38
|
# The header contains a signed JWT which includes the public key that is paired with the private
|
|
40
39
|
# key used to sign the JWT. See [OAuth 2.0 Demonstration of Proof-of-Possession at the Application
|
|
41
40
|
# Layer (DPoP)](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop) for details.
|
|
42
|
-
#
|
|
41
|
+
#
|
|
43
42
|
field :dpop, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('dpop') }, 'form': { 'field_name': 'dpop' } }
|
|
44
43
|
# HTTP method of the request from the client to the protected resource endpoint. This field is
|
|
45
44
|
# used to validate the `DPoP` header.
|
|
46
|
-
#
|
|
45
|
+
#
|
|
47
46
|
# See [OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer (DPoP)](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop)
|
|
48
47
|
# for details.
|
|
49
|
-
#
|
|
48
|
+
#
|
|
50
49
|
field :htm, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('htm') }, 'form': { 'field_name': 'htm' } }
|
|
51
50
|
# URL of the protected resource endpoint. This field is used to validate the `DPoP` header.
|
|
52
|
-
#
|
|
51
|
+
#
|
|
53
52
|
# See [OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer (DPoP)](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop)
|
|
54
53
|
# for details.
|
|
55
|
-
#
|
|
54
|
+
#
|
|
56
55
|
field :htu, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('htu') }, 'form': { 'field_name': 'htu' } }
|
|
57
56
|
# The resources specified by the `resource` request parameters in the token request. See "Resource Indicators for OAuth 2.0" for details.
|
|
58
|
-
#
|
|
57
|
+
#
|
|
59
58
|
field :resources, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('resources') }, 'form': { 'field_name': 'resources' } }
|
|
60
59
|
# Authentication Context Class Reference values one of which the user authentication performed during the course
|
|
61
60
|
# of issuing the access token must satisfy.
|
|
62
|
-
#
|
|
61
|
+
#
|
|
63
62
|
field :acr_values, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('acrValues') }, 'form': { 'field_name': 'acrValues' } }
|
|
64
63
|
# The maximum authentication age which is the maximum allowable elapsed time since the user authentication
|
|
65
64
|
# was performed during the course of issuing the access token.
|
|
66
|
-
#
|
|
65
|
+
#
|
|
67
66
|
field :max_age, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('maxAge') }, 'form': { 'field_name': 'maxAge' } }
|
|
68
67
|
# HTTP Message Components required to be in the signature. If absent, defaults to [ "@method", "@target-uri", "authorization" ].
|
|
69
|
-
#
|
|
68
|
+
#
|
|
70
69
|
field :required_components, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('requiredComponents') }, 'form': { 'field_name': 'requiredComponents' } }
|
|
71
70
|
# The full URL of the userinfo endpoint.
|
|
72
|
-
#
|
|
71
|
+
#
|
|
73
72
|
field :uri, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('uri') }, 'form': { 'field_name': 'uri' } }
|
|
74
73
|
# The HTTP message body of the request, if present.
|
|
75
|
-
#
|
|
74
|
+
#
|
|
76
75
|
field :message, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('message') }, 'form': { 'field_name': 'message' } }
|
|
77
76
|
# HTTP headers to be included in processing the signature. If this is a signed request, this must include the
|
|
78
77
|
# Signature and Signature-Input headers, as well as any additional headers covered by the signature.
|
|
79
|
-
#
|
|
78
|
+
#
|
|
80
79
|
field :headers, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Pair)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('headers') }, 'form': { 'field_name': 'headers', 'json': true } }
|
|
81
80
|
# The target URI of the resource request, including the query part, if any.
|
|
82
|
-
#
|
|
83
|
-
# This parameter is used as the value of the @target-uri derived component for HTTP message signatures
|
|
84
|
-
# [RFC 9421 HTTP Message Signatures, Section 2.2.2. Target URI](https://www.rfc-editor.org/rfc/rfc9421.html#section-2.2.2)).
|
|
85
|
-
# Additionally, other derived components such as `@authority`, `@scheme`, `@path`, `@query` and
|
|
86
|
-
# `@query-param` are computed from this parameter.
|
|
87
|
-
#
|
|
88
|
-
# When this parameter is omitted, the value of the `htu` parameter is used. The `htu` parameter
|
|
89
|
-
# represents the URL of the resource endpoint, which is identical to the target URI of the resource
|
|
90
|
-
# request as long as the request does not include a query component. Conversely, if the resource
|
|
91
|
-
# request includes a query component, the value of the `htu` parameter will not match the target
|
|
92
|
-
# URI, and in that case, the HTTP message signature verification will fail.
|
|
93
|
-
#
|
|
94
|
-
# If neither this `targetUri` parameter nor the `htu` parameter is specified, the target URI is
|
|
95
|
-
# considered unavailable. If HTTP message signing requires the target-uri derived component or
|
|
96
|
-
# other derived components computed based on the target URI, the HTTP message signature verification
|
|
97
|
-
# will fail.
|
|
98
|
-
#
|
|
81
|
+
#
|
|
99
82
|
field :target_uri, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('targetUri') }, 'form': { 'field_name': 'targetUri' } }
|
|
100
83
|
# The flag indicating whether to check if the DPoP proof JWT includes the expected `nonce` value.
|
|
101
|
-
#
|
|
84
|
+
#
|
|
102
85
|
# If this request parameter is set to `true` or if the service's `dpopNonceRequired` property is
|
|
103
86
|
# set to `true`, the `/auth/introspection` API checks if the DPoP proof JWT includes the expected
|
|
104
87
|
# `nonce` value. In this case, the response from the `/auth/introspection` API will include the
|
|
105
88
|
# `dpopNonce` response parameter, which should be used as the value of the DPoP-Nonce HTTP header.
|
|
106
|
-
#
|
|
89
|
+
#
|
|
107
90
|
field :dpop_nonce_required, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('dpopNonceRequired') }, 'form': { 'field_name': 'dpopNonceRequired' } }
|
|
108
91
|
# The flag indicating whether the resource request contains a request body.
|
|
109
|
-
#
|
|
92
|
+
#
|
|
110
93
|
# When the resource request must comply with the HTTP message signing requirements defined in the
|
|
111
94
|
# FAPI 2.0 Message Signing specification, the `"content-digest"` component identifier must be included
|
|
112
95
|
# in the signature base of the HTTP message signature (see [RFC 9421 HTTP Message Signatures](https://www.rfc-editor.org/rfc/rfc9421.html))
|
|
113
96
|
# if the resource request contains a request body.
|
|
114
|
-
#
|
|
97
|
+
#
|
|
115
98
|
# When this `requestBodyContained` parameter is set to `true`, Authlete checks whether `"content-digest"`
|
|
116
99
|
# is included in the signature base, if the FAPI profile applies to the resource request.
|
|
117
|
-
#
|
|
100
|
+
#
|
|
118
101
|
field :request_body_contained, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('requestBodyContained') }, 'form': { 'field_name': 'requestBodyContained' } }
|
|
119
102
|
|
|
120
103
|
sig { params(token: ::String, scopes: T.nilable(T::Array[::String]), subject: T.nilable(::String), client_certificate: T.nilable(::String), dpop: T.nilable(::String), htm: T.nilable(::String), htu: T.nilable(::String), resources: T.nilable(T::Array[::String]), acr_values: T.nilable(T::Array[::String]), max_age: T.nilable(::Integer), required_components: T.nilable(T::Array[::String]), uri: T.nilable(::String), message: T.nilable(::String), headers: T.nilable(T::Array[Models::Components::Pair]), target_uri: T.nilable(::String), dpop_nonce_required: T.nilable(T::Boolean), request_body_contained: T.nilable(T::Boolean)).void }
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
module Authlete
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
|
-
|
|
11
10
|
|
|
12
11
|
class IntrospectionResponse
|
|
13
12
|
extend T::Sig
|
|
@@ -18,116 +17,107 @@ module Authlete
|
|
|
18
17
|
# A short message which explains the result of the API call.
|
|
19
18
|
field :result_message, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('resultMessage') } }
|
|
20
19
|
# The next action that the authorization server implementation should take.
|
|
21
|
-
field :action, Crystalline::Nilable.new(Models::Components::IntrospectionResponseAction), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('action'), 'decoder': Utils.enum_from_string(Models::Components::IntrospectionResponseAction, true) } }
|
|
20
|
+
field :action, Crystalline::Nilable.new(Models::Components::IntrospectionResponseAction), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('action'), 'decoder': ::Authlete::Utils.enum_from_string(Models::Components::IntrospectionResponseAction, true) } }
|
|
22
21
|
# The content that the authorization server implementation can use as the value of `WWW-Authenticate` header on errors.
|
|
23
|
-
#
|
|
22
|
+
#
|
|
24
23
|
field :response_content, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('responseContent') } }
|
|
25
24
|
# The client ID.
|
|
26
25
|
field :client_id, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientId') } }
|
|
27
26
|
# The client ID alias when the token request was made. If the client did not have an alias, this parameter is `null`.
|
|
28
27
|
# Also, if the token request was invalid and it failed to identify a client, this parameter is `null`.
|
|
29
|
-
#
|
|
28
|
+
#
|
|
30
29
|
field :client_id_alias, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientIdAlias') } }
|
|
31
30
|
# The flag which indicates whether the client ID alias was used when the token request was made.
|
|
32
31
|
# `true` if the client ID alias was used when the token request was made.
|
|
33
|
-
#
|
|
32
|
+
#
|
|
34
33
|
field :client_id_alias_used, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientIdAliasUsed') } }
|
|
35
34
|
# The time at which the access token expires.
|
|
36
35
|
# The value is represented in milliseconds since the Unix epoch (1970-01-01).
|
|
37
|
-
#
|
|
36
|
+
#
|
|
38
37
|
field :expires_at, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('expiresAt') } }
|
|
39
38
|
# The subject who is associated with the access token.
|
|
40
39
|
# The value of this property is `null` if the access token was issued using the flow of [Client Credentials Grant](tools.ietf.org/html/rfc6749#section-4.4).
|
|
41
|
-
#
|
|
40
|
+
#
|
|
42
41
|
field :subject, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('subject') } }
|
|
43
42
|
# The scopes covered by the access token.
|
|
44
|
-
#
|
|
43
|
+
#
|
|
45
44
|
field :scopes, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('scopes') } }
|
|
46
45
|
# `true` if the access token exists.
|
|
47
|
-
#
|
|
46
|
+
#
|
|
48
47
|
field :existent, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('existent') } }
|
|
49
48
|
# true` if the access token is usable (= exists and has not expired).
|
|
50
|
-
#
|
|
49
|
+
#
|
|
51
50
|
field :usable, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('usable') } }
|
|
52
51
|
# `true` if the access token exists.
|
|
53
|
-
#
|
|
52
|
+
#
|
|
54
53
|
field :sufficient, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('sufficient') } }
|
|
55
54
|
# `true` if the access token can be refreshed using the associated refresh token which had been issued
|
|
56
55
|
# along with the access token. `false` if the refresh token for the access token has expired or the access
|
|
57
56
|
# token has no associated refresh token.
|
|
58
|
-
#
|
|
57
|
+
#
|
|
59
58
|
field :refreshable, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('refreshable') } }
|
|
60
59
|
# The extra properties associated with the access token.
|
|
61
60
|
field :properties, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Property)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('properties') } }
|
|
62
61
|
# The client certificate thumbprint used to validate the access token.
|
|
63
|
-
#
|
|
62
|
+
#
|
|
64
63
|
field :certificate_thumbprint, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('certificateThumbprint') } }
|
|
65
64
|
# The target resources. This represents the resources specified by the `resource` request parameters
|
|
66
65
|
# or by the `resource` property in the request object.
|
|
67
|
-
#
|
|
66
|
+
#
|
|
68
67
|
# See "Resource Indicators for OAuth 2.0" for details.
|
|
69
|
-
#
|
|
68
|
+
#
|
|
70
69
|
field :resources, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('resources') } }
|
|
71
70
|
# The target resources this proeprty holds may be the same as or different from the ones `resource` property holds.
|
|
72
|
-
#
|
|
73
|
-
# In some flows, the initial request and the subsequent token request are sent to different endpoints.
|
|
74
|
-
# Example flows are the Authorization Code Flow, the Refresh Token Flow, the CIBA Ping Mode, the CIBA Poll Mode and the Device Flow.
|
|
75
|
-
# In these flows, not only the initial request but also the subsequent token request can include the `resource` request parameters.
|
|
76
|
-
# The purpose of the `resource` request parameters in the token request is to narrow the range of the target resources from the original
|
|
77
|
-
# set of target resources requested by the preceding initial request. If narrowing down is performed, the target resources holded by the
|
|
78
|
-
# `resource` proeprty and the ones holded by this property are different. This property holds the narrowed set of target resources.
|
|
79
|
-
#
|
|
80
|
-
# See "Resource Indicators for OAuth 2.0" for details.
|
|
81
|
-
#
|
|
71
|
+
#
|
|
82
72
|
field :access_token_resources, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('accessTokenResources') } }
|
|
83
73
|
# The authorization details. This represents the value of the `authorization_details`
|
|
84
74
|
# request parameter in the preceding device authorization request which is defined in
|
|
85
75
|
# "OAuth 2.0 Rich Authorization Requests".
|
|
86
|
-
#
|
|
76
|
+
#
|
|
87
77
|
field :authorization_details, Crystalline::Nilable.new(Models::Components::AuthzDetails), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('authorizationDetails') } }
|
|
88
78
|
# The attributes of this service that the client application belongs to.
|
|
89
|
-
#
|
|
79
|
+
#
|
|
90
80
|
field :service_attributes, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Pair)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('serviceAttributes') } }
|
|
91
81
|
# The attributes of the client.
|
|
92
|
-
#
|
|
82
|
+
#
|
|
93
83
|
field :client_attributes, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Pair)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientAttributes') } }
|
|
94
84
|
# The scopes property of this class is a list of scope names. The property does not hold information
|
|
95
85
|
# about scope attributes. This scopeDetails property was newly created to convey information about
|
|
96
86
|
# scope attributes.
|
|
97
|
-
#
|
|
87
|
+
#
|
|
98
88
|
field :scope_details, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Scope)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('scopeDetails') } }
|
|
99
89
|
# The value of the `grant_id` request parameter of the device authorization request.
|
|
100
|
-
#
|
|
90
|
+
#
|
|
101
91
|
# The `grant_id` request parameter is defined in
|
|
102
92
|
# [Grant Management for OAuth 2.0](https://openid.net/specs/fapi-grant-management.html)
|
|
103
93
|
# , which is supported by Authlete 2.3 and newer versions.
|
|
104
|
-
#
|
|
94
|
+
#
|
|
105
95
|
field :grant_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('grantId') } }
|
|
106
96
|
|
|
107
97
|
field :grant, Crystalline::Nilable.new(Models::Components::Grant), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('grant') } }
|
|
108
98
|
# the flag which indicates whether the access token is for an external
|
|
109
99
|
# attachment.
|
|
110
|
-
#
|
|
100
|
+
#
|
|
111
101
|
field :for_external_attachment, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('forExternalAttachment') } }
|
|
112
102
|
# the claims that the user has consented for the client application
|
|
113
103
|
# to know.
|
|
114
|
-
#
|
|
104
|
+
#
|
|
115
105
|
field :consented_claims, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('consentedClaims') } }
|
|
116
106
|
# The grant type of the access token when the access token was created.
|
|
117
|
-
#
|
|
118
|
-
field :grant_type, Crystalline::Nilable.new(Models::Components::GrantType), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('grantType'), 'decoder': Utils.enum_from_string(Models::Components::GrantType, true) } }
|
|
107
|
+
#
|
|
108
|
+
field :grant_type, Crystalline::Nilable.new(Models::Components::GrantType), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('grantType'), 'decoder': ::Authlete::Utils.enum_from_string(Models::Components::GrantType, true) } }
|
|
119
109
|
# The Authentication Context Class Reference of the user authentication that the authorization server performed
|
|
120
110
|
# during the course of issuing the access token.
|
|
121
|
-
#
|
|
111
|
+
#
|
|
122
112
|
field :acr, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('acr') } }
|
|
123
113
|
# The time when the user authentication was performed during the course of issuing the access token.
|
|
124
|
-
#
|
|
114
|
+
#
|
|
125
115
|
field :auth_time, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('authTime') } }
|
|
126
116
|
# The entity ID of the client.
|
|
127
|
-
#
|
|
117
|
+
#
|
|
128
118
|
field :client_entity_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientEntityId') } }
|
|
129
119
|
# Flag which indicates whether the entity ID of the client was used when the request for the access token was made.
|
|
130
|
-
#
|
|
120
|
+
#
|
|
131
121
|
field :client_entity_id_used, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientEntityIdUsed') } }
|
|
132
122
|
# The flag indicating whether the token is for credential issuance.
|
|
133
123
|
field :for_credential_issuance, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('forCredentialIssuance') } }
|
|
@@ -139,25 +129,25 @@ module Authlete
|
|
|
139
129
|
field :issuable_credentials, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('issuableCredentials') } }
|
|
140
130
|
# The expected nonce value for DPoP proof JWT, which should be used
|
|
141
131
|
# as the value of the `DPoP-Nonce` HTTP header.
|
|
142
|
-
#
|
|
132
|
+
#
|
|
143
133
|
field :dpop_nonce, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('dpopNonce') } }
|
|
144
134
|
# The flag indicating whether the HTTP response from the protected resource endpoint must include
|
|
145
135
|
# an HTTP message signature ([RFC 9421 HTTP Message Signatures](https://www.rfc-editor.org/rfc/rfc9421.html))
|
|
146
136
|
# in compliance with [FAPI 2.0 Message Signing](https://openid.bitbucket.io/fapi/fapi-2_0-message-signing.html).
|
|
147
|
-
#
|
|
137
|
+
#
|
|
148
138
|
# When this response parameter is `true`, the HTTP response from the protected resource endpoint
|
|
149
139
|
# must include the `Signature` and `Signature-Input` HTTP fields.
|
|
150
|
-
#
|
|
140
|
+
#
|
|
151
141
|
field :response_signing_required, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('responseSigningRequired') } }
|
|
152
142
|
# The location of the client's metadata document that was used to resolve client metadata.
|
|
153
|
-
#
|
|
143
|
+
#
|
|
154
144
|
# This property is set when client metadata was retrieved via the [OAuth Client ID Metadata Document](https://datatracker.ietf.org/doc/draft-ietf-oauth-client-id-metadata-document/) (CIMD) mechanism.
|
|
155
|
-
#
|
|
145
|
+
#
|
|
156
146
|
field :metadata_document_location, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('metadataDocumentLocation') } }
|
|
157
147
|
# Flag indicating whether a metadata document was used to resolve client metadata for this request.
|
|
158
|
-
#
|
|
148
|
+
#
|
|
159
149
|
# When `true`, the client metadata was retrieved via the CIMD mechanism rather than from the Authlete database.
|
|
160
|
-
#
|
|
150
|
+
#
|
|
161
151
|
field :metadata_document_used, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('metadataDocumentUsed') } }
|
|
162
152
|
|
|
163
153
|
sig { params(result_code: T.nilable(::String), result_message: T.nilable(::String), action: T.nilable(Models::Components::IntrospectionResponseAction), response_content: T.nilable(::String), client_id: T.nilable(::Integer), client_id_alias: T.nilable(::String), client_id_alias_used: T.nilable(T::Boolean), expires_at: T.nilable(::Integer), subject: T.nilable(::String), scopes: T.nilable(T::Array[::String]), existent: T.nilable(T::Boolean), usable: T.nilable(T::Boolean), sufficient: T.nilable(T::Boolean), refreshable: T.nilable(T::Boolean), properties: T.nilable(T::Array[Models::Components::Property]), certificate_thumbprint: T.nilable(::String), resources: T.nilable(T::Array[::String]), access_token_resources: T.nilable(T::Array[::String]), authorization_details: T.nilable(Models::Components::AuthzDetails), service_attributes: T.nilable(T::Array[Models::Components::Pair]), client_attributes: T.nilable(T::Array[Models::Components::Pair]), scope_details: T.nilable(T::Array[Models::Components::Scope]), grant_id: T.nilable(::String), grant: T.nilable(Models::Components::Grant), for_external_attachment: T.nilable(T::Boolean), consented_claims: T.nilable(T::Array[::String]), grant_type: T.nilable(Models::Components::GrantType), acr: T.nilable(::String), auth_time: T.nilable(::Integer), client_entity_id: T.nilable(::String), client_entity_id_used: T.nilable(T::Boolean), for_credential_issuance: T.nilable(T::Boolean), cnonce: T.nilable(::String), cnonce_expires_at: T.nilable(::Integer), issuable_credentials: T.nilable(::String), dpop_nonce: T.nilable(::String), response_signing_required: T.nilable(T::Boolean), metadata_document_location: T.nilable(::String), metadata_document_used: T.nilable(T::Boolean)).void }
|
|
@@ -7,11 +7,8 @@
|
|
|
7
7
|
module Authlete
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
|
-
|
|
11
10
|
# IntrospectionResponseAction - The next action that the authorization server implementation should take.
|
|
12
11
|
class IntrospectionResponseAction < T::Enum
|
|
13
|
-
|
|
14
|
-
|
|
15
12
|
enums do
|
|
16
13
|
INTERNAL_SERVER_ERROR = new('INTERNAL_SERVER_ERROR')
|
|
17
14
|
BAD_REQUEST = new('BAD_REQUEST')
|
|
@@ -7,28 +7,27 @@
|
|
|
7
7
|
module Authlete
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
|
-
|
|
11
10
|
|
|
12
11
|
class JoseVerifyRequest
|
|
13
12
|
extend T::Sig
|
|
14
13
|
include Crystalline::MetadataFields
|
|
15
14
|
|
|
16
15
|
# A JOSE object.
|
|
17
|
-
#
|
|
16
|
+
#
|
|
18
17
|
field :jose, ::String, { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('jose'), required: true }, 'form': { 'field_name': 'jose' } }
|
|
19
18
|
# Mandatory claims that are required to be included in the JOSE object.
|
|
20
|
-
#
|
|
19
|
+
#
|
|
21
20
|
field :mandatory_claims, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('mandatoryClaims') }, 'form': { 'field_name': 'mandatoryClaims' } }
|
|
22
21
|
# Allowable clock skew in seconds.
|
|
23
|
-
#
|
|
22
|
+
#
|
|
24
23
|
field :clock_skew, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clockSkew') }, 'form': { 'field_name': 'clockSkew' } }
|
|
25
24
|
# The identifier of the client application whose keys are required for verification of the JOSE
|
|
26
25
|
# object.
|
|
27
|
-
#
|
|
26
|
+
#
|
|
28
27
|
field :client_identifier, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientIdentifier') }, 'form': { 'field_name': 'clientIdentifier' } }
|
|
29
28
|
# The flag which indicates whether the signature of the JOSE object has been signed by a client
|
|
30
29
|
# application with the client's private key or a shared symmetric key.
|
|
31
|
-
#
|
|
30
|
+
#
|
|
32
31
|
field :signed_by_client, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('signedByClient') }, 'form': { 'field_name': 'signedByClient' } }
|
|
33
32
|
|
|
34
33
|
sig { params(jose: ::String, mandatory_claims: T.nilable(T::Array[::String]), clock_skew: T.nilable(::Integer), client_identifier: T.nilable(::String), signed_by_client: T.nilable(T::Boolean)).void }
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
module Authlete
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
|
-
|
|
11
10
|
|
|
12
11
|
class JoseVerifyResponse
|
|
13
12
|
extend T::Sig
|
|
@@ -18,19 +17,19 @@ module Authlete
|
|
|
18
17
|
# A short message which explains the result of the API call.
|
|
19
18
|
field :result_message, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('resultMessage') } }
|
|
20
19
|
# The result of the verification on the JOSE object.
|
|
21
|
-
#
|
|
20
|
+
#
|
|
22
21
|
field :valid, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('valid') } }
|
|
23
22
|
# The result of the signature verification.
|
|
24
|
-
#
|
|
23
|
+
#
|
|
25
24
|
field :signature_valid, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('signatureValid') } }
|
|
26
25
|
# The list of missing claims.
|
|
27
|
-
#
|
|
26
|
+
#
|
|
28
27
|
field :missing_claims, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('missingClaims') } }
|
|
29
28
|
# The list of invalid claims.
|
|
30
|
-
#
|
|
29
|
+
#
|
|
31
30
|
field :invalid_claims, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('invalidClaims') } }
|
|
32
31
|
# The list of error messages.
|
|
33
|
-
#
|
|
32
|
+
#
|
|
34
33
|
field :error_descriptions, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('errorDescriptions') } }
|
|
35
34
|
|
|
36
35
|
sig { params(result_code: T.nilable(::String), result_message: T.nilable(::String), valid: T.nilable(T::Boolean), signature_valid: T.nilable(T::Boolean), missing_claims: T.nilable(T::Array[::String]), invalid_claims: T.nilable(T::Array[::String]), error_descriptions: T.nilable(T::Array[::String])).void }
|
|
@@ -7,18 +7,15 @@
|
|
|
7
7
|
module Authlete
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
|
-
|
|
11
10
|
# JweAlg - this is the 'alg' header value for encrypted JWT tokens.
|
|
12
11
|
# Depending upon the context, this refers to key transport scheme to be used by the client and by the server. For instance:
|
|
13
12
|
# - as `authorizationEncryptionAlg` value, it refers to the encoding algorithm used by server for transporting they keys on JARM objects
|
|
14
13
|
# - as `requestEncryptionAlg` value, it refers to the expected key transport encoding algorithm that server expect from client when encrypting a Request Object
|
|
15
14
|
# - as `idTokenEncryptionAlg` value, it refers to the algorithm used by the server to key transport of id_tokens
|
|
16
|
-
#
|
|
15
|
+
#
|
|
17
16
|
# **Please note that some of the algorithms are more secure than others, some are not supported very well cross platforms and some (like RSA1_5) is known to be weak**.
|
|
18
|
-
#
|
|
17
|
+
#
|
|
19
18
|
class JweAlg < T::Enum
|
|
20
|
-
|
|
21
|
-
|
|
22
19
|
enums do
|
|
23
20
|
RSA1_5 = new('RSA1_5')
|
|
24
21
|
RSA_OAEP = new('RSA_OAEP')
|
|
@@ -7,16 +7,13 @@
|
|
|
7
7
|
module Authlete
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
|
-
|
|
11
10
|
# JweEnc - This is the encryption algorithm to be used when encrypting a JWT on client or server side.
|
|
12
11
|
# Depending upon the context, this refers to encryption done by the client or by the server. For instance:
|
|
13
12
|
# - as `authorizationEncryptionEnc` value, it refers to the encryption algorithm used by server when creating a JARM response
|
|
14
13
|
# - as `requestEncryptionEnc` value, it refers to the expected encryption algorithm used by the client when encrypting a Request Object
|
|
15
14
|
# - as `idTokenEncryptionEnc` value, it refers to the algorithm used by the server to encrypt id_tokens
|
|
16
|
-
#
|
|
15
|
+
#
|
|
17
16
|
class JweEnc < T::Enum
|
|
18
|
-
|
|
19
|
-
|
|
20
17
|
enums do
|
|
21
18
|
A128_CBC_HS256 = new('A128CBC_HS256')
|
|
22
19
|
A192_CBC_HS384 = new('A192CBC_HS384')
|
|
@@ -7,18 +7,15 @@
|
|
|
7
7
|
module Authlete
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
|
-
|
|
11
10
|
# JwsAlg - The signature algorithm for JWT. This value is represented on 'alg' attribute
|
|
12
11
|
# of the header of JWT.
|
|
13
|
-
#
|
|
12
|
+
#
|
|
14
13
|
# it's semantics depends upon where is this defined, for instance:
|
|
15
14
|
# - as service accessTokenSignAlg value, it defines that access token are JWT and the algorithm used to sign it. Check your [KB article](https://kb.authlete.com/en/s/oauth-and-openid-connect/a/jwt-based-access-token).
|
|
16
15
|
# - as client authorizationSignAlg value, it represents the signature algorithm used when [creating a JARM response](https://kb.authlete.com/en/s/oauth-and-openid-connect/a/enabling-jarm).
|
|
17
16
|
# - or as client requestSignAlg value, it specifies which is the expected signature used by [client on a Request Object](https://kb.authlete.com/en/s/oauth-and-openid-connect/a/request-objects).
|
|
18
|
-
#
|
|
17
|
+
#
|
|
19
18
|
class JwsAlg < T::Enum
|
|
20
|
-
|
|
21
|
-
|
|
22
19
|
enums do
|
|
23
20
|
NONE = new('NONE')
|
|
24
21
|
HS256 = new('HS256')
|
|
@@ -7,14 +7,13 @@
|
|
|
7
7
|
module Authlete
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
|
-
|
|
11
10
|
|
|
12
11
|
class NativeSsoLogoutRequest
|
|
13
12
|
extend T::Sig
|
|
14
13
|
include Crystalline::MetadataFields
|
|
15
14
|
|
|
16
15
|
# The session ID of a user's authentication session.
|
|
17
|
-
#
|
|
16
|
+
#
|
|
18
17
|
field :session_id, ::String, { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('sessionId'), required: true } }
|
|
19
18
|
|
|
20
19
|
sig { params(session_id: ::String).void }
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
module Authlete
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
|
-
|
|
11
10
|
|
|
12
11
|
class NativeSsoLogoutResponse
|
|
13
12
|
extend T::Sig
|
|
@@ -18,10 +17,10 @@ module Authlete
|
|
|
18
17
|
# A short message which explains the result of the API call.
|
|
19
18
|
field :result_message, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('resultMessage') } }
|
|
20
19
|
# The next action that the API caller should take.
|
|
21
|
-
#
|
|
22
|
-
field :action, Crystalline::Nilable.new(Models::Components::NativeSsoLogoutResponseAction), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('action'), 'decoder': Utils.enum_from_string(Models::Components::NativeSsoLogoutResponseAction, true) } }
|
|
20
|
+
#
|
|
21
|
+
field :action, Crystalline::Nilable.new(Models::Components::NativeSsoLogoutResponseAction), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('action'), 'decoder': ::Authlete::Utils.enum_from_string(Models::Components::NativeSsoLogoutResponseAction, true) } }
|
|
23
22
|
# The number of deleted access/refresh token records.
|
|
24
|
-
#
|
|
23
|
+
#
|
|
25
24
|
field :count, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('count') } }
|
|
26
25
|
|
|
27
26
|
sig { params(result_code: T.nilable(::String), result_message: T.nilable(::String), action: T.nilable(Models::Components::NativeSsoLogoutResponseAction), count: T.nilable(::Integer)).void }
|