authlete_ruby_sdk 0.0.3.pre.beta → 1.0.0
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 +3 -3
- data/lib/authlete/client_management.rb +133 -87
- data/lib/authlete/clients.rb +43 -23
- 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 +12 -7
- data/lib/authlete/lifecycle.rb +10 -5
- data/lib/authlete/models/components/access_token.rb +9 -9
- data/lib/authlete/models/components/access_token.rbi +1 -1
- data/lib/authlete/models/components/application_type.rb +1 -1
- data/lib/authlete/models/components/application_type.rbi +1 -1
- data/lib/authlete/models/components/attachment_type.rb +1 -1
- data/lib/authlete/models/components/attachment_type.rbi +1 -1
- data/lib/authlete/models/components/authorization_details_element.rb +16 -16
- data/lib/authlete/models/components/authorization_details_element.rbi +1 -1
- data/lib/authlete/models/components/authorization_fail_request.rb +4 -4
- data/lib/authlete/models/components/authorization_fail_request.rbi +1 -1
- data/lib/authlete/models/components/authorization_fail_request_reason.rb +1 -1
- data/lib/authlete/models/components/authorization_fail_request_reason.rbi +1 -1
- data/lib/authlete/models/components/authorization_fail_response.rb +2 -2
- data/lib/authlete/models/components/authorization_fail_response.rbi +1 -1
- data/lib/authlete/models/components/authorization_fail_response_action.rbi +1 -1
- data/lib/authlete/models/components/authorization_issue_request.rb +19 -83
- data/lib/authlete/models/components/authorization_issue_request.rbi +1 -1
- data/lib/authlete/models/components/authorization_issue_response.rb +8 -8
- data/lib/authlete/models/components/authorization_issue_response.rbi +1 -1
- data/lib/authlete/models/components/authorization_issue_response_action.rbi +1 -1
- data/lib/authlete/models/components/authorization_request.rb +7 -7
- data/lib/authlete/models/components/authorization_request.rbi +1 -1
- data/lib/authlete/models/components/authorization_response.rb +84 -176
- data/lib/authlete/models/components/authorization_response.rbi +1 -1
- data/lib/authlete/models/components/authorization_response_action.rbi +1 -1
- data/lib/authlete/models/components/authorization_ticket_info.rb +1 -1
- data/lib/authlete/models/components/authorization_ticket_info.rbi +1 -1
- data/lib/authlete/models/components/authorization_ticket_info_request.rbi +1 -1
- data/lib/authlete/models/components/authorization_ticket_info_response.rb +1 -1
- data/lib/authlete/models/components/authorization_ticket_info_response.rbi +1 -1
- data/lib/authlete/models/components/authorization_ticket_info_response_action.rbi +1 -1
- data/lib/authlete/models/components/authorization_ticket_update_request.rbi +1 -1
- data/lib/authlete/models/components/authorization_ticket_update_response.rb +1 -1
- data/lib/authlete/models/components/authorization_ticket_update_response.rbi +1 -1
- data/lib/authlete/models/components/authorization_ticket_update_response_action.rbi +1 -1
- data/lib/authlete/models/components/authz_details.rb +2 -2
- data/lib/authlete/models/components/authz_details.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_complete_request.rb +23 -23
- data/lib/authlete/models/components/backchannel_authentication_complete_request.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_complete_request_result.rb +1 -1
- data/lib/authlete/models/components/backchannel_authentication_complete_request_result.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_complete_response.rb +30 -30
- data/lib/authlete/models/components/backchannel_authentication_complete_response.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_complete_response_action.rb +1 -1
- data/lib/authlete/models/components/backchannel_authentication_complete_response_action.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_fail_request.rb +5 -5
- data/lib/authlete/models/components/backchannel_authentication_fail_request.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_fail_request_reason.rb +1 -1
- data/lib/authlete/models/components/backchannel_authentication_fail_request_reason.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_fail_response.rb +2 -2
- data/lib/authlete/models/components/backchannel_authentication_fail_response.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_fail_response_action.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_issue_request.rb +1 -1
- data/lib/authlete/models/components/backchannel_authentication_issue_request.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_issue_response.rb +5 -5
- data/lib/authlete/models/components/backchannel_authentication_issue_response.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_issue_response_action.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_request.rb +12 -12
- data/lib/authlete/models/components/backchannel_authentication_request.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_response.rb +47 -56
- data/lib/authlete/models/components/backchannel_authentication_response.rbi +1 -1
- data/lib/authlete/models/components/backchannel_authentication_response_action.rbi +1 -1
- data/lib/authlete/models/components/cimd_options.rb +15 -15
- data/lib/authlete/models/components/cimd_options.rbi +1 -1
- data/lib/authlete/models/components/claim_type.rbi +1 -1
- data/lib/authlete/models/components/client.rb +159 -308
- data/lib/authlete/models/components/client.rbi +1 -1
- data/lib/authlete/models/components/client_auth_method.rb +1 -1
- data/lib/authlete/models/components/client_auth_method.rbi +1 -1
- data/lib/authlete/models/components/client_authorization_delete_response.rb +4 -4
- data/lib/authlete/models/components/client_authorization_delete_response.rbi +1 -1
- data/lib/authlete/models/components/client_authorization_get_list_request.rbi +1 -1
- data/lib/authlete/models/components/client_authorization_get_list_response.rb +6 -6
- data/lib/authlete/models/components/client_authorization_get_list_response.rbi +1 -1
- data/lib/authlete/models/components/client_authorization_update_request.rb +2 -2
- data/lib/authlete/models/components/client_authorization_update_request.rbi +1 -1
- data/lib/authlete/models/components/client_authorization_update_response.rbi +1 -1
- data/lib/authlete/models/components/client_clientsource.rb +1 -1
- data/lib/authlete/models/components/client_clientsource.rbi +1 -1
- data/lib/authlete/models/components/client_extension.rb +9 -19
- data/lib/authlete/models/components/client_extension.rbi +1 -1
- data/lib/authlete/models/components/client_extension_requestable_scopes_get_response.rb +1 -1
- 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 -4
- 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.rbi +1 -1
- data/lib/authlete/models/components/client_flag_update_request.rb +1 -1
- data/lib/authlete/models/components/client_flag_update_request.rbi +1 -1
- data/lib/authlete/models/components/client_flag_update_response.rbi +1 -1
- data/lib/authlete/models/components/client_get_list_response.rb +4 -4
- data/lib/authlete/models/components/client_get_list_response.rbi +1 -1
- data/lib/authlete/models/components/client_granted_scopes_delete_response.rbi +1 -1
- data/lib/authlete/models/components/client_input.rb +154 -293
- data/lib/authlete/models/components/client_input.rbi +1 -1
- data/lib/authlete/models/components/client_limited.rb +7 -7
- data/lib/authlete/models/components/client_limited.rbi +1 -1
- data/lib/authlete/models/components/client_limited_authorization.rb +57 -106
- data/lib/authlete/models/components/client_limited_authorization.rbi +1 -1
- data/lib/authlete/models/components/client_limited_authorization_clientsource.rb +1 -1
- data/lib/authlete/models/components/client_limited_authorization_clientsource.rbi +1 -1
- data/lib/authlete/models/components/client_registration_response.rb +3 -3
- data/lib/authlete/models/components/client_registration_response.rbi +1 -1
- data/lib/authlete/models/components/client_registration_response_action.rb +1 -1
- data/lib/authlete/models/components/client_registration_response_action.rbi +1 -1
- data/lib/authlete/models/components/client_registration_type.rb +1 -1
- data/lib/authlete/models/components/client_registration_type.rbi +1 -1
- data/lib/authlete/models/components/client_secret_refresh_response.rb +2 -2
- data/lib/authlete/models/components/client_secret_refresh_response.rbi +1 -1
- data/lib/authlete/models/components/client_secret_update_request.rb +1 -1
- data/lib/authlete/models/components/client_secret_update_request.rbi +1 -1
- data/lib/authlete/models/components/client_secret_update_response.rb +2 -2
- data/lib/authlete/models/components/client_secret_update_response.rbi +1 -1
- data/lib/authlete/models/components/client_type.rb +1 -1
- data/lib/authlete/models/components/client_type.rbi +1 -1
- data/lib/authlete/models/components/credential_issuance_order.rb +1 -1
- data/lib/authlete/models/components/credential_issuance_order.rbi +1 -1
- data/lib/authlete/models/components/credential_issuer_metadata.rb +5 -5
- data/lib/authlete/models/components/credential_issuer_metadata.rbi +1 -1
- data/lib/authlete/models/components/credential_offer_info.rb +12 -20
- data/lib/authlete/models/components/credential_offer_info.rbi +1 -1
- data/lib/authlete/models/components/credential_request_info.rbi +1 -1
- data/lib/authlete/models/components/delivery_mode.rbi +1 -1
- data/lib/authlete/models/components/device_authorization_request.rb +12 -12
- data/lib/authlete/models/components/device_authorization_request.rbi +1 -1
- data/lib/authlete/models/components/device_authorization_response.rb +39 -48
- data/lib/authlete/models/components/device_authorization_response.rbi +1 -1
- data/lib/authlete/models/components/device_authorization_response_action.rbi +1 -1
- data/lib/authlete/models/components/device_complete_request.rb +22 -22
- data/lib/authlete/models/components/device_complete_request.rbi +1 -1
- data/lib/authlete/models/components/device_complete_request_result.rb +1 -1
- data/lib/authlete/models/components/device_complete_request_result.rbi +1 -1
- data/lib/authlete/models/components/device_complete_response.rb +2 -2
- data/lib/authlete/models/components/device_complete_response.rbi +1 -1
- data/lib/authlete/models/components/device_complete_response_action.rb +1 -1
- data/lib/authlete/models/components/device_complete_response_action.rbi +1 -1
- data/lib/authlete/models/components/device_verification_request.rb +1 -1
- data/lib/authlete/models/components/device_verification_request.rbi +1 -1
- data/lib/authlete/models/components/device_verification_response.rb +32 -32
- data/lib/authlete/models/components/device_verification_response.rbi +1 -1
- data/lib/authlete/models/components/device_verification_response_action.rbi +1 -1
- data/lib/authlete/models/components/display.rb +3 -3
- data/lib/authlete/models/components/display.rbi +1 -1
- data/lib/authlete/models/components/dynamic_scope.rbi +1 -1
- data/lib/authlete/models/components/fapi_mode.rbi +1 -1
- data/lib/authlete/models/components/federation_configuration_response.rb +2 -2
- data/lib/authlete/models/components/federation_configuration_response.rbi +1 -1
- data/lib/authlete/models/components/federation_configuration_response_action.rbi +1 -1
- data/lib/authlete/models/components/federation_registration_request.rb +2 -2
- data/lib/authlete/models/components/federation_registration_request.rbi +1 -1
- data/lib/authlete/models/components/federation_registration_response.rb +2 -2
- data/lib/authlete/models/components/federation_registration_response.rbi +1 -1
- data/lib/authlete/models/components/federation_registration_response_action.rbi +1 -1
- data/lib/authlete/models/components/g_m_request.rb +13 -13
- data/lib/authlete/models/components/g_m_request.rbi +1 -1
- data/lib/authlete/models/components/g_m_response.rb +3 -3
- data/lib/authlete/models/components/g_m_response.rbi +1 -1
- data/lib/authlete/models/components/g_m_response_action.rbi +1 -1
- data/lib/authlete/models/components/grant.rb +2 -2
- data/lib/authlete/models/components/grant.rbi +1 -1
- data/lib/authlete/models/components/grant_management_action.rb +2 -2
- data/lib/authlete/models/components/grant_management_action.rbi +1 -1
- data/lib/authlete/models/components/grant_scope.rb +2 -2
- data/lib/authlete/models/components/grant_scope.rbi +1 -1
- data/lib/authlete/models/components/grant_type.rb +1 -1
- data/lib/authlete/models/components/grant_type.rbi +1 -1
- data/lib/authlete/models/components/hsk.rb +8 -8
- data/lib/authlete/models/components/hsk.rbi +1 -1
- data/lib/authlete/models/components/hsk_create_request.rb +6 -6
- data/lib/authlete/models/components/hsk_create_request.rbi +1 -1
- data/lib/authlete/models/components/hsk_create_response.rb +2 -2
- data/lib/authlete/models/components/hsk_create_response.rbi +1 -1
- data/lib/authlete/models/components/hsk_create_response_action.rbi +1 -1
- data/lib/authlete/models/components/hsk_delete_response.rb +2 -2
- data/lib/authlete/models/components/hsk_delete_response.rbi +1 -1
- data/lib/authlete/models/components/hsk_delete_response_action.rbi +1 -1
- data/lib/authlete/models/components/hsk_get_list_response.rb +1 -1
- data/lib/authlete/models/components/hsk_get_list_response.rbi +1 -1
- data/lib/authlete/models/components/hsk_get_list_response_action.rbi +1 -1
- data/lib/authlete/models/components/hsk_get_response.rb +2 -2
- data/lib/authlete/models/components/hsk_get_response.rbi +1 -1
- data/lib/authlete/models/components/hsk_get_response_action.rbi +1 -1
- data/lib/authlete/models/components/idtoken_reissue_request.rb +7 -7
- data/lib/authlete/models/components/idtoken_reissue_request.rbi +1 -1
- data/lib/authlete/models/components/idtoken_reissue_response.rb +3 -3
- data/lib/authlete/models/components/idtoken_reissue_response.rbi +1 -1
- data/lib/authlete/models/components/idtoken_reissue_response_action.rbi +1 -1
- data/lib/authlete/models/components/introspection_request.rb +24 -40
- data/lib/authlete/models/components/introspection_request.rbi +1 -1
- data/lib/authlete/models/components/introspection_response.rb +36 -45
- data/lib/authlete/models/components/introspection_response.rbi +1 -1
- data/lib/authlete/models/components/introspection_response_action.rbi +1 -1
- data/lib/authlete/models/components/jose_verify_request.rb +5 -5
- data/lib/authlete/models/components/jose_verify_request.rbi +1 -1
- data/lib/authlete/models/components/jose_verify_response.rb +5 -5
- data/lib/authlete/models/components/jose_verify_response.rbi +1 -1
- data/lib/authlete/models/components/jwe_alg.rb +2 -2
- data/lib/authlete/models/components/jwe_alg.rbi +1 -1
- data/lib/authlete/models/components/jwe_enc.rb +1 -1
- data/lib/authlete/models/components/jwe_enc.rbi +1 -1
- data/lib/authlete/models/components/jws_alg.rb +2 -2
- data/lib/authlete/models/components/jws_alg.rbi +1 -1
- data/lib/authlete/models/components/named_uri.rbi +1 -1
- data/lib/authlete/models/components/native_sso_logout_request.rb +1 -1
- data/lib/authlete/models/components/native_sso_logout_request.rbi +1 -1
- data/lib/authlete/models/components/native_sso_logout_response.rb +3 -3
- data/lib/authlete/models/components/native_sso_logout_response.rbi +1 -1
- data/lib/authlete/models/components/native_sso_logout_response_action.rb +1 -1
- data/lib/authlete/models/components/native_sso_logout_response_action.rbi +1 -1
- data/lib/authlete/models/components/native_sso_request.rb +8 -24
- data/lib/authlete/models/components/native_sso_request.rbi +1 -1
- data/lib/authlete/models/components/native_sso_response.rb +4 -4
- data/lib/authlete/models/components/native_sso_response.rbi +1 -1
- data/lib/authlete/models/components/native_sso_response_action.rb +1 -1
- data/lib/authlete/models/components/native_sso_response_action.rbi +1 -1
- data/lib/authlete/models/components/pair.rbi +1 -1
- data/lib/authlete/models/components/prompt.rb +3 -3
- data/lib/authlete/models/components/prompt.rbi +1 -1
- data/lib/authlete/models/components/property.rb +1 -1
- data/lib/authlete/models/components/property.rbi +1 -1
- data/lib/authlete/models/components/pushed_authorization_request.rb +11 -11
- data/lib/authlete/models/components/pushed_authorization_request.rbi +1 -1
- data/lib/authlete/models/components/pushed_authorization_response.rb +6 -6
- data/lib/authlete/models/components/pushed_authorization_response.rbi +1 -1
- data/lib/authlete/models/components/pushed_authorization_response_action.rbi +1 -1
- data/lib/authlete/models/components/pushed_authorization_response_clientauthmethod.rb +1 -1
- data/lib/authlete/models/components/pushed_authorization_response_clientauthmethod.rbi +1 -1
- data/lib/authlete/models/components/response_type.rbi +1 -1
- data/lib/authlete/models/components/responsemode.rbi +1 -1
- data/lib/authlete/models/components/revocation_request.rb +10 -10
- data/lib/authlete/models/components/revocation_request.rbi +1 -1
- data/lib/authlete/models/components/revocation_response.rb +2 -2
- data/lib/authlete/models/components/revocation_response.rbi +1 -1
- data/lib/authlete/models/components/revocation_response_action.rbi +1 -1
- data/lib/authlete/models/components/scope.rbi +1 -1
- data/lib/authlete/models/components/security.rbi +1 -1
- data/lib/authlete/models/components/service.rb +248 -599
- data/lib/authlete/models/components/service.rbi +1 -1
- data/lib/authlete/models/components/service_get_list_response.rb +4 -4
- data/lib/authlete/models/components/service_get_list_response.rbi +1 -1
- data/lib/authlete/models/components/service_input.rb +242 -593
- data/lib/authlete/models/components/service_input.rbi +1 -1
- data/lib/authlete/models/components/service_jwks_get_response.rbi +1 -1
- data/lib/authlete/models/components/service_profile.rbi +1 -1
- data/lib/authlete/models/components/sns_credentials.rbi +1 -1
- data/lib/authlete/models/components/standard_introspection_request.rb +22 -22
- data/lib/authlete/models/components/standard_introspection_request.rbi +1 -1
- data/lib/authlete/models/components/standard_introspection_response.rb +2 -2
- data/lib/authlete/models/components/standard_introspection_response.rbi +1 -1
- data/lib/authlete/models/components/standard_introspection_response_action.rbi +1 -1
- data/lib/authlete/models/components/subject_type.rb +2 -2
- data/lib/authlete/models/components/subject_type.rbi +1 -1
- data/lib/authlete/models/components/supportedsnse.rbi +1 -1
- data/lib/authlete/models/components/tagged_value.rbi +1 -1
- data/lib/authlete/models/components/token_create_request.rb +27 -59
- data/lib/authlete/models/components/token_create_request.rbi +1 -1
- data/lib/authlete/models/components/token_create_response.rb +18 -18
- data/lib/authlete/models/components/token_create_response.rbi +1 -1
- data/lib/authlete/models/components/token_create_response_action.rbi +1 -1
- data/lib/authlete/models/components/token_fail_request.rb +3 -3
- data/lib/authlete/models/components/token_fail_request.rbi +1 -1
- data/lib/authlete/models/components/token_fail_request_reason.rb +1 -1
- data/lib/authlete/models/components/token_fail_request_reason.rbi +1 -1
- data/lib/authlete/models/components/token_fail_response.rb +2 -2
- data/lib/authlete/models/components/token_fail_response.rbi +1 -1
- data/lib/authlete/models/components/token_fail_response_action.rbi +1 -1
- data/lib/authlete/models/components/token_get_list_response.rb +5 -5
- data/lib/authlete/models/components/token_get_list_response.rbi +1 -1
- data/lib/authlete/models/components/token_info.rb +6 -6
- data/lib/authlete/models/components/token_info.rbi +1 -1
- data/lib/authlete/models/components/token_issue_request.rb +9 -9
- data/lib/authlete/models/components/token_issue_request.rbi +1 -1
- data/lib/authlete/models/components/token_issue_response.rb +21 -21
- data/lib/authlete/models/components/token_issue_response.rbi +1 -1
- data/lib/authlete/models/components/token_issue_response_action.rbi +1 -1
- data/lib/authlete/models/components/token_request.rb +27 -27
- data/lib/authlete/models/components/token_request.rbi +1 -1
- data/lib/authlete/models/components/token_response.rb +49 -61
- data/lib/authlete/models/components/token_response.rbi +1 -1
- data/lib/authlete/models/components/token_response_action.rbi +1 -1
- data/lib/authlete/models/components/token_revoke_request.rb +7 -7
- data/lib/authlete/models/components/token_revoke_request.rbi +1 -1
- data/lib/authlete/models/components/token_revoke_response.rbi +1 -1
- data/lib/authlete/models/components/token_type.rb +1 -1
- data/lib/authlete/models/components/token_type.rbi +1 -1
- data/lib/authlete/models/components/token_update_request.rb +16 -16
- data/lib/authlete/models/components/token_update_request.rbi +1 -1
- data/lib/authlete/models/components/token_update_response.rb +9 -9
- data/lib/authlete/models/components/token_update_response.rbi +1 -1
- data/lib/authlete/models/components/token_update_response_action.rbi +1 -1
- data/lib/authlete/models/components/trust_anchor.rb +2 -2
- data/lib/authlete/models/components/trust_anchor.rbi +1 -1
- data/lib/authlete/models/components/user_code_charset.rb +1 -1
- data/lib/authlete/models/components/user_code_charset.rbi +1 -1
- data/lib/authlete/models/components/userinfo_issue_request.rb +7 -67
- data/lib/authlete/models/components/userinfo_issue_request.rbi +1 -1
- data/lib/authlete/models/components/userinfo_issue_response.rb +5 -5
- data/lib/authlete/models/components/userinfo_issue_response.rbi +1 -1
- data/lib/authlete/models/components/userinfo_issue_response_action.rbi +1 -1
- data/lib/authlete/models/components/userinfo_request.rb +15 -40
- data/lib/authlete/models/components/userinfo_request.rbi +1 -1
- data/lib/authlete/models/components/userinfo_response.rb +46 -89
- data/lib/authlete/models/components/userinfo_response.rbi +1 -1
- data/lib/authlete/models/components/userinfo_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_batch_issue_request.rbi +1 -1
- data/lib/authlete/models/components/vci_batch_issue_response.rb +3 -3
- data/lib/authlete/models/components/vci_batch_issue_response.rbi +1 -1
- data/lib/authlete/models/components/vci_batch_issue_response_action.rb +1 -1
- data/lib/authlete/models/components/vci_batch_issue_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_batch_parse_request.rbi +1 -1
- data/lib/authlete/models/components/vci_batch_parse_response.rb +2 -2
- data/lib/authlete/models/components/vci_batch_parse_response.rbi +1 -1
- data/lib/authlete/models/components/vci_batch_parse_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_deferred_issue_request.rbi +1 -1
- data/lib/authlete/models/components/vci_deferred_issue_response.rb +3 -3
- data/lib/authlete/models/components/vci_deferred_issue_response.rbi +1 -1
- data/lib/authlete/models/components/vci_deferred_issue_response_action.rb +1 -1
- data/lib/authlete/models/components/vci_deferred_issue_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_deferred_parse_request.rbi +1 -1
- data/lib/authlete/models/components/vci_deferred_parse_response.rb +1 -1
- data/lib/authlete/models/components/vci_deferred_parse_response.rbi +1 -1
- data/lib/authlete/models/components/vci_deferred_parse_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_jwks_request.rb +1 -1
- data/lib/authlete/models/components/vci_jwks_request.rbi +1 -1
- data/lib/authlete/models/components/vci_jwks_response.rb +3 -3
- data/lib/authlete/models/components/vci_jwks_response.rbi +1 -1
- data/lib/authlete/models/components/vci_jwks_response_action.rb +1 -1
- data/lib/authlete/models/components/vci_jwks_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_jwtissuer_request.rb +1 -1
- data/lib/authlete/models/components/vci_jwtissuer_request.rbi +1 -1
- data/lib/authlete/models/components/vci_jwtissuer_response.rb +3 -3
- data/lib/authlete/models/components/vci_jwtissuer_response.rbi +1 -1
- data/lib/authlete/models/components/vci_jwtissuer_response_action.rb +1 -1
- data/lib/authlete/models/components/vci_jwtissuer_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_metadata_request.rb +1 -1
- data/lib/authlete/models/components/vci_metadata_request.rbi +1 -1
- data/lib/authlete/models/components/vci_metadata_response.rb +3 -3
- data/lib/authlete/models/components/vci_metadata_response.rbi +1 -1
- data/lib/authlete/models/components/vci_metadata_response_action.rb +1 -1
- data/lib/authlete/models/components/vci_metadata_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_offer_create_request.rb +10 -79
- data/lib/authlete/models/components/vci_offer_create_request.rbi +1 -1
- data/lib/authlete/models/components/vci_offer_create_response.rb +1 -1
- data/lib/authlete/models/components/vci_offer_create_response.rbi +1 -1
- data/lib/authlete/models/components/vci_offer_create_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_offer_info_request.rbi +1 -1
- data/lib/authlete/models/components/vci_offer_info_response.rb +1 -1
- data/lib/authlete/models/components/vci_offer_info_response.rbi +1 -1
- data/lib/authlete/models/components/vci_offer_info_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_single_issue_request.rbi +1 -1
- data/lib/authlete/models/components/vci_single_issue_response.rb +4 -4
- data/lib/authlete/models/components/vci_single_issue_response.rbi +1 -1
- data/lib/authlete/models/components/vci_single_issue_response_action.rb +1 -1
- data/lib/authlete/models/components/vci_single_issue_response_action.rbi +1 -1
- data/lib/authlete/models/components/vci_single_parse_request.rbi +1 -1
- data/lib/authlete/models/components/vci_single_parse_response.rb +1 -1
- data/lib/authlete/models/components/vci_single_parse_response.rbi +1 -1
- data/lib/authlete/models/components/vci_single_parse_response_action.rbi +1 -1
- data/lib/authlete/models/components/verified_claims_validation_schema.rb +1 -1
- data/lib/authlete/models/components/verified_claims_validation_schema.rbi +1 -1
- data/lib/authlete/models/components.rb +0 -5
- data/lib/authlete/models/errors/apierror.rbi +2 -1
- data/lib/authlete/models/errors/result_error.rbi +1 -1
- data/lib/authlete/models/operations/auth_authorization_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_authorization_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_authorization_fail_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_authorization_fail_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_authorization_issue_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_authorization_issue_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_introspection_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_introspection_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_introspection_standard_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_introspection_standard_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_revocation_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_revocation_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_create_api_request.rbi +1 -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 -1
- data/lib/authlete/models/operations/auth_token_delete_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_delete_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_fail_api_request.rbi +1 -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 -3
- 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.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_issue_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_issue_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_revoke_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_revoke_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_update_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_token_update_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_userinfo_api_request.rbi +1 -1
- data/lib/authlete/models/operations/auth_userinfo_api_response.rbi +1 -1
- data/lib/authlete/models/operations/auth_userinfo_issue_api_request.rbi +1 -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.rbi +1 -1
- data/lib/authlete/models/operations/authorization_ticket_info_post_api_response.rbi +1 -1
- data/lib/authlete/models/operations/backchannel_authentication_api_request.rbi +1 -1
- data/lib/authlete/models/operations/backchannel_authentication_api_response.rbi +1 -1
- data/lib/authlete/models/operations/backchannel_authentication_complete_api_request.rbi +1 -1
- data/lib/authlete/models/operations/backchannel_authentication_complete_api_response.rbi +1 -1
- data/lib/authlete/models/operations/backchannel_authentication_fail_api_request.rbi +1 -1
- data/lib/authlete/models/operations/backchannel_authentication_fail_api_response.rbi +1 -1
- data/lib/authlete/models/operations/backchannel_authentication_issue_api_request.rbi +1 -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 +1 -1
- data/lib/authlete/models/operations/client_authorization_delete_api_post_request.rbi +1 -1
- data/lib/authlete/models/operations/client_authorization_delete_api_post_requestbody.rbi +1 -1
- data/lib/authlete/models/operations/client_authorization_delete_api_post_response.rbi +1 -1
- data/lib/authlete/models/operations/client_authorization_delete_api_request.rb +2 -2
- data/lib/authlete/models/operations/client_authorization_delete_api_request.rbi +1 -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 +2 -2
- data/lib/authlete/models/operations/client_authorization_delete_by_subject_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_authorization_delete_by_subject_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_authorization_get_list_api_post_request.rbi +1 -1
- data/lib/authlete/models/operations/client_authorization_get_list_api_post_response.rbi +1 -1
- data/lib/authlete/models/operations/client_authorization_get_list_api_request.rb +3 -3
- data/lib/authlete/models/operations/client_authorization_get_list_api_request.rbi +1 -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 +3 -3
- data/lib/authlete/models/operations/client_authorization_get_list_by_subject_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_authorization_get_list_by_subject_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_authorization_update_api_request.rb +1 -1
- data/lib/authlete/models/operations/client_authorization_update_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_authorization_update_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_create_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_create_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_delete_api_request.rbi +1 -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 -1
- 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.rbi +1 -1
- data/lib/authlete/models/operations/client_extension_requestables_scopes_get_api_request.rb +1 -1
- 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.rbi +1 -1
- data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_post_request.rb +1 -1
- data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_post_request.rbi +1 -1
- data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_post_response.rbi +1 -1
- data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_request.rb +1 -1
- 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.rbi +1 -1
- data/lib/authlete/models/operations/client_flag_update_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_flag_update_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_get_api_request.rbi +1 -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 -1
- data/lib/authlete/models/operations/client_get_list_api_request.rbi +1 -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 +2 -2
- data/lib/authlete/models/operations/client_granted_scopes_delete_api_request.rbi +1 -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 +2 -2
- data/lib/authlete/models/operations/client_granted_scopes_delete_by_subject_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_granted_scopes_delete_by_subject_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_granted_scopes_get_api_post_request.rb +1 -1
- data/lib/authlete/models/operations/client_granted_scopes_get_api_post_request.rbi +1 -1
- data/lib/authlete/models/operations/client_granted_scopes_get_api_post_requestbody.rbi +1 -1
- data/lib/authlete/models/operations/client_granted_scopes_get_api_post_response.rbi +1 -1
- data/lib/authlete/models/operations/client_granted_scopes_get_api_request.rb +2 -2
- data/lib/authlete/models/operations/client_granted_scopes_get_api_request.rbi +1 -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 +2 -2
- data/lib/authlete/models/operations/client_granted_scopes_get_by_subject_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_granted_scopes_get_by_subject_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_registration_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_registration_api_requestbody.rb +3 -3
- data/lib/authlete/models/operations/client_registration_api_requestbody.rbi +1 -1
- data/lib/authlete/models/operations/client_registration_api_response.rbi +1 -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 -3
- data/lib/authlete/models/operations/client_registration_delete_api_requestbody.rbi +1 -1
- data/lib/authlete/models/operations/client_registration_delete_api_response.rbi +1 -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 -3
- data/lib/authlete/models/operations/client_registration_get_api_requestbody.rbi +1 -1
- data/lib/authlete/models/operations/client_registration_get_api_response.rbi +1 -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 -3
- data/lib/authlete/models/operations/client_registration_update_api_requestbody.rbi +1 -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 -1
- data/lib/authlete/models/operations/client_secret_refresh_api_request.rbi +1 -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 -1
- data/lib/authlete/models/operations/client_secret_update_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_secret_update_api_response.rbi +1 -1
- data/lib/authlete/models/operations/client_update_api_form_request.rbi +1 -1
- data/lib/authlete/models/operations/client_update_api_form_response.rbi +1 -1
- data/lib/authlete/models/operations/client_update_api_request.rbi +1 -1
- data/lib/authlete/models/operations/client_update_api_response.rbi +1 -1
- data/lib/authlete/models/operations/device_authorization_api_request.rbi +1 -1
- data/lib/authlete/models/operations/device_authorization_api_response.rbi +1 -1
- data/lib/authlete/models/operations/device_complete_api_request.rbi +1 -1
- data/lib/authlete/models/operations/device_complete_api_response.rbi +1 -1
- data/lib/authlete/models/operations/device_verification_api_request.rbi +1 -1
- data/lib/authlete/models/operations/device_verification_api_response.rbi +1 -1
- data/lib/authlete/models/operations/federation_configuration_api_request.rbi +1 -1
- data/lib/authlete/models/operations/federation_configuration_api_requestbody.rbi +1 -1
- data/lib/authlete/models/operations/federation_configuration_api_response.rbi +1 -1
- data/lib/authlete/models/operations/federation_registration_api_request.rbi +1 -1
- data/lib/authlete/models/operations/federation_registration_api_response.rbi +1 -1
- data/lib/authlete/models/operations/get_api_lifecycle_healthcheck_request.rb +1 -1
- data/lib/authlete/models/operations/get_api_lifecycle_healthcheck_request.rbi +1 -1
- data/lib/authlete/models/operations/get_api_lifecycle_healthcheck_response.rbi +1 -1
- data/lib/authlete/models/operations/grant_m_api_request.rbi +1 -1
- data/lib/authlete/models/operations/grant_m_api_response.rbi +1 -1
- data/lib/authlete/models/operations/hsk_create_api_request.rbi +1 -1
- data/lib/authlete/models/operations/hsk_create_api_response.rbi +1 -1
- data/lib/authlete/models/operations/hsk_delete_api_request.rbi +1 -1
- data/lib/authlete/models/operations/hsk_delete_api_response.rbi +1 -1
- data/lib/authlete/models/operations/hsk_get_api_request.rbi +1 -1
- data/lib/authlete/models/operations/hsk_get_api_response.rbi +1 -1
- data/lib/authlete/models/operations/hsk_get_list_api_request.rbi +1 -1
- data/lib/authlete/models/operations/hsk_get_list_api_response.rbi +1 -1
- data/lib/authlete/models/operations/idtoken_reissue_api_request.rbi +1 -1
- data/lib/authlete/models/operations/idtoken_reissue_api_response.rbi +1 -1
- data/lib/authlete/models/operations/jose_verify_api_request.rbi +1 -1
- data/lib/authlete/models/operations/jose_verify_api_response.rbi +1 -1
- data/lib/authlete/models/operations/native_sso_api_request.rbi +1 -1
- data/lib/authlete/models/operations/native_sso_api_response.rbi +1 -1
- data/lib/authlete/models/operations/native_sso_logout_api_request.rbi +1 -1
- data/lib/authlete/models/operations/native_sso_logout_api_response.rbi +1 -1
- data/lib/authlete/models/operations/pushed_auth_req_api_request.rbi +1 -1
- data/lib/authlete/models/operations/pushed_auth_req_api_response.rbi +1 -1
- data/lib/authlete/models/operations/service_configuration_api_request.rbi +1 -1
- data/lib/authlete/models/operations/service_configuration_api_response.rbi +1 -1
- data/lib/authlete/models/operations/service_create_api_response.rbi +1 -1
- data/lib/authlete/models/operations/service_delete_api_request.rbi +1 -1
- data/lib/authlete/models/operations/service_delete_api_response.rbi +1 -1
- data/lib/authlete/models/operations/service_get_api_request.rbi +1 -1
- data/lib/authlete/models/operations/service_get_api_response.rbi +1 -1
- data/lib/authlete/models/operations/service_get_list_api_request.rbi +1 -1
- data/lib/authlete/models/operations/service_get_list_api_response.rbi +1 -1
- data/lib/authlete/models/operations/service_jwks_get_api_request.rbi +1 -1
- data/lib/authlete/models/operations/service_jwks_get_api_response.rbi +1 -1
- data/lib/authlete/models/operations/service_update_api_request.rbi +1 -1
- data/lib/authlete/models/operations/service_update_api_response.rbi +1 -1
- data/lib/authlete/models/operations/updateauthorizationticket_request.rbi +1 -1
- data/lib/authlete/models/operations/updateauthorizationticket_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_batch_issue_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_batch_issue_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_batch_parse_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_batch_parse_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_deferred_issue_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_deferred_issue_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_deferred_parse_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_deferred_parse_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_jwks_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_jwks_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_jwtissuer_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_jwtissuer_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_metadata_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_metadata_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_offer_create_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_offer_create_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_offer_info_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_offer_info_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_single_issue_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_single_issue_api_response.rbi +1 -1
- data/lib/authlete/models/operations/vci_single_parse_api_request.rbi +1 -1
- data/lib/authlete/models/operations/vci_single_parse_api_response.rbi +1 -1
- data/lib/authlete/models/operations.rb +0 -4
- 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 +5 -6
- data/lib/authlete/services.rb +47 -27
- data/lib/authlete/token_management.rb +43 -23
- 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 +32 -11
- data/lib/authlete/utils/url.rb +11 -5
- data/lib/authlete/utils/utils.rb +33 -3
- data/lib/authlete/verifiable_credentials.rb +69 -34
- data/lib/authlete_ruby_sdk.rb +0 -1
- data/lib/crystalline/metadata_fields.rb +66 -9
- data/lib/crystalline/module.rb +3 -3
- data/lib/crystalline/types.rb +11 -3
- metadata +18 -23
- data/lib/authlete/models/components/batchkind.rb +0 -18
- data/lib/authlete/models/components/batchkind.rbi +0 -11
- data/lib/authlete/models/components/token_batch_status.rb +0 -61
- data/lib/authlete/models/components/token_batch_status.rbi +0 -27
- data/lib/authlete/models/components/token_batch_status_result.rb +0 -19
- data/lib/authlete/models/components/token_batch_status_result.rbi +0 -11
- data/lib/authlete/models/components/token_create_batch_response.rb +0 -41
- data/lib/authlete/models/components/token_create_batch_response.rbi +0 -17
- data/lib/authlete/models/components/token_create_batch_status_response.rb +0 -42
- data/lib/authlete/models/components/token_create_batch_status_response.rbi +0 -17
- data/lib/authlete/models/operations/auth_token_create_batch_api_request.rb +0 -41
- data/lib/authlete/models/operations/auth_token_create_batch_api_request.rbi +0 -17
- data/lib/authlete/models/operations/auth_token_create_batch_api_response.rb +0 -44
- data/lib/authlete/models/operations/auth_token_create_batch_api_response.rbi +0 -19
- data/lib/authlete/models/operations/auth_token_create_batch_status_api_request.rb +0 -37
- data/lib/authlete/models/operations/auth_token_create_batch_status_api_request.rbi +0 -15
- data/lib/authlete/models/operations/auth_token_create_batch_status_api_response.rb +0 -44
- data/lib/authlete/models/operations/auth_token_create_batch_status_api_response.rbi +0 -19
- data/lib/authlete/token_operations.rb +0 -344
|
@@ -39,11 +39,13 @@ module Authlete
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
sig { params(service_id: ::String, client_identifier: ::String, client_flag_update_request: T.nilable(Models::Components::ClientFlagUpdateRequest), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientFlagUpdateApiResponse) }
|
|
45
|
+
def update_lock_flag(service_id:, client_identifier:, client_flag_update_request: nil, timeout_ms: nil, http_headers: nil)
|
|
44
46
|
# update_lock_flag - Update Client Lock
|
|
45
47
|
# Lock and unlock a client
|
|
46
|
-
#
|
|
48
|
+
#
|
|
47
49
|
request = Models::Operations::ClientFlagUpdateApiRequest.new(
|
|
48
50
|
service_id: service_id,
|
|
49
51
|
client_identifier: client_identifier,
|
|
@@ -62,7 +64,7 @@ module Authlete
|
|
|
62
64
|
req_content_type, data, form = Utils.serialize_request_body(request, false, false, :client_flag_update_request, :json)
|
|
63
65
|
headers['content-type'] = req_content_type
|
|
64
66
|
|
|
65
|
-
if form
|
|
67
|
+
if form && !form.empty?
|
|
66
68
|
body = Utils.encode_form(form)
|
|
67
69
|
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
68
70
|
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
@@ -98,6 +100,9 @@ module Authlete
|
|
|
98
100
|
req.headers.merge!(headers)
|
|
99
101
|
req.options.timeout = timeout unless timeout.nil?
|
|
100
102
|
Utils.configure_request_security(req, security)
|
|
103
|
+
http_headers&.each do |key, value|
|
|
104
|
+
req.headers[key.to_s] = value
|
|
105
|
+
end
|
|
101
106
|
|
|
102
107
|
@sdk_configuration.hooks.before_request(
|
|
103
108
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -195,14 +200,14 @@ module Authlete
|
|
|
195
200
|
end
|
|
196
201
|
|
|
197
202
|
|
|
198
|
-
sig { params(service_id: ::String, client_identifier: ::String, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientSecretRefreshApiResponse) }
|
|
199
|
-
def refresh_secret(service_id:, client_identifier:, timeout_ms: nil)
|
|
203
|
+
sig { params(service_id: ::String, client_identifier: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientSecretRefreshApiResponse) }
|
|
204
|
+
def refresh_secret(service_id:, client_identifier:, timeout_ms: nil, http_headers: nil)
|
|
200
205
|
# refresh_secret - Rotate Client Secret
|
|
201
206
|
# Refresh the client secret of a client. A new value of the client secret will be generated by the
|
|
202
207
|
# Authlete server.
|
|
203
|
-
#
|
|
208
|
+
#
|
|
204
209
|
# If you want to specify a new value, use `/api/client/secret/update` API.
|
|
205
|
-
#
|
|
210
|
+
#
|
|
206
211
|
request = Models::Operations::ClientSecretRefreshApiRequest.new(
|
|
207
212
|
service_id: service_id,
|
|
208
213
|
client_identifier: client_identifier
|
|
@@ -245,6 +250,9 @@ module Authlete
|
|
|
245
250
|
req.headers.merge!(headers)
|
|
246
251
|
req.options.timeout = timeout unless timeout.nil?
|
|
247
252
|
Utils.configure_request_security(req, security)
|
|
253
|
+
http_headers&.each do |key, value|
|
|
254
|
+
req.headers[key.to_s] = value
|
|
255
|
+
end
|
|
248
256
|
|
|
249
257
|
@sdk_configuration.hooks.before_request(
|
|
250
258
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -342,14 +350,14 @@ module Authlete
|
|
|
342
350
|
end
|
|
343
351
|
|
|
344
352
|
|
|
345
|
-
sig { params(client_secret_update_request: Models::Components::ClientSecretUpdateRequest, service_id: ::String, client_identifier: ::String, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientSecretUpdateApiResponse) }
|
|
346
|
-
def update_secret(client_secret_update_request:, service_id:, client_identifier:, timeout_ms: nil)
|
|
353
|
+
sig { params(client_secret_update_request: Models::Components::ClientSecretUpdateRequest, service_id: ::String, client_identifier: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientSecretUpdateApiResponse) }
|
|
354
|
+
def update_secret(client_secret_update_request:, service_id:, client_identifier:, timeout_ms: nil, http_headers: nil)
|
|
347
355
|
# update_secret - Update Client Secret
|
|
348
356
|
# Update the client secret of a client.
|
|
349
|
-
#
|
|
357
|
+
#
|
|
350
358
|
# If you want to have the Authlete server generate a new value of the client secret, use `/api/client/secret/refresh`
|
|
351
359
|
# API.
|
|
352
|
-
#
|
|
360
|
+
#
|
|
353
361
|
request = Models::Operations::ClientSecretUpdateApiRequest.new(
|
|
354
362
|
service_id: service_id,
|
|
355
363
|
client_identifier: client_identifier,
|
|
@@ -369,7 +377,7 @@ module Authlete
|
|
|
369
377
|
headers['content-type'] = req_content_type
|
|
370
378
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
371
379
|
|
|
372
|
-
if form
|
|
380
|
+
if form && !form.empty?
|
|
373
381
|
body = Utils.encode_form(form)
|
|
374
382
|
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
375
383
|
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
@@ -405,6 +413,9 @@ module Authlete
|
|
|
405
413
|
req.headers.merge!(headers)
|
|
406
414
|
req.options.timeout = timeout unless timeout.nil?
|
|
407
415
|
Utils.configure_request_security(req, security)
|
|
416
|
+
http_headers&.each do |key, value|
|
|
417
|
+
req.headers[key.to_s] = value
|
|
418
|
+
end
|
|
408
419
|
|
|
409
420
|
@sdk_configuration.hooks.before_request(
|
|
410
421
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -502,12 +513,12 @@ module Authlete
|
|
|
502
513
|
end
|
|
503
514
|
|
|
504
515
|
|
|
505
|
-
sig { params(request: Models::Operations::ClientAuthorizationGetListBySubjectApiRequest, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientAuthorizationGetListBySubjectApiResponse) }
|
|
506
|
-
def authorizations(request:, timeout_ms: nil)
|
|
516
|
+
sig { params(request: Models::Operations::ClientAuthorizationGetListBySubjectApiRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientAuthorizationGetListBySubjectApiResponse) }
|
|
517
|
+
def authorizations(request:, timeout_ms: nil, http_headers: nil)
|
|
507
518
|
# authorizations - Get Authorized Applications (by Subject)
|
|
508
519
|
# Get a list of client applications that an end-user has authorized.
|
|
509
520
|
# In this variant, the subject is provided in the path.
|
|
510
|
-
#
|
|
521
|
+
#
|
|
511
522
|
url, params = @sdk_configuration.get_server_details
|
|
512
523
|
base_url = Utils.template_url(url, params)
|
|
513
524
|
url = Utils.generate_url(
|
|
@@ -548,6 +559,9 @@ module Authlete
|
|
|
548
559
|
req.options.timeout = timeout unless timeout.nil?
|
|
549
560
|
req.params = query_params
|
|
550
561
|
Utils.configure_request_security(req, security)
|
|
562
|
+
http_headers&.each do |key, value|
|
|
563
|
+
req.headers[key.to_s] = value
|
|
564
|
+
end
|
|
551
565
|
|
|
552
566
|
@sdk_configuration.hooks.before_request(
|
|
553
567
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -645,11 +659,11 @@ module Authlete
|
|
|
645
659
|
end
|
|
646
660
|
|
|
647
661
|
|
|
648
|
-
sig { params(service_id: ::String, client_id: ::String, client_authorization_update_request: T.nilable(Models::Components::ClientAuthorizationUpdateRequest), timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientAuthorizationUpdateApiResponse) }
|
|
649
|
-
def update_authorizations(service_id:, client_id:, client_authorization_update_request: nil, timeout_ms: nil)
|
|
662
|
+
sig { params(service_id: ::String, client_id: ::String, client_authorization_update_request: T.nilable(Models::Components::ClientAuthorizationUpdateRequest), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientAuthorizationUpdateApiResponse) }
|
|
663
|
+
def update_authorizations(service_id:, client_id:, client_authorization_update_request: nil, timeout_ms: nil, http_headers: nil)
|
|
650
664
|
# update_authorizations - Update Client Tokens
|
|
651
665
|
# Update attributes of all existing access tokens given to a client application.
|
|
652
|
-
#
|
|
666
|
+
#
|
|
653
667
|
request = Models::Operations::ClientAuthorizationUpdateApiRequest.new(
|
|
654
668
|
service_id: service_id,
|
|
655
669
|
client_id: client_id,
|
|
@@ -668,7 +682,7 @@ module Authlete
|
|
|
668
682
|
req_content_type, data, form = Utils.serialize_request_body(request, false, false, :client_authorization_update_request, :json)
|
|
669
683
|
headers['content-type'] = req_content_type
|
|
670
684
|
|
|
671
|
-
if form
|
|
685
|
+
if form && !form.empty?
|
|
672
686
|
body = Utils.encode_form(form)
|
|
673
687
|
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
674
688
|
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
@@ -704,6 +718,9 @@ module Authlete
|
|
|
704
718
|
req.headers.merge!(headers)
|
|
705
719
|
req.options.timeout = timeout unless timeout.nil?
|
|
706
720
|
Utils.configure_request_security(req, security)
|
|
721
|
+
http_headers&.each do |key, value|
|
|
722
|
+
req.headers[key.to_s] = value
|
|
723
|
+
end
|
|
707
724
|
|
|
708
725
|
@sdk_configuration.hooks.before_request(
|
|
709
726
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -801,12 +818,12 @@ module Authlete
|
|
|
801
818
|
end
|
|
802
819
|
|
|
803
820
|
|
|
804
|
-
sig { params(service_id: ::String, client_id: ::String, subject: ::String, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientAuthorizationDeleteBySubjectApiResponse) }
|
|
805
|
-
def destroy_authorizations(service_id:, client_id:, subject:, timeout_ms: nil)
|
|
821
|
+
sig { params(service_id: ::String, client_id: ::String, subject: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientAuthorizationDeleteBySubjectApiResponse) }
|
|
822
|
+
def destroy_authorizations(service_id:, client_id:, subject:, timeout_ms: nil, http_headers: nil)
|
|
806
823
|
# destroy_authorizations - Delete Client Tokens (by Subject)
|
|
807
824
|
# Delete all existing access tokens issued to a client application by an end-user.
|
|
808
825
|
# In this variant, the subject is provided in the path.
|
|
809
|
-
#
|
|
826
|
+
#
|
|
810
827
|
request = Models::Operations::ClientAuthorizationDeleteBySubjectApiRequest.new(
|
|
811
828
|
service_id: service_id,
|
|
812
829
|
client_id: client_id,
|
|
@@ -850,6 +867,9 @@ module Authlete
|
|
|
850
867
|
req.headers.merge!(headers)
|
|
851
868
|
req.options.timeout = timeout unless timeout.nil?
|
|
852
869
|
Utils.configure_request_security(req, security)
|
|
870
|
+
http_headers&.each do |key, value|
|
|
871
|
+
req.headers[key.to_s] = value
|
|
872
|
+
end
|
|
853
873
|
|
|
854
874
|
@sdk_configuration.hooks.before_request(
|
|
855
875
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -947,12 +967,12 @@ module Authlete
|
|
|
947
967
|
end
|
|
948
968
|
|
|
949
969
|
|
|
950
|
-
sig { params(service_id: ::String, client_id: ::String, subject: ::String, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientGrantedScopesGetBySubjectApiResponse) }
|
|
951
|
-
def granted_scopes(service_id:, client_id:, subject:, timeout_ms: nil)
|
|
970
|
+
sig { params(service_id: ::String, client_id: ::String, subject: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientGrantedScopesGetBySubjectApiResponse) }
|
|
971
|
+
def granted_scopes(service_id:, client_id:, subject:, timeout_ms: nil, http_headers: nil)
|
|
952
972
|
# granted_scopes - Get Granted Scopes (by Subject)
|
|
953
973
|
# Get the set of scopes that a user has granted to a client application.
|
|
954
974
|
# In this variant, the subject is provided in the path.
|
|
955
|
-
#
|
|
975
|
+
#
|
|
956
976
|
request = Models::Operations::ClientGrantedScopesGetBySubjectApiRequest.new(
|
|
957
977
|
service_id: service_id,
|
|
958
978
|
client_id: client_id,
|
|
@@ -996,6 +1016,9 @@ module Authlete
|
|
|
996
1016
|
req.headers.merge!(headers)
|
|
997
1017
|
req.options.timeout = timeout unless timeout.nil?
|
|
998
1018
|
Utils.configure_request_security(req, security)
|
|
1019
|
+
http_headers&.each do |key, value|
|
|
1020
|
+
req.headers[key.to_s] = value
|
|
1021
|
+
end
|
|
999
1022
|
|
|
1000
1023
|
@sdk_configuration.hooks.before_request(
|
|
1001
1024
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -1093,12 +1116,12 @@ module Authlete
|
|
|
1093
1116
|
end
|
|
1094
1117
|
|
|
1095
1118
|
|
|
1096
|
-
sig { params(service_id: ::String, client_id: ::String, subject: ::String, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientGrantedScopesDeleteBySubjectApiResponse) }
|
|
1097
|
-
def destroy_granted_scopes(service_id:, client_id:, subject:, timeout_ms: nil)
|
|
1119
|
+
sig { params(service_id: ::String, client_id: ::String, subject: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientGrantedScopesDeleteBySubjectApiResponse) }
|
|
1120
|
+
def destroy_granted_scopes(service_id:, client_id:, subject:, timeout_ms: nil, http_headers: nil)
|
|
1098
1121
|
# destroy_granted_scopes - Delete Granted Scopes (by Subject)
|
|
1099
1122
|
# Delete the set of scopes that an end-user has granted to a client application.
|
|
1100
1123
|
# In this variant, the subject is provided in the path.
|
|
1101
|
-
#
|
|
1124
|
+
#
|
|
1102
1125
|
request = Models::Operations::ClientGrantedScopesDeleteBySubjectApiRequest.new(
|
|
1103
1126
|
service_id: service_id,
|
|
1104
1127
|
client_id: client_id,
|
|
@@ -1142,6 +1165,9 @@ module Authlete
|
|
|
1142
1165
|
req.headers.merge!(headers)
|
|
1143
1166
|
req.options.timeout = timeout unless timeout.nil?
|
|
1144
1167
|
Utils.configure_request_security(req, security)
|
|
1168
|
+
http_headers&.each do |key, value|
|
|
1169
|
+
req.headers[key.to_s] = value
|
|
1170
|
+
end
|
|
1145
1171
|
|
|
1146
1172
|
@sdk_configuration.hooks.before_request(
|
|
1147
1173
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -1239,11 +1265,11 @@ module Authlete
|
|
|
1239
1265
|
end
|
|
1240
1266
|
|
|
1241
1267
|
|
|
1242
|
-
sig { params(service_id: ::String, client_id: ::String, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientExtensionRequestablesScopesGetApiResponse) }
|
|
1243
|
-
def requestable_scopes(service_id:, client_id:, timeout_ms: nil)
|
|
1268
|
+
sig { params(service_id: ::String, client_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientExtensionRequestablesScopesGetApiResponse) }
|
|
1269
|
+
def requestable_scopes(service_id:, client_id:, timeout_ms: nil, http_headers: nil)
|
|
1244
1270
|
# requestable_scopes - Get Requestable Scopes
|
|
1245
1271
|
# Get the requestable scopes per client
|
|
1246
|
-
#
|
|
1272
|
+
#
|
|
1247
1273
|
request = Models::Operations::ClientExtensionRequestablesScopesGetApiRequest.new(
|
|
1248
1274
|
service_id: service_id,
|
|
1249
1275
|
client_id: client_id
|
|
@@ -1286,6 +1312,9 @@ module Authlete
|
|
|
1286
1312
|
req.headers.merge!(headers)
|
|
1287
1313
|
req.options.timeout = timeout unless timeout.nil?
|
|
1288
1314
|
Utils.configure_request_security(req, security)
|
|
1315
|
+
http_headers&.each do |key, value|
|
|
1316
|
+
req.headers[key.to_s] = value
|
|
1317
|
+
end
|
|
1289
1318
|
|
|
1290
1319
|
@sdk_configuration.hooks.before_request(
|
|
1291
1320
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -1383,11 +1412,11 @@ module Authlete
|
|
|
1383
1412
|
end
|
|
1384
1413
|
|
|
1385
1414
|
|
|
1386
|
-
sig { params(client_extension_requestable_scopes_update_request: Models::Components::ClientExtensionRequestableScopesUpdateRequest, service_id: ::String, client_id: ::String, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientExtensionRequestablesScopesUpdateApiResponse) }
|
|
1387
|
-
def update_requestable_scopes(client_extension_requestable_scopes_update_request:, service_id:, client_id:, timeout_ms: nil)
|
|
1415
|
+
sig { params(client_extension_requestable_scopes_update_request: Models::Components::ClientExtensionRequestableScopesUpdateRequest, service_id: ::String, client_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientExtensionRequestablesScopesUpdateApiResponse) }
|
|
1416
|
+
def update_requestable_scopes(client_extension_requestable_scopes_update_request:, service_id:, client_id:, timeout_ms: nil, http_headers: nil)
|
|
1388
1417
|
# update_requestable_scopes - Update Requestable Scopes
|
|
1389
1418
|
# Update requestable scopes of a client
|
|
1390
|
-
#
|
|
1419
|
+
#
|
|
1391
1420
|
request = Models::Operations::ClientExtensionRequestablesScopesUpdateApiRequest.new(
|
|
1392
1421
|
service_id: service_id,
|
|
1393
1422
|
client_id: client_id,
|
|
@@ -1407,7 +1436,7 @@ module Authlete
|
|
|
1407
1436
|
headers['content-type'] = req_content_type
|
|
1408
1437
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
1409
1438
|
|
|
1410
|
-
if form
|
|
1439
|
+
if form && !form.empty?
|
|
1411
1440
|
body = Utils.encode_form(form)
|
|
1412
1441
|
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
1413
1442
|
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
@@ -1443,6 +1472,9 @@ module Authlete
|
|
|
1443
1472
|
req.headers.merge!(headers)
|
|
1444
1473
|
req.options.timeout = timeout unless timeout.nil?
|
|
1445
1474
|
Utils.configure_request_security(req, security)
|
|
1475
|
+
http_headers&.each do |key, value|
|
|
1476
|
+
req.headers[key.to_s] = value
|
|
1477
|
+
end
|
|
1446
1478
|
|
|
1447
1479
|
@sdk_configuration.hooks.before_request(
|
|
1448
1480
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -1540,11 +1572,11 @@ module Authlete
|
|
|
1540
1572
|
end
|
|
1541
1573
|
|
|
1542
1574
|
|
|
1543
|
-
sig { params(service_id: ::String, client_id: ::String, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientExtensionRequestablesScopesDeleteApiResponse) }
|
|
1544
|
-
def destroy_requestable_scopes(service_id:, client_id:, timeout_ms: nil)
|
|
1575
|
+
sig { params(service_id: ::String, client_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientExtensionRequestablesScopesDeleteApiResponse) }
|
|
1576
|
+
def destroy_requestable_scopes(service_id:, client_id:, timeout_ms: nil, http_headers: nil)
|
|
1545
1577
|
# destroy_requestable_scopes - Delete Requestable Scopes
|
|
1546
1578
|
# Delete requestable scopes of a client
|
|
1547
|
-
#
|
|
1579
|
+
#
|
|
1548
1580
|
request = Models::Operations::ClientExtensionRequestablesScopesDeleteApiRequest.new(
|
|
1549
1581
|
service_id: service_id,
|
|
1550
1582
|
client_id: client_id
|
|
@@ -1587,6 +1619,9 @@ module Authlete
|
|
|
1587
1619
|
req.headers.merge!(headers)
|
|
1588
1620
|
req.options.timeout = timeout unless timeout.nil?
|
|
1589
1621
|
Utils.configure_request_security(req, security)
|
|
1622
|
+
http_headers&.each do |key, value|
|
|
1623
|
+
req.headers[key.to_s] = value
|
|
1624
|
+
end
|
|
1590
1625
|
|
|
1591
1626
|
@sdk_configuration.hooks.before_request(
|
|
1592
1627
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -1675,13 +1710,13 @@ module Authlete
|
|
|
1675
1710
|
end
|
|
1676
1711
|
|
|
1677
1712
|
|
|
1678
|
-
sig { params(request: Models::Operations::ClientAuthorizationGetListApiRequest, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientAuthorizationGetListApiResponse) }
|
|
1679
|
-
def client_authorization_get_list_api(request:, timeout_ms: nil)
|
|
1713
|
+
sig { params(request: Models::Operations::ClientAuthorizationGetListApiRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientAuthorizationGetListApiResponse) }
|
|
1714
|
+
def client_authorization_get_list_api(request:, timeout_ms: nil, http_headers: nil)
|
|
1680
1715
|
# client_authorization_get_list_api - Get Authorized Applications
|
|
1681
1716
|
# Get a list of client applications that an end-user has authorized.
|
|
1682
|
-
#
|
|
1717
|
+
#
|
|
1683
1718
|
# The subject parameter is required and can be provided as a query parameter.
|
|
1684
|
-
#
|
|
1719
|
+
#
|
|
1685
1720
|
url, params = @sdk_configuration.get_server_details
|
|
1686
1721
|
base_url = Utils.template_url(url, params)
|
|
1687
1722
|
url = Utils.generate_url(
|
|
@@ -1722,6 +1757,9 @@ module Authlete
|
|
|
1722
1757
|
req.options.timeout = timeout unless timeout.nil?
|
|
1723
1758
|
req.params = query_params
|
|
1724
1759
|
Utils.configure_request_security(req, security)
|
|
1760
|
+
http_headers&.each do |key, value|
|
|
1761
|
+
req.headers[key.to_s] = value
|
|
1762
|
+
end
|
|
1725
1763
|
|
|
1726
1764
|
@sdk_configuration.hooks.before_request(
|
|
1727
1765
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -1819,13 +1857,13 @@ module Authlete
|
|
|
1819
1857
|
end
|
|
1820
1858
|
|
|
1821
1859
|
|
|
1822
|
-
sig { params(client_authorization_get_list_request: Models::Components::ClientAuthorizationGetListRequest, service_id: ::String, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientAuthorizationGetListApiPostResponse) }
|
|
1823
|
-
def client_authorization_get_list_api_post(client_authorization_get_list_request:, service_id:, timeout_ms: nil)
|
|
1860
|
+
sig { params(client_authorization_get_list_request: Models::Components::ClientAuthorizationGetListRequest, service_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientAuthorizationGetListApiPostResponse) }
|
|
1861
|
+
def client_authorization_get_list_api_post(client_authorization_get_list_request:, service_id:, timeout_ms: nil, http_headers: nil)
|
|
1824
1862
|
# client_authorization_get_list_api_post - Get Authorized Applications
|
|
1825
1863
|
# Get a list of client applications that an end-user has authorized.
|
|
1826
|
-
#
|
|
1864
|
+
#
|
|
1827
1865
|
# The subject parameter is required.
|
|
1828
|
-
#
|
|
1866
|
+
#
|
|
1829
1867
|
request = Models::Operations::ClientAuthorizationGetListApiPostRequest.new(
|
|
1830
1868
|
service_id: service_id,
|
|
1831
1869
|
client_authorization_get_list_request: client_authorization_get_list_request
|
|
@@ -1844,7 +1882,7 @@ module Authlete
|
|
|
1844
1882
|
headers['content-type'] = req_content_type
|
|
1845
1883
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
1846
1884
|
|
|
1847
|
-
if form
|
|
1885
|
+
if form && !form.empty?
|
|
1848
1886
|
body = Utils.encode_form(form)
|
|
1849
1887
|
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
1850
1888
|
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
@@ -1880,6 +1918,9 @@ module Authlete
|
|
|
1880
1918
|
req.headers.merge!(headers)
|
|
1881
1919
|
req.options.timeout = timeout unless timeout.nil?
|
|
1882
1920
|
Utils.configure_request_security(req, security)
|
|
1921
|
+
http_headers&.each do |key, value|
|
|
1922
|
+
req.headers[key.to_s] = value
|
|
1923
|
+
end
|
|
1883
1924
|
|
|
1884
1925
|
@sdk_configuration.hooks.before_request(
|
|
1885
1926
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -1977,13 +2018,13 @@ module Authlete
|
|
|
1977
2018
|
end
|
|
1978
2019
|
|
|
1979
2020
|
|
|
1980
|
-
sig { params(service_id: ::String, client_id: ::String, subject: ::String, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientAuthorizationDeleteApiResponse) }
|
|
1981
|
-
def client_authorization_delete_api(service_id:, client_id:, subject:, timeout_ms: nil)
|
|
2021
|
+
sig { params(service_id: ::String, client_id: ::String, subject: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientAuthorizationDeleteApiResponse) }
|
|
2022
|
+
def client_authorization_delete_api(service_id:, client_id:, subject:, timeout_ms: nil, http_headers: nil)
|
|
1982
2023
|
# client_authorization_delete_api - Delete Client Tokens
|
|
1983
2024
|
# Delete all existing access tokens issued to a client application by an end-user.
|
|
1984
|
-
#
|
|
2025
|
+
#
|
|
1985
2026
|
# The subject parameter is required and must be provided as a query parameter.
|
|
1986
|
-
#
|
|
2027
|
+
#
|
|
1987
2028
|
request = Models::Operations::ClientAuthorizationDeleteApiRequest.new(
|
|
1988
2029
|
service_id: service_id,
|
|
1989
2030
|
client_id: client_id,
|
|
@@ -2029,6 +2070,9 @@ module Authlete
|
|
|
2029
2070
|
req.options.timeout = timeout unless timeout.nil?
|
|
2030
2071
|
req.params = query_params
|
|
2031
2072
|
Utils.configure_request_security(req, security)
|
|
2073
|
+
http_headers&.each do |key, value|
|
|
2074
|
+
req.headers[key.to_s] = value
|
|
2075
|
+
end
|
|
2032
2076
|
|
|
2033
2077
|
@sdk_configuration.hooks.before_request(
|
|
2034
2078
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -2126,13 +2170,13 @@ module Authlete
|
|
|
2126
2170
|
end
|
|
2127
2171
|
|
|
2128
2172
|
|
|
2129
|
-
sig { params(request_body: Models::Operations::ClientAuthorizationDeleteApiPostRequestBody, service_id: ::String, client_id: ::String, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientAuthorizationDeleteApiPostResponse) }
|
|
2130
|
-
def client_authorization_delete_api_post(request_body:, service_id:, client_id:, timeout_ms: nil)
|
|
2173
|
+
sig { params(request_body: Models::Operations::ClientAuthorizationDeleteApiPostRequestBody, service_id: ::String, client_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientAuthorizationDeleteApiPostResponse) }
|
|
2174
|
+
def client_authorization_delete_api_post(request_body:, service_id:, client_id:, timeout_ms: nil, http_headers: nil)
|
|
2131
2175
|
# client_authorization_delete_api_post - Delete Client Tokens
|
|
2132
2176
|
# Delete all existing access tokens issued to a client application by an end-user.
|
|
2133
|
-
#
|
|
2177
|
+
#
|
|
2134
2178
|
# The subject parameter is required.
|
|
2135
|
-
#
|
|
2179
|
+
#
|
|
2136
2180
|
request = Models::Operations::ClientAuthorizationDeleteApiPostRequest.new(
|
|
2137
2181
|
service_id: service_id,
|
|
2138
2182
|
client_id: client_id,
|
|
@@ -2152,7 +2196,7 @@ module Authlete
|
|
|
2152
2196
|
headers['content-type'] = req_content_type
|
|
2153
2197
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
2154
2198
|
|
|
2155
|
-
if form
|
|
2199
|
+
if form && !form.empty?
|
|
2156
2200
|
body = Utils.encode_form(form)
|
|
2157
2201
|
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
2158
2202
|
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
@@ -2188,6 +2232,9 @@ module Authlete
|
|
|
2188
2232
|
req.headers.merge!(headers)
|
|
2189
2233
|
req.options.timeout = timeout unless timeout.nil?
|
|
2190
2234
|
Utils.configure_request_security(req, security)
|
|
2235
|
+
http_headers&.each do |key, value|
|
|
2236
|
+
req.headers[key.to_s] = value
|
|
2237
|
+
end
|
|
2191
2238
|
|
|
2192
2239
|
@sdk_configuration.hooks.before_request(
|
|
2193
2240
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -2255,24 +2302,11 @@ module Authlete
|
|
|
2255
2302
|
end
|
|
2256
2303
|
|
|
2257
2304
|
|
|
2258
|
-
sig { params(service_id: ::String, client_id: ::String, subject: ::String, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientGrantedScopesGetApiResponse) }
|
|
2259
|
-
def client_granted_scopes_get_api(service_id:, client_id:, subject:, timeout_ms: nil)
|
|
2305
|
+
sig { params(service_id: ::String, client_id: ::String, subject: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientGrantedScopesGetApiResponse) }
|
|
2306
|
+
def client_granted_scopes_get_api(service_id:, client_id:, subject:, timeout_ms: nil, http_headers: nil)
|
|
2260
2307
|
# client_granted_scopes_get_api - Get Granted Scopes
|
|
2261
2308
|
# Get the set of scopes that a user has granted to a client application.
|
|
2262
|
-
#
|
|
2263
|
-
# Possible values for `requestableScopes` parameter in the response from this API are as follows.
|
|
2264
|
-
# **null**
|
|
2265
|
-
# The user has not granted authorization to the client application in the past, or records about the
|
|
2266
|
-
# combination of the user and the client application have been deleted from Authlete's DB.
|
|
2267
|
-
# **An empty set**
|
|
2268
|
-
# The user has granted authorization to the client application in the past, but no scopes are associated
|
|
2269
|
-
# with the authorization.
|
|
2270
|
-
# **A set with at least one element**
|
|
2271
|
-
# The user has granted authorization to the client application in the past and some scopes are associated
|
|
2272
|
-
# with the authorization. These scopes are returned.
|
|
2273
|
-
# Example: `[ "profile", "email" ]`
|
|
2274
|
-
# The subject parameter is required and must be provided as a query parameter.
|
|
2275
|
-
#
|
|
2309
|
+
#
|
|
2276
2310
|
request = Models::Operations::ClientGrantedScopesGetApiRequest.new(
|
|
2277
2311
|
service_id: service_id,
|
|
2278
2312
|
client_id: client_id,
|
|
@@ -2318,6 +2352,9 @@ module Authlete
|
|
|
2318
2352
|
req.options.timeout = timeout unless timeout.nil?
|
|
2319
2353
|
req.params = query_params
|
|
2320
2354
|
Utils.configure_request_security(req, security)
|
|
2355
|
+
http_headers&.each do |key, value|
|
|
2356
|
+
req.headers[key.to_s] = value
|
|
2357
|
+
end
|
|
2321
2358
|
|
|
2322
2359
|
@sdk_configuration.hooks.before_request(
|
|
2323
2360
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -2415,13 +2452,13 @@ module Authlete
|
|
|
2415
2452
|
end
|
|
2416
2453
|
|
|
2417
2454
|
|
|
2418
|
-
sig { params(request_body: Models::Operations::ClientGrantedScopesGetApiPostRequestBody, service_id: ::String, client_id: ::String, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientGrantedScopesGetApiPostResponse) }
|
|
2419
|
-
def client_granted_scopes_get_api_post(request_body:, service_id:, client_id:, timeout_ms: nil)
|
|
2455
|
+
sig { params(request_body: Models::Operations::ClientGrantedScopesGetApiPostRequestBody, service_id: ::String, client_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientGrantedScopesGetApiPostResponse) }
|
|
2456
|
+
def client_granted_scopes_get_api_post(request_body:, service_id:, client_id:, timeout_ms: nil, http_headers: nil)
|
|
2420
2457
|
# client_granted_scopes_get_api_post - Get Granted Scopes
|
|
2421
2458
|
# Get the set of scopes that a user has granted to a client application.
|
|
2422
|
-
#
|
|
2459
|
+
#
|
|
2423
2460
|
# The subject parameter is required.
|
|
2424
|
-
#
|
|
2461
|
+
#
|
|
2425
2462
|
request = Models::Operations::ClientGrantedScopesGetApiPostRequest.new(
|
|
2426
2463
|
service_id: service_id,
|
|
2427
2464
|
client_id: client_id,
|
|
@@ -2441,7 +2478,7 @@ module Authlete
|
|
|
2441
2478
|
headers['content-type'] = req_content_type
|
|
2442
2479
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
2443
2480
|
|
|
2444
|
-
if form
|
|
2481
|
+
if form && !form.empty?
|
|
2445
2482
|
body = Utils.encode_form(form)
|
|
2446
2483
|
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
2447
2484
|
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
@@ -2477,6 +2514,9 @@ module Authlete
|
|
|
2477
2514
|
req.headers.merge!(headers)
|
|
2478
2515
|
req.options.timeout = timeout unless timeout.nil?
|
|
2479
2516
|
Utils.configure_request_security(req, security)
|
|
2517
|
+
http_headers&.each do |key, value|
|
|
2518
|
+
req.headers[key.to_s] = value
|
|
2519
|
+
end
|
|
2480
2520
|
|
|
2481
2521
|
@sdk_configuration.hooks.before_request(
|
|
2482
2522
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -2544,15 +2584,15 @@ module Authlete
|
|
|
2544
2584
|
end
|
|
2545
2585
|
|
|
2546
2586
|
|
|
2547
|
-
sig { params(service_id: ::String, client_id: ::String, subject: ::String, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientGrantedScopesDeleteApiResponse) }
|
|
2548
|
-
def client_granted_scopes_delete_api(service_id:, client_id:, subject:, timeout_ms: nil)
|
|
2587
|
+
sig { params(service_id: ::String, client_id: ::String, subject: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientGrantedScopesDeleteApiResponse) }
|
|
2588
|
+
def client_granted_scopes_delete_api(service_id:, client_id:, subject:, timeout_ms: nil, http_headers: nil)
|
|
2549
2589
|
# client_granted_scopes_delete_api - Delete Granted Scopes
|
|
2550
2590
|
# Delete the set of scopes that an end-user has granted to a client application.
|
|
2551
|
-
#
|
|
2591
|
+
#
|
|
2552
2592
|
# Even if records about granted scopes are deleted by calling this API, existing access tokens are
|
|
2553
2593
|
# not deleted and scopes of existing access tokens are not changed.
|
|
2554
2594
|
# The subject parameter is required and must be provided as a query parameter.
|
|
2555
|
-
#
|
|
2595
|
+
#
|
|
2556
2596
|
request = Models::Operations::ClientGrantedScopesDeleteApiRequest.new(
|
|
2557
2597
|
service_id: service_id,
|
|
2558
2598
|
client_id: client_id,
|
|
@@ -2598,6 +2638,9 @@ module Authlete
|
|
|
2598
2638
|
req.options.timeout = timeout unless timeout.nil?
|
|
2599
2639
|
req.params = query_params
|
|
2600
2640
|
Utils.configure_request_security(req, security)
|
|
2641
|
+
http_headers&.each do |key, value|
|
|
2642
|
+
req.headers[key.to_s] = value
|
|
2643
|
+
end
|
|
2601
2644
|
|
|
2602
2645
|
@sdk_configuration.hooks.before_request(
|
|
2603
2646
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -2695,11 +2738,11 @@ module Authlete
|
|
|
2695
2738
|
end
|
|
2696
2739
|
|
|
2697
2740
|
|
|
2698
|
-
sig { params(client_extension_requestable_scopes_update_request: Models::Components::ClientExtensionRequestableScopesUpdateRequest, service_id: ::String, client_id: ::String, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ClientExtensionRequestablesScopesUpdateApiPostResponse) }
|
|
2699
|
-
def client_extension_requestables_scopes_update_api_post(client_extension_requestable_scopes_update_request:, service_id:, client_id:, timeout_ms: nil)
|
|
2741
|
+
sig { params(client_extension_requestable_scopes_update_request: Models::Components::ClientExtensionRequestableScopesUpdateRequest, service_id: ::String, client_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ClientExtensionRequestablesScopesUpdateApiPostResponse) }
|
|
2742
|
+
def client_extension_requestables_scopes_update_api_post(client_extension_requestable_scopes_update_request:, service_id:, client_id:, timeout_ms: nil, http_headers: nil)
|
|
2700
2743
|
# client_extension_requestables_scopes_update_api_post - Update Requestable Scopes
|
|
2701
2744
|
# Update requestable scopes of a client
|
|
2702
|
-
#
|
|
2745
|
+
#
|
|
2703
2746
|
request = Models::Operations::ClientExtensionRequestablesScopesUpdateApiPostRequest.new(
|
|
2704
2747
|
service_id: service_id,
|
|
2705
2748
|
client_id: client_id,
|
|
@@ -2719,7 +2762,7 @@ module Authlete
|
|
|
2719
2762
|
headers['content-type'] = req_content_type
|
|
2720
2763
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
2721
2764
|
|
|
2722
|
-
if form
|
|
2765
|
+
if form && !form.empty?
|
|
2723
2766
|
body = Utils.encode_form(form)
|
|
2724
2767
|
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
2725
2768
|
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
@@ -2755,6 +2798,9 @@ module Authlete
|
|
|
2755
2798
|
req.headers.merge!(headers)
|
|
2756
2799
|
req.options.timeout = timeout unless timeout.nil?
|
|
2757
2800
|
Utils.configure_request_security(req, security)
|
|
2801
|
+
http_headers&.each do |key, value|
|
|
2802
|
+
req.headers[key.to_s] = value
|
|
2803
|
+
end
|
|
2758
2804
|
|
|
2759
2805
|
@sdk_configuration.hooks.before_request(
|
|
2760
2806
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -2850,5 +2896,5 @@ module Authlete
|
|
|
2850
2896
|
|
|
2851
2897
|
end
|
|
2852
2898
|
end
|
|
2853
|
-
|
|
2899
|
+
end
|
|
2854
2900
|
end
|