ory-client 1.22.47 → 1.22.48
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/Gemfile.lock +1 -1
- data/README.md +51 -47
- data/docs/AdminRevokeImportedApiKeyBody.md +20 -0
- data/docs/{AdminRevokeAPIKeyBody.md → AdminRevokeIssuedApiKeyBody.md} +2 -2
- data/docs/{AdminRotateIssuedAPIKeyBody.md → AdminRotateIssuedApiKeyBody.md} +2 -2
- data/docs/{AdminUpdateImportedAPIKeyRequest.md → AdminUpdateImportedApiKeyRequest.md} +2 -2
- data/docs/{AdminUpdateIssuedAPIKeyRequest.md → AdminUpdateIssuedApiKeyRequest.md} +2 -2
- data/docs/{APIKeysApi.md → ApiKeysApi.md} +234 -162
- data/docs/{BatchImportErrorCode.md → BatchCreateImportedApiKeysErrorCode.md} +2 -2
- data/docs/BatchCreateImportedApiKeysRequest.md +18 -0
- data/docs/{BatchImportAPIKeysResponse.md → BatchCreateImportedApiKeysResponse.md} +3 -3
- data/docs/BatchCreateImportedApiKeysResult.md +24 -0
- data/docs/BatchVerifyApiKeysRequest.md +18 -0
- data/docs/BatchVerifyApiKeysResponse.md +18 -0
- data/docs/CreateProjectNormalizedPayload.md +38 -0
- data/docs/{ImportAPIKeyRequest.md → ImportApiKeyRequest.md} +2 -2
- data/docs/{ImportedAPIKey.md → ImportedApiKey.md} +2 -2
- data/docs/{IssueAPIKeyRequest.md → IssueApiKeyRequest.md} +2 -2
- data/docs/{IssueAPIKeyResponse.md → IssueApiKeyResponse.md} +3 -3
- data/docs/{IssuedAPIKey.md → IssuedApiKey.md} +2 -2
- data/docs/{ListImportedAPIKeysResponse.md → ListImportedApiKeysResponse.md} +3 -3
- data/docs/{ListIssuedAPIKeysResponse.md → ListIssuedApiKeysResponse.md} +3 -3
- data/docs/NormalizedProjectRevision.md +38 -0
- data/docs/ProjectServiceTalos.md +18 -0
- data/docs/ProjectServices.md +3 -1
- data/docs/QuotaUsage.md +1 -1
- data/docs/{RotateIssuedAPIKeyResponse.md → RotateIssuedApiKeyResponse.md} +4 -4
- data/docs/RotateTalosKeyBody.md +18 -0
- data/docs/{SelfRevokeAPIKeyRequest.md → SelfRevokeApiKeyRequest.md} +2 -2
- data/docs/{VerifyAPIKeyRequest.md → VerifyApiKeyRequest.md} +2 -2
- data/docs/{VerifyAPIKeyResponse.md → VerifyApiKeyResponse.md} +2 -2
- data/lib/ory-client/api/api_keys_api.rb +233 -159
- data/lib/ory-client/api/courier_api.rb +1 -1
- data/lib/ory-client/api/events_api.rb +1 -1
- data/lib/ory-client/api/frontend_api.rb +1 -1
- data/lib/ory-client/api/identity_api.rb +1 -1
- data/lib/ory-client/api/jwk_api.rb +1 -1
- data/lib/ory-client/api/metadata_api.rb +1 -1
- data/lib/ory-client/api/o_auth2_api.rb +1 -1
- data/lib/ory-client/api/oidc_api.rb +1 -1
- data/lib/ory-client/api/permission_api.rb +1 -1
- data/lib/ory-client/api/project_api.rb +1 -1
- data/lib/ory-client/api/relationship_api.rb +1 -1
- data/lib/ory-client/api/wellknown_api.rb +1 -1
- data/lib/ory-client/api/workspace_api.rb +1 -1
- data/lib/ory-client/api_client.rb +1 -1
- data/lib/ory-client/api_error.rb +1 -1
- data/lib/ory-client/api_model_base.rb +1 -1
- data/lib/ory-client/configuration.rb +1 -1
- data/lib/ory-client/models/accept_device_user_code_request.rb +1 -1
- data/lib/ory-client/models/accept_o_auth2_consent_request.rb +1 -1
- data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +1 -1
- data/lib/ory-client/models/accept_o_auth2_login_request.rb +1 -1
- data/lib/ory-client/models/account_experience_colors.rb +1 -1
- data/lib/ory-client/models/account_experience_configuration.rb +1 -1
- data/lib/ory-client/models/add_project_to_workspace_body.rb +1 -1
- data/lib/ory-client/models/admin_identity_import_credentials_lookup_secret.rb +1 -1
- data/lib/ory-client/models/admin_identity_import_credentials_lookup_secret_config.rb +1 -1
- data/lib/ory-client/models/admin_revoke_imported_api_key_body.rb +182 -0
- data/lib/ory-client/models/{admin_revoke_api_key_body.rb → admin_revoke_issued_api_key_body.rb} +5 -4
- data/lib/ory-client/models/admin_rotate_issued_api_key_body.rb +5 -5
- data/lib/ory-client/models/admin_update_imported_api_key_request.rb +5 -5
- data/lib/ory-client/models/admin_update_issued_api_key_request.rb +5 -5
- data/lib/ory-client/models/any.rb +1 -1
- data/lib/ory-client/models/attribute.rb +1 -1
- data/lib/ory-client/models/attribute_filter.rb +1 -1
- data/lib/ory-client/models/attributes_count_datapoint.rb +1 -1
- data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
- data/lib/ory-client/models/basic_organization.rb +1 -1
- data/lib/ory-client/models/batch_check_permission_body.rb +1 -1
- data/lib/ory-client/models/batch_check_permission_result.rb +1 -1
- data/lib/ory-client/models/{batch_import_error_code.rb → batch_create_imported_api_keys_error_code.rb} +11 -11
- data/lib/ory-client/models/{batch_import_api_keys_request.rb → batch_create_imported_api_keys_request.rb} +6 -6
- data/lib/ory-client/models/{batch_import_api_keys_response.rb → batch_create_imported_api_keys_response.rb} +6 -6
- data/lib/ory-client/models/{batch_import_result.rb → batch_create_imported_api_keys_result.rb} +8 -8
- data/lib/ory-client/models/batch_patch_identities_response.rb +1 -1
- data/lib/ory-client/models/batch_verify_api_keys_request.rb +5 -5
- data/lib/ory-client/models/batch_verify_api_keys_response.rb +5 -5
- data/lib/ory-client/models/billing_period_bucket.rb +1 -1
- data/lib/ory-client/models/check_opl_syntax_result.rb +1 -1
- data/lib/ory-client/models/check_permission_result.rb +1 -1
- data/lib/ory-client/models/check_permission_result_with_error.rb +1 -1
- data/lib/ory-client/models/cloud_account.rb +1 -1
- data/lib/ory-client/models/consistency_request_parameters.rb +1 -1
- data/lib/ory-client/models/continue_with.rb +1 -1
- data/lib/ory-client/models/continue_with_recovery_ui.rb +1 -1
- data/lib/ory-client/models/continue_with_recovery_ui_flow.rb +1 -1
- data/lib/ory-client/models/continue_with_redirect_browser_to.rb +1 -1
- data/lib/ory-client/models/continue_with_set_ory_session_token.rb +1 -1
- data/lib/ory-client/models/continue_with_settings_ui.rb +1 -1
- data/lib/ory-client/models/continue_with_settings_ui_flow.rb +1 -1
- data/lib/ory-client/models/continue_with_verification_ui.rb +1 -1
- data/lib/ory-client/models/continue_with_verification_ui_flow.rb +1 -1
- data/lib/ory-client/models/courier_message_status.rb +1 -1
- data/lib/ory-client/models/courier_message_type.rb +1 -1
- data/lib/ory-client/models/create_custom_domain_body.rb +1 -1
- data/lib/ory-client/models/create_event_stream_body.rb +1 -1
- data/lib/ory-client/models/create_fedcm_flow_response.rb +1 -1
- data/lib/ory-client/models/create_identity_body.rb +1 -1
- data/lib/ory-client/models/create_invite_response.rb +1 -1
- data/lib/ory-client/models/create_json_web_key_set.rb +1 -1
- data/lib/ory-client/models/create_onboarding_link_response.rb +1 -1
- data/lib/ory-client/models/create_organization_onboarding_portal_link_body.rb +1 -1
- data/lib/ory-client/models/create_project_api_key_request.rb +1 -1
- data/lib/ory-client/models/create_project_body.rb +1 -1
- data/lib/ory-client/models/create_project_branding.rb +1 -1
- data/lib/ory-client/models/create_project_member_invite_body.rb +1 -1
- data/lib/ory-client/models/create_project_normalized_payload.rb +303 -17
- data/lib/ory-client/models/create_recovery_code_for_identity_body.rb +1 -1
- data/lib/ory-client/models/create_recovery_link_for_identity_body.rb +1 -1
- data/lib/ory-client/models/create_relationship_body.rb +1 -1
- data/lib/ory-client/models/create_subscription_body.rb +1 -1
- data/lib/ory-client/models/create_subscription_common.rb +1 -1
- data/lib/ory-client/models/create_test_login_flow_body.rb +1 -1
- data/lib/ory-client/models/create_verifiable_credential_request_body.rb +1 -1
- data/lib/ory-client/models/create_workspace_api_key_body.rb +1 -1
- data/lib/ory-client/models/create_workspace_body.rb +1 -1
- data/lib/ory-client/models/create_workspace_member_invite_body.rb +1 -1
- data/lib/ory-client/models/create_workspace_organization_body.rb +1 -1
- data/lib/ory-client/models/create_workspace_subscription_body.rb +1 -1
- data/lib/ory-client/models/credential_supported_draft00.rb +1 -1
- data/lib/ory-client/models/custom_domain.rb +1 -1
- data/lib/ory-client/models/customer_portal_availability.rb +1 -1
- data/lib/ory-client/models/delete_my_sessions_count.rb +1 -1
- data/lib/ory-client/models/derive_token_request.rb +1 -1
- data/lib/ory-client/models/derive_token_response.rb +1 -1
- data/lib/ory-client/models/device_authn_android_authorization_list.rb +1 -1
- data/lib/ory-client/models/device_authn_android_key_description.rb +1 -1
- data/lib/ory-client/models/device_authn_android_root_of_trust.rb +1 -1
- data/lib/ory-client/models/device_authn_attestation.rb +1 -1
- data/lib/ory-client/models/device_authn_ios_att_stmt.rb +1 -1
- data/lib/ory-client/models/device_authn_ios_attestation.rb +1 -1
- data/lib/ory-client/models/device_authn_key.rb +1 -1
- data/lib/ory-client/models/device_authorization.rb +1 -1
- data/lib/ory-client/models/device_user_auth_request.rb +1 -1
- data/lib/ory-client/models/email_template_data.rb +1 -1
- data/lib/ory-client/models/email_template_data_body.rb +1 -1
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
- data/lib/ory-client/models/error_browser_location_change_required.rb +1 -1
- data/lib/ory-client/models/error_flow_replaced.rb +1 -1
- data/lib/ory-client/models/error_generic.rb +1 -1
- data/lib/ory-client/models/error_o_auth2.rb +1 -1
- data/lib/ory-client/models/event_stream.rb +1 -1
- data/lib/ory-client/models/expanded_permission_tree.rb +1 -1
- data/lib/ory-client/models/flow_error.rb +1 -1
- data/lib/ory-client/models/generic_error.rb +1 -1
- data/lib/ory-client/models/generic_error_content.rb +1 -1
- data/lib/ory-client/models/generic_oidc_provider.rb +1 -1
- data/lib/ory-client/models/generic_usage.rb +1 -1
- data/lib/ory-client/models/get_attributes_count.rb +1 -1
- data/lib/ory-client/models/get_jwks_response.rb +1 -1
- data/lib/ory-client/models/get_managed_identity_schema_location.rb +1 -1
- data/lib/ory-client/models/get_metrics_count.rb +1 -1
- data/lib/ory-client/models/get_metrics_event_attributes.rb +1 -1
- data/lib/ory-client/models/get_metrics_event_types.rb +1 -1
- data/lib/ory-client/models/get_organization_response.rb +1 -1
- data/lib/ory-client/models/get_project_events.rb +1 -1
- data/lib/ory-client/models/get_project_events_body.rb +1 -1
- data/lib/ory-client/models/get_project_metrics.rb +1 -1
- data/lib/ory-client/models/get_session_activity.rb +1 -1
- data/lib/ory-client/models/get_version200_response.rb +1 -1
- data/lib/ory-client/models/health_not_ready_status.rb +1 -1
- data/lib/ory-client/models/health_status.rb +1 -1
- data/lib/ory-client/models/identity.rb +1 -1
- data/lib/ory-client/models/identity_credentials.rb +1 -1
- data/lib/ory-client/models/identity_credentials_code.rb +1 -1
- data/lib/ory-client/models/identity_credentials_code_address.rb +1 -1
- data/lib/ory-client/models/identity_credentials_lookup_secret_code.rb +1 -1
- data/lib/ory-client/models/identity_credentials_oidc.rb +1 -1
- data/lib/ory-client/models/identity_credentials_oidc_provider.rb +1 -1
- data/lib/ory-client/models/identity_credentials_password.rb +1 -1
- data/lib/ory-client/models/identity_credentials_web_authn.rb +1 -1
- data/lib/ory-client/models/identity_credentials_web_authn_attestation.rb +1 -1
- data/lib/ory-client/models/identity_credentials_web_authn_authenticator.rb +1 -1
- data/lib/ory-client/models/identity_credentials_web_authn_flags.rb +1 -1
- data/lib/ory-client/models/identity_patch.rb +1 -1
- data/lib/ory-client/models/identity_patch_response.rb +1 -1
- data/lib/ory-client/models/identity_schema_container.rb +1 -1
- data/lib/ory-client/models/identity_schema_preset.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_oidc.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_oidc_config.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_oidc_config_provider.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_passkey.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_passkey_config.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_password.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_password_config.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_saml.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_saml_config.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_saml_config_provider.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_totp.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_totp_config.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_web_authn.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_web_authn_config.rb +1 -1
- data/lib/ory-client/models/import_api_key_request.rb +4 -4
- data/lib/ory-client/models/imported_api_key.rb +5 -5
- data/lib/ory-client/models/internal_get_project_branding_body.rb +1 -1
- data/lib/ory-client/models/internal_is_ax_welcome_screen_enabled_for_project_body.rb +1 -1
- data/lib/ory-client/models/internal_is_owner_for_project_by_slug.rb +1 -1
- data/lib/ory-client/models/internal_is_owner_for_project_by_slug_body.rb +1 -1
- data/lib/ory-client/models/introspected_o_auth2_token.rb +1 -1
- data/lib/ory-client/models/invite_token_body.rb +1 -1
- data/lib/ory-client/models/invoice.rb +1 -1
- data/lib/ory-client/models/invoice_data_v1.rb +1 -1
- data/lib/ory-client/models/ip_restriction.rb +1 -1
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
- data/lib/ory-client/models/issue_api_key_request.rb +4 -4
- data/lib/ory-client/models/issue_api_key_response.rb +5 -5
- data/lib/ory-client/models/issued_api_key.rb +5 -5
- data/lib/ory-client/models/json_patch.rb +1 -1
- data/lib/ory-client/models/json_web_key.rb +1 -1
- data/lib/ory-client/models/json_web_key_set.rb +1 -1
- data/lib/ory-client/models/keto_namespace.rb +1 -1
- data/lib/ory-client/models/key_status.rb +1 -1
- data/lib/ory-client/models/key_visibility.rb +1 -1
- data/lib/ory-client/models/keyset_pagination_request_parameters.rb +1 -1
- data/lib/ory-client/models/keyset_pagination_response_headers.rb +1 -1
- data/lib/ory-client/models/line_item_v1.rb +1 -1
- data/lib/ory-client/models/list_event_streams.rb +1 -1
- data/lib/ory-client/models/list_imported_api_keys_response.rb +5 -5
- data/lib/ory-client/models/list_invoices_response.rb +1 -1
- data/lib/ory-client/models/list_issued_api_keys_response.rb +5 -5
- data/lib/ory-client/models/list_organizations_response.rb +1 -1
- data/lib/ory-client/models/list_workspace_projects.rb +1 -1
- data/lib/ory-client/models/list_workspaces.rb +1 -1
- data/lib/ory-client/models/login_flow.rb +1 -1
- data/lib/ory-client/models/login_flow_state.rb +1 -1
- data/lib/ory-client/models/login_flow_test_context.rb +1 -1
- data/lib/ory-client/models/login_flow_test_debug_payload.rb +1 -1
- data/lib/ory-client/models/login_flow_test_schema_validation_error.rb +1 -1
- data/lib/ory-client/models/login_flow_test_step_error.rb +1 -1
- data/lib/ory-client/models/logout_flow.rb +1 -1
- data/lib/ory-client/models/manage_sessions_body.rb +1 -1
- data/lib/ory-client/models/manage_sessions_response.rb +1 -1
- data/lib/ory-client/models/managed_identity_schema.rb +1 -1
- data/lib/ory-client/models/managed_identity_schema_validation_result.rb +1 -1
- data/lib/ory-client/models/member_invite.rb +1 -1
- data/lib/ory-client/models/message.rb +1 -1
- data/lib/ory-client/models/message_dispatch.rb +1 -1
- data/lib/ory-client/models/metrics_datapoint.rb +1 -1
- data/lib/ory-client/models/namespace.rb +1 -1
- data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
- data/lib/ory-client/models/normalized_project.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision.rb +303 -17
- data/lib/ory-client/models/normalized_project_revision_courier_channel.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision_hook.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision_saml_provider.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision_scim_client.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision_tokenizer_template.rb +1 -1
- data/lib/ory-client/models/null_value.rb +1 -1
- data/lib/ory-client/models/o_auth2_client.rb +1 -1
- data/lib/ory-client/models/o_auth2_client_token_lifespans.rb +1 -1
- data/lib/ory-client/models/o_auth2_consent_request.rb +1 -1
- data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +1 -1
- data/lib/ory-client/models/o_auth2_consent_session.rb +1 -1
- data/lib/ory-client/models/o_auth2_login_request.rb +1 -1
- data/lib/ory-client/models/o_auth2_logout_request.rb +1 -1
- data/lib/ory-client/models/o_auth2_redirect_to.rb +1 -1
- data/lib/ory-client/models/o_auth2_token_exchange.rb +1 -1
- data/lib/ory-client/models/oidc_configuration.rb +1 -1
- data/lib/ory-client/models/oidc_user_info.rb +1 -1
- data/lib/ory-client/models/onboarding_portal_link.rb +1 -1
- data/lib/ory-client/models/onboarding_portal_organization.rb +1 -1
- data/lib/ory-client/models/organization.rb +1 -1
- data/lib/ory-client/models/organization_body.rb +1 -1
- data/lib/ory-client/models/organization_onboarding_portal_links_response.rb +1 -1
- data/lib/ory-client/models/parse_error.rb +1 -1
- data/lib/ory-client/models/patch_identities_body.rb +1 -1
- data/lib/ory-client/models/patch_workspace_member_body.rb +1 -1
- data/lib/ory-client/models/perform_native_logout_body.rb +1 -1
- data/lib/ory-client/models/permissions_on_workspace.rb +1 -1
- data/lib/ory-client/models/plan.rb +1 -1
- data/lib/ory-client/models/plan_details.rb +1 -1
- data/lib/ory-client/models/post_check_permission_body.rb +1 -1
- data/lib/ory-client/models/post_check_permission_or_error_body.rb +1 -1
- data/lib/ory-client/models/project.rb +1 -1
- data/lib/ory-client/models/project_api_key.rb +1 -1
- data/lib/ory-client/models/project_branding.rb +1 -1
- data/lib/ory-client/models/project_branding_colors.rb +1 -1
- data/lib/ory-client/models/project_branding_theme.rb +1 -1
- data/lib/ory-client/models/project_cors.rb +1 -1
- data/lib/ory-client/models/project_events_datapoint.rb +1 -1
- data/lib/ory-client/models/project_host.rb +1 -1
- data/lib/ory-client/models/project_member.rb +1 -1
- data/lib/ory-client/models/project_metadata.rb +1 -1
- data/lib/ory-client/models/project_service_account_experience.rb +1 -1
- data/lib/ory-client/models/project_service_identity.rb +1 -1
- data/lib/ory-client/models/project_service_o_auth2.rb +1 -1
- data/lib/ory-client/models/project_service_permission.rb +1 -1
- data/lib/ory-client/models/project_service_talos.rb +164 -0
- data/lib/ory-client/models/project_services.rb +14 -5
- data/lib/ory-client/models/provider.rb +1 -1
- data/lib/ory-client/models/quota_usage.rb +4 -4
- data/lib/ory-client/models/rate_limit_policy.rb +1 -1
- data/lib/ory-client/models/recovery_code_for_identity.rb +1 -1
- data/lib/ory-client/models/recovery_flow.rb +1 -1
- data/lib/ory-client/models/recovery_flow_state.rb +1 -1
- data/lib/ory-client/models/recovery_identity_address.rb +1 -1
- data/lib/ory-client/models/recovery_link_for_identity.rb +1 -1
- data/lib/ory-client/models/registration_flow.rb +1 -1
- data/lib/ory-client/models/registration_flow_state.rb +1 -1
- data/lib/ory-client/models/reject_o_auth2_request.rb +1 -1
- data/lib/ory-client/models/relation_query.rb +1 -1
- data/lib/ory-client/models/relationship.rb +1 -1
- data/lib/ory-client/models/relationship_namespaces.rb +1 -1
- data/lib/ory-client/models/relationship_patch.rb +1 -1
- data/lib/ory-client/models/relationships.rb +1 -1
- data/lib/ory-client/models/revision_account_experience_custom_translation.rb +1 -1
- data/lib/ory-client/models/revocation_reason.rb +1 -1
- data/lib/ory-client/models/rfc6749_error_json.rb +1 -1
- data/lib/ory-client/models/rotate_issued_api_key_response.rb +6 -6
- data/lib/ory-client/models/rotate_talos_key_body.rb +185 -0
- data/lib/ory-client/models/schema_patch.rb +1 -1
- data/lib/ory-client/models/self_revoke_api_key_request.rb +5 -5
- data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
- data/lib/ory-client/models/session.rb +1 -1
- data/lib/ory-client/models/session_activity_datapoint.rb +1 -1
- data/lib/ory-client/models/session_authentication_method.rb +1 -1
- data/lib/ory-client/models/session_device.rb +1 -1
- data/lib/ory-client/models/set_custom_domain_body.rb +1 -1
- data/lib/ory-client/models/set_event_stream_body.rb +1 -1
- data/lib/ory-client/models/set_organization_from_onboarding_portal_link_body.rb +1 -1
- data/lib/ory-client/models/set_project.rb +1 -1
- data/lib/ory-client/models/set_project_branding_theme_body.rb +1 -1
- data/lib/ory-client/models/settings_flow.rb +1 -1
- data/lib/ory-client/models/settings_flow_state.rb +1 -1
- data/lib/ory-client/models/source_position.rb +1 -1
- data/lib/ory-client/models/status.rb +1 -1
- data/lib/ory-client/models/subject_set.rb +1 -1
- data/lib/ory-client/models/subscription.rb +1 -1
- data/lib/ory-client/models/successful_code_exchange_response.rb +1 -1
- data/lib/ory-client/models/successful_native_login.rb +1 -1
- data/lib/ory-client/models/successful_native_registration.rb +1 -1
- data/lib/ory-client/models/successful_project_update.rb +1 -1
- data/lib/ory-client/models/tax_line_item.rb +1 -1
- data/lib/ory-client/models/time_interval.rb +1 -1
- data/lib/ory-client/models/token.rb +1 -1
- data/lib/ory-client/models/token_algorithm.rb +1 -1
- data/lib/ory-client/models/token_pagination.rb +1 -1
- data/lib/ory-client/models/token_pagination_headers.rb +1 -1
- data/lib/ory-client/models/token_pagination_request_parameters.rb +1 -1
- data/lib/ory-client/models/token_pagination_response_headers.rb +1 -1
- data/lib/ory-client/models/trust_o_auth2_jwt_grant_issuer.rb +1 -1
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +1 -1
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +1 -1
- data/lib/ory-client/models/ui_container.rb +1 -1
- data/lib/ory-client/models/ui_node.rb +1 -1
- data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_division_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_input_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_input_attributes_option.rb +1 -1
- data/lib/ory-client/models/ui_node_meta.rb +1 -1
- data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
- data/lib/ory-client/models/ui_text.rb +1 -1
- data/lib/ory-client/models/update_fedcm_flow_body.rb +1 -1
- data/lib/ory-client/models/update_identity_body.rb +1 -1
- data/lib/ory-client/models/update_login_flow_body.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_code_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_identifier_first_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_lookup_secret_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_oidc_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_passkey_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_password_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_saml_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_totp_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_web_authn_method.rb +1 -1
- data/lib/ory-client/models/update_organization_onboarding_portal_link_body.rb +1 -1
- data/lib/ory-client/models/update_recovery_flow_body.rb +1 -1
- data/lib/ory-client/models/update_recovery_flow_with_code_method.rb +1 -1
- data/lib/ory-client/models/update_recovery_flow_with_link_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_body.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_with_code_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_with_oidc_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_with_passkey_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_with_password_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_with_profile_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_with_saml_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_with_web_authn_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_body.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_lookup_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_oidc_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_passkey_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_password_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_profile_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_saml_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_totp_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_web_authn_method.rb +1 -1
- data/lib/ory-client/models/update_subscription_body.rb +1 -1
- data/lib/ory-client/models/update_verification_flow_body.rb +1 -1
- data/lib/ory-client/models/update_verification_flow_with_code_method.rb +1 -1
- data/lib/ory-client/models/update_verification_flow_with_link_method.rb +1 -1
- data/lib/ory-client/models/update_workspace_body.rb +1 -1
- data/lib/ory-client/models/usage.rb +1 -1
- data/lib/ory-client/models/validate_base_url_rewrite_request.rb +1 -1
- data/lib/ory-client/models/validate_base_url_rewrite_response.rb +1 -1
- data/lib/ory-client/models/verifiable_credential_priming_response.rb +1 -1
- data/lib/ory-client/models/verifiable_credential_proof.rb +1 -1
- data/lib/ory-client/models/verifiable_credential_response.rb +1 -1
- data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
- data/lib/ory-client/models/verification_error_code.rb +1 -1
- data/lib/ory-client/models/verification_flow.rb +1 -1
- data/lib/ory-client/models/verification_flow_state.rb +1 -1
- data/lib/ory-client/models/verify_api_key_request.rb +4 -4
- data/lib/ory-client/models/verify_api_key_response.rb +4 -4
- data/lib/ory-client/models/verify_user_code_request.rb +1 -1
- data/lib/ory-client/models/version.rb +1 -1
- data/lib/ory-client/models/warning.rb +1 -1
- data/lib/ory-client/models/workspace.rb +1 -1
- data/lib/ory-client/models/workspace_api_key.rb +1 -1
- data/lib/ory-client/models/workspace_organization.rb +1 -1
- data/lib/ory-client/version.rb +2 -2
- data/lib/ory-client.rb +9 -6
- data/ory-client.gemspec +1 -1
- data/spec/api/api_keys_api_spec.rb +48 -35
- data/spec/api/courier_api_spec.rb +1 -1
- data/spec/api/events_api_spec.rb +1 -1
- data/spec/api/frontend_api_spec.rb +1 -1
- data/spec/api/identity_api_spec.rb +1 -1
- data/spec/api/jwk_api_spec.rb +1 -1
- data/spec/api/metadata_api_spec.rb +1 -1
- data/spec/api/o_auth2_api_spec.rb +1 -1
- data/spec/api/oidc_api_spec.rb +1 -1
- data/spec/api/permission_api_spec.rb +1 -1
- data/spec/api/project_api_spec.rb +1 -1
- data/spec/api/relationship_api_spec.rb +1 -1
- data/spec/api/wellknown_api_spec.rb +1 -1
- data/spec/api/workspace_api_spec.rb +1 -1
- data/spec/models/accept_device_user_code_request_spec.rb +1 -1
- data/spec/models/accept_o_auth2_consent_request_session_spec.rb +1 -1
- data/spec/models/accept_o_auth2_consent_request_spec.rb +1 -1
- data/spec/models/accept_o_auth2_login_request_spec.rb +1 -1
- data/spec/models/account_experience_colors_spec.rb +1 -1
- data/spec/models/account_experience_configuration_spec.rb +1 -1
- data/spec/models/add_project_to_workspace_body_spec.rb +1 -1
- data/spec/models/admin_identity_import_credentials_lookup_secret_config_spec.rb +1 -1
- data/spec/models/admin_identity_import_credentials_lookup_secret_spec.rb +1 -1
- data/spec/models/admin_revoke_imported_api_key_body_spec.rb +42 -0
- data/spec/models/{admin_revoke_api_key_body_spec.rb → admin_revoke_issued_api_key_body_spec.rb} +7 -7
- data/spec/models/admin_rotate_issued_api_key_body_spec.rb +7 -7
- data/spec/models/admin_update_imported_api_key_request_spec.rb +7 -7
- data/spec/models/admin_update_issued_api_key_request_spec.rb +7 -7
- data/spec/models/any_spec.rb +1 -1
- data/spec/models/attribute_filter_spec.rb +1 -1
- data/spec/models/attribute_spec.rb +1 -1
- data/spec/models/attributes_count_datapoint_spec.rb +1 -1
- data/spec/models/authenticator_assurance_level_spec.rb +1 -1
- data/spec/models/basic_organization_spec.rb +1 -1
- data/spec/models/batch_check_permission_body_spec.rb +1 -1
- data/spec/models/batch_check_permission_result_spec.rb +1 -1
- data/spec/models/{batch_import_error_code_spec.rb → batch_create_imported_api_keys_error_code_spec.rb} +7 -7
- data/spec/models/{batch_import_api_keys_request_spec.rb → batch_create_imported_api_keys_request_spec.rb} +7 -7
- data/spec/models/{batch_import_api_keys_response_spec.rb → batch_create_imported_api_keys_response_spec.rb} +7 -7
- data/spec/models/{batch_import_result_spec.rb → batch_create_imported_api_keys_result_spec.rb} +7 -7
- data/spec/models/batch_patch_identities_response_spec.rb +1 -1
- data/spec/models/batch_verify_api_keys_request_spec.rb +7 -7
- data/spec/models/batch_verify_api_keys_response_spec.rb +7 -7
- data/spec/models/billing_period_bucket_spec.rb +1 -1
- data/spec/models/check_opl_syntax_result_spec.rb +1 -1
- data/spec/models/check_permission_result_spec.rb +1 -1
- data/spec/models/check_permission_result_with_error_spec.rb +1 -1
- data/spec/models/cloud_account_spec.rb +1 -1
- data/spec/models/consistency_request_parameters_spec.rb +1 -1
- data/spec/models/continue_with_recovery_ui_flow_spec.rb +1 -1
- data/spec/models/continue_with_recovery_ui_spec.rb +1 -1
- data/spec/models/continue_with_redirect_browser_to_spec.rb +1 -1
- data/spec/models/continue_with_set_ory_session_token_spec.rb +1 -1
- data/spec/models/continue_with_settings_ui_flow_spec.rb +1 -1
- data/spec/models/continue_with_settings_ui_spec.rb +1 -1
- data/spec/models/continue_with_spec.rb +1 -1
- data/spec/models/continue_with_verification_ui_flow_spec.rb +1 -1
- data/spec/models/continue_with_verification_ui_spec.rb +1 -1
- data/spec/models/courier_message_status_spec.rb +1 -1
- data/spec/models/courier_message_type_spec.rb +1 -1
- data/spec/models/create_custom_domain_body_spec.rb +1 -1
- data/spec/models/create_event_stream_body_spec.rb +1 -1
- data/spec/models/create_fedcm_flow_response_spec.rb +1 -1
- data/spec/models/create_identity_body_spec.rb +1 -1
- data/spec/models/create_invite_response_spec.rb +1 -1
- data/spec/models/create_json_web_key_set_spec.rb +1 -1
- data/spec/models/create_onboarding_link_response_spec.rb +1 -1
- data/spec/models/create_organization_onboarding_portal_link_body_spec.rb +1 -1
- data/spec/models/create_project_api_key_request_spec.rb +1 -1
- data/spec/models/create_project_body_spec.rb +1 -1
- data/spec/models/create_project_branding_spec.rb +1 -1
- data/spec/models/create_project_member_invite_body_spec.rb +1 -1
- data/spec/models/create_project_normalized_payload_spec.rb +115 -1
- data/spec/models/create_recovery_code_for_identity_body_spec.rb +1 -1
- data/spec/models/create_recovery_link_for_identity_body_spec.rb +1 -1
- data/spec/models/create_relationship_body_spec.rb +1 -1
- data/spec/models/create_subscription_body_spec.rb +1 -1
- data/spec/models/create_subscription_common_spec.rb +1 -1
- data/spec/models/create_test_login_flow_body_spec.rb +1 -1
- data/spec/models/create_verifiable_credential_request_body_spec.rb +1 -1
- data/spec/models/create_workspace_api_key_body_spec.rb +1 -1
- data/spec/models/create_workspace_body_spec.rb +1 -1
- data/spec/models/create_workspace_member_invite_body_spec.rb +1 -1
- data/spec/models/create_workspace_organization_body_spec.rb +1 -1
- data/spec/models/create_workspace_subscription_body_spec.rb +1 -1
- data/spec/models/credential_supported_draft00_spec.rb +1 -1
- data/spec/models/custom_domain_spec.rb +1 -1
- data/spec/models/customer_portal_availability_spec.rb +1 -1
- data/spec/models/delete_my_sessions_count_spec.rb +1 -1
- data/spec/models/derive_token_request_spec.rb +1 -1
- data/spec/models/derive_token_response_spec.rb +1 -1
- data/spec/models/device_authn_android_authorization_list_spec.rb +1 -1
- data/spec/models/device_authn_android_key_description_spec.rb +1 -1
- data/spec/models/device_authn_android_root_of_trust_spec.rb +1 -1
- data/spec/models/device_authn_attestation_spec.rb +1 -1
- data/spec/models/device_authn_ios_att_stmt_spec.rb +1 -1
- data/spec/models/device_authn_ios_attestation_spec.rb +1 -1
- data/spec/models/device_authn_key_spec.rb +1 -1
- data/spec/models/device_authorization_spec.rb +1 -1
- data/spec/models/device_user_auth_request_spec.rb +1 -1
- data/spec/models/email_template_data_body_spec.rb +1 -1
- data/spec/models/email_template_data_spec.rb +1 -1
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
- data/spec/models/error_browser_location_change_required_spec.rb +1 -1
- data/spec/models/error_flow_replaced_spec.rb +1 -1
- data/spec/models/error_generic_spec.rb +1 -1
- data/spec/models/error_o_auth2_spec.rb +1 -1
- data/spec/models/event_stream_spec.rb +1 -1
- data/spec/models/expanded_permission_tree_spec.rb +1 -1
- data/spec/models/flow_error_spec.rb +1 -1
- data/spec/models/generic_error_content_spec.rb +1 -1
- data/spec/models/generic_error_spec.rb +1 -1
- data/spec/models/generic_oidc_provider_spec.rb +1 -1
- data/spec/models/generic_usage_spec.rb +1 -1
- data/spec/models/get_attributes_count_spec.rb +1 -1
- data/spec/models/get_jwks_response_spec.rb +1 -1
- data/spec/models/get_managed_identity_schema_location_spec.rb +1 -1
- data/spec/models/get_metrics_count_spec.rb +1 -1
- data/spec/models/get_metrics_event_attributes_spec.rb +1 -1
- data/spec/models/get_metrics_event_types_spec.rb +1 -1
- data/spec/models/get_organization_response_spec.rb +1 -1
- data/spec/models/get_project_events_body_spec.rb +1 -1
- data/spec/models/get_project_events_spec.rb +1 -1
- data/spec/models/get_project_metrics_spec.rb +1 -1
- data/spec/models/get_session_activity_spec.rb +1 -1
- data/spec/models/get_version200_response_spec.rb +1 -1
- data/spec/models/health_not_ready_status_spec.rb +1 -1
- data/spec/models/health_status_spec.rb +1 -1
- data/spec/models/identity_credentials_code_address_spec.rb +1 -1
- data/spec/models/identity_credentials_code_spec.rb +1 -1
- data/spec/models/identity_credentials_lookup_secret_code_spec.rb +1 -1
- data/spec/models/identity_credentials_oidc_provider_spec.rb +1 -1
- data/spec/models/identity_credentials_oidc_spec.rb +1 -1
- data/spec/models/identity_credentials_password_spec.rb +1 -1
- data/spec/models/identity_credentials_spec.rb +1 -1
- data/spec/models/identity_credentials_web_authn_attestation_spec.rb +1 -1
- data/spec/models/identity_credentials_web_authn_authenticator_spec.rb +1 -1
- data/spec/models/identity_credentials_web_authn_flags_spec.rb +1 -1
- data/spec/models/identity_credentials_web_authn_spec.rb +1 -1
- data/spec/models/identity_patch_response_spec.rb +1 -1
- data/spec/models/identity_patch_spec.rb +1 -1
- data/spec/models/identity_schema_container_spec.rb +1 -1
- data/spec/models/identity_schema_preset_spec.rb +1 -1
- data/spec/models/identity_spec.rb +1 -1
- data/spec/models/identity_with_credentials_oidc_config_provider_spec.rb +1 -1
- data/spec/models/identity_with_credentials_oidc_config_spec.rb +1 -1
- data/spec/models/identity_with_credentials_oidc_spec.rb +1 -1
- data/spec/models/identity_with_credentials_passkey_config_spec.rb +1 -1
- data/spec/models/identity_with_credentials_passkey_spec.rb +1 -1
- data/spec/models/identity_with_credentials_password_config_spec.rb +1 -1
- data/spec/models/identity_with_credentials_password_spec.rb +1 -1
- data/spec/models/identity_with_credentials_saml_config_provider_spec.rb +1 -1
- data/spec/models/identity_with_credentials_saml_config_spec.rb +1 -1
- data/spec/models/identity_with_credentials_saml_spec.rb +1 -1
- data/spec/models/identity_with_credentials_spec.rb +1 -1
- data/spec/models/identity_with_credentials_totp_config_spec.rb +1 -1
- data/spec/models/identity_with_credentials_totp_spec.rb +1 -1
- data/spec/models/identity_with_credentials_web_authn_config_spec.rb +1 -1
- data/spec/models/identity_with_credentials_web_authn_spec.rb +1 -1
- data/spec/models/import_api_key_request_spec.rb +7 -7
- data/spec/models/imported_api_key_spec.rb +7 -7
- data/spec/models/internal_get_project_branding_body_spec.rb +1 -1
- data/spec/models/internal_is_ax_welcome_screen_enabled_for_project_body_spec.rb +1 -1
- data/spec/models/internal_is_owner_for_project_by_slug_body_spec.rb +1 -1
- data/spec/models/internal_is_owner_for_project_by_slug_spec.rb +1 -1
- data/spec/models/introspected_o_auth2_token_spec.rb +1 -1
- data/spec/models/invite_token_body_spec.rb +1 -1
- data/spec/models/invoice_data_v1_spec.rb +1 -1
- data/spec/models/invoice_spec.rb +1 -1
- data/spec/models/ip_restriction_spec.rb +1 -1
- data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
- data/spec/models/issue_api_key_request_spec.rb +7 -7
- data/spec/models/issue_api_key_response_spec.rb +7 -7
- data/spec/models/issued_api_key_spec.rb +7 -7
- data/spec/models/json_patch_spec.rb +1 -1
- data/spec/models/json_web_key_set_spec.rb +1 -1
- data/spec/models/json_web_key_spec.rb +1 -1
- data/spec/models/keto_namespace_spec.rb +1 -1
- data/spec/models/key_status_spec.rb +1 -1
- data/spec/models/key_visibility_spec.rb +1 -1
- data/spec/models/keyset_pagination_request_parameters_spec.rb +1 -1
- data/spec/models/keyset_pagination_response_headers_spec.rb +1 -1
- data/spec/models/line_item_v1_spec.rb +1 -1
- data/spec/models/list_event_streams_spec.rb +1 -1
- data/spec/models/list_imported_api_keys_response_spec.rb +7 -7
- data/spec/models/list_invoices_response_spec.rb +1 -1
- data/spec/models/list_issued_api_keys_response_spec.rb +7 -7
- data/spec/models/list_organizations_response_spec.rb +1 -1
- data/spec/models/list_workspace_projects_spec.rb +1 -1
- data/spec/models/list_workspaces_spec.rb +1 -1
- data/spec/models/login_flow_spec.rb +1 -1
- data/spec/models/login_flow_state_spec.rb +1 -1
- data/spec/models/login_flow_test_context_spec.rb +1 -1
- data/spec/models/login_flow_test_debug_payload_spec.rb +1 -1
- data/spec/models/login_flow_test_schema_validation_error_spec.rb +1 -1
- data/spec/models/login_flow_test_step_error_spec.rb +1 -1
- data/spec/models/logout_flow_spec.rb +1 -1
- data/spec/models/manage_sessions_body_spec.rb +1 -1
- data/spec/models/manage_sessions_response_spec.rb +1 -1
- data/spec/models/managed_identity_schema_spec.rb +1 -1
- data/spec/models/managed_identity_schema_validation_result_spec.rb +1 -1
- data/spec/models/member_invite_spec.rb +1 -1
- data/spec/models/message_dispatch_spec.rb +1 -1
- data/spec/models/message_spec.rb +1 -1
- data/spec/models/metrics_datapoint_spec.rb +1 -1
- data/spec/models/namespace_spec.rb +1 -1
- data/spec/models/needs_privileged_session_error_spec.rb +1 -1
- data/spec/models/normalized_project_revision_courier_channel_spec.rb +1 -1
- data/spec/models/normalized_project_revision_hook_spec.rb +1 -1
- data/spec/models/normalized_project_revision_identity_schema_spec.rb +1 -1
- data/spec/models/normalized_project_revision_saml_provider_spec.rb +1 -1
- data/spec/models/normalized_project_revision_scim_client_spec.rb +1 -1
- data/spec/models/normalized_project_revision_spec.rb +115 -1
- data/spec/models/normalized_project_revision_third_party_provider_spec.rb +1 -1
- data/spec/models/normalized_project_revision_tokenizer_template_spec.rb +1 -1
- data/spec/models/normalized_project_spec.rb +1 -1
- data/spec/models/null_value_spec.rb +1 -1
- data/spec/models/o_auth2_client_spec.rb +1 -1
- data/spec/models/o_auth2_client_token_lifespans_spec.rb +1 -1
- data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +1 -1
- data/spec/models/o_auth2_consent_request_spec.rb +1 -1
- data/spec/models/o_auth2_consent_session_spec.rb +1 -1
- data/spec/models/o_auth2_login_request_spec.rb +1 -1
- data/spec/models/o_auth2_logout_request_spec.rb +1 -1
- data/spec/models/o_auth2_redirect_to_spec.rb +1 -1
- data/spec/models/o_auth2_token_exchange_spec.rb +1 -1
- data/spec/models/oidc_configuration_spec.rb +1 -1
- data/spec/models/oidc_user_info_spec.rb +1 -1
- data/spec/models/onboarding_portal_link_spec.rb +1 -1
- data/spec/models/onboarding_portal_organization_spec.rb +1 -1
- data/spec/models/organization_body_spec.rb +1 -1
- data/spec/models/organization_onboarding_portal_links_response_spec.rb +1 -1
- data/spec/models/organization_spec.rb +1 -1
- data/spec/models/parse_error_spec.rb +1 -1
- data/spec/models/patch_identities_body_spec.rb +1 -1
- data/spec/models/patch_workspace_member_body_spec.rb +1 -1
- data/spec/models/perform_native_logout_body_spec.rb +1 -1
- data/spec/models/permissions_on_workspace_spec.rb +1 -1
- data/spec/models/plan_details_spec.rb +1 -1
- data/spec/models/plan_spec.rb +1 -1
- data/spec/models/post_check_permission_body_spec.rb +1 -1
- data/spec/models/post_check_permission_or_error_body_spec.rb +1 -1
- data/spec/models/project_api_key_spec.rb +1 -1
- data/spec/models/project_branding_colors_spec.rb +1 -1
- data/spec/models/project_branding_spec.rb +1 -1
- data/spec/models/project_branding_theme_spec.rb +1 -1
- data/spec/models/project_cors_spec.rb +1 -1
- data/spec/models/project_events_datapoint_spec.rb +1 -1
- data/spec/models/project_host_spec.rb +1 -1
- data/spec/models/project_member_spec.rb +1 -1
- data/spec/models/project_metadata_spec.rb +1 -1
- data/spec/models/project_service_account_experience_spec.rb +1 -1
- data/spec/models/project_service_identity_spec.rb +1 -1
- data/spec/models/project_service_o_auth2_spec.rb +1 -1
- data/spec/models/project_service_permission_spec.rb +1 -1
- data/spec/models/project_service_talos_spec.rb +36 -0
- data/spec/models/project_services_spec.rb +7 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/models/provider_spec.rb +1 -1
- data/spec/models/quota_usage_spec.rb +2 -2
- data/spec/models/rate_limit_policy_spec.rb +1 -1
- data/spec/models/recovery_code_for_identity_spec.rb +1 -1
- data/spec/models/recovery_flow_spec.rb +1 -1
- data/spec/models/recovery_flow_state_spec.rb +1 -1
- data/spec/models/recovery_identity_address_spec.rb +1 -1
- data/spec/models/recovery_link_for_identity_spec.rb +1 -1
- data/spec/models/registration_flow_spec.rb +1 -1
- data/spec/models/registration_flow_state_spec.rb +1 -1
- data/spec/models/reject_o_auth2_request_spec.rb +1 -1
- data/spec/models/relation_query_spec.rb +1 -1
- data/spec/models/relationship_namespaces_spec.rb +1 -1
- data/spec/models/relationship_patch_spec.rb +1 -1
- data/spec/models/relationship_spec.rb +1 -1
- data/spec/models/relationships_spec.rb +1 -1
- data/spec/models/revision_account_experience_custom_translation_spec.rb +1 -1
- data/spec/models/revocation_reason_spec.rb +1 -1
- data/spec/models/rfc6749_error_json_spec.rb +1 -1
- data/spec/models/rotate_issued_api_key_response_spec.rb +7 -7
- data/spec/models/rotate_talos_key_body_spec.rb +40 -0
- data/spec/models/schema_patch_spec.rb +1 -1
- data/spec/models/self_revoke_api_key_request_spec.rb +7 -7
- data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
- data/spec/models/session_activity_datapoint_spec.rb +1 -1
- data/spec/models/session_authentication_method_spec.rb +1 -1
- data/spec/models/session_device_spec.rb +1 -1
- data/spec/models/session_spec.rb +1 -1
- data/spec/models/set_custom_domain_body_spec.rb +1 -1
- data/spec/models/set_event_stream_body_spec.rb +1 -1
- data/spec/models/set_organization_from_onboarding_portal_link_body_spec.rb +1 -1
- data/spec/models/set_project_branding_theme_body_spec.rb +1 -1
- data/spec/models/set_project_spec.rb +1 -1
- data/spec/models/settings_flow_spec.rb +1 -1
- data/spec/models/settings_flow_state_spec.rb +1 -1
- data/spec/models/source_position_spec.rb +1 -1
- data/spec/models/status_spec.rb +1 -1
- data/spec/models/subject_set_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +1 -1
- data/spec/models/successful_code_exchange_response_spec.rb +1 -1
- data/spec/models/successful_native_login_spec.rb +1 -1
- data/spec/models/successful_native_registration_spec.rb +1 -1
- data/spec/models/successful_project_update_spec.rb +1 -1
- data/spec/models/tax_line_item_spec.rb +1 -1
- data/spec/models/time_interval_spec.rb +1 -1
- data/spec/models/token_algorithm_spec.rb +1 -1
- data/spec/models/token_pagination_headers_spec.rb +1 -1
- data/spec/models/token_pagination_request_parameters_spec.rb +1 -1
- data/spec/models/token_pagination_response_headers_spec.rb +1 -1
- data/spec/models/token_pagination_spec.rb +1 -1
- data/spec/models/token_spec.rb +1 -1
- data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +1 -1
- data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +1 -1
- data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +1 -1
- data/spec/models/ui_container_spec.rb +1 -1
- data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
- data/spec/models/ui_node_attributes_spec.rb +1 -1
- data/spec/models/ui_node_division_attributes_spec.rb +1 -1
- data/spec/models/ui_node_image_attributes_spec.rb +1 -1
- data/spec/models/ui_node_input_attributes_option_spec.rb +1 -1
- data/spec/models/ui_node_input_attributes_spec.rb +1 -1
- data/spec/models/ui_node_meta_spec.rb +1 -1
- data/spec/models/ui_node_script_attributes_spec.rb +1 -1
- data/spec/models/ui_node_spec.rb +1 -1
- data/spec/models/ui_node_text_attributes_spec.rb +1 -1
- data/spec/models/ui_text_spec.rb +1 -1
- data/spec/models/update_fedcm_flow_body_spec.rb +1 -1
- data/spec/models/update_identity_body_spec.rb +1 -1
- data/spec/models/update_login_flow_body_spec.rb +1 -1
- data/spec/models/update_login_flow_with_code_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_identifier_first_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_oidc_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_passkey_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_password_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_saml_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_totp_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_web_authn_method_spec.rb +1 -1
- data/spec/models/update_organization_onboarding_portal_link_body_spec.rb +1 -1
- data/spec/models/update_recovery_flow_body_spec.rb +1 -1
- data/spec/models/update_recovery_flow_with_code_method_spec.rb +1 -1
- data/spec/models/update_recovery_flow_with_link_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_body_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_code_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_oidc_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_passkey_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_password_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_profile_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_saml_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_web_authn_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_body_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_lookup_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_oidc_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_passkey_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_password_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_profile_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_saml_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_totp_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_web_authn_method_spec.rb +1 -1
- data/spec/models/update_subscription_body_spec.rb +1 -1
- data/spec/models/update_verification_flow_body_spec.rb +1 -1
- data/spec/models/update_verification_flow_with_code_method_spec.rb +1 -1
- data/spec/models/update_verification_flow_with_link_method_spec.rb +1 -1
- data/spec/models/update_workspace_body_spec.rb +1 -1
- data/spec/models/usage_spec.rb +1 -1
- data/spec/models/validate_base_url_rewrite_request_spec.rb +1 -1
- data/spec/models/validate_base_url_rewrite_response_spec.rb +1 -1
- data/spec/models/verifiable_credential_priming_response_spec.rb +1 -1
- data/spec/models/verifiable_credential_proof_spec.rb +1 -1
- data/spec/models/verifiable_credential_response_spec.rb +1 -1
- data/spec/models/verifiable_identity_address_spec.rb +1 -1
- data/spec/models/verification_error_code_spec.rb +1 -1
- data/spec/models/verification_flow_spec.rb +1 -1
- data/spec/models/verification_flow_state_spec.rb +1 -1
- data/spec/models/verify_api_key_request_spec.rb +7 -7
- data/spec/models/verify_api_key_response_spec.rb +7 -7
- data/spec/models/verify_user_code_request_spec.rb +1 -1
- data/spec/models/version_spec.rb +1 -1
- data/spec/models/warning_spec.rb +1 -1
- data/spec/models/workspace_api_key_spec.rb +1 -1
- data/spec/models/workspace_organization_spec.rb +1 -1
- data/spec/models/workspace_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/byebug-13.0.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/io-console-0.8.2/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/io-console-0.8.2/mkmf.log +3 -3
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/psych-4.0.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/stringio-3.2.0/gem_make.out +5 -5
- metadata +53 -41
- data/docs/BatchImportAPIKeysRequest.md +0 -18
- data/docs/BatchImportResult.md +0 -24
- data/docs/BatchVerifyAPIKeysRequest.md +0 -18
- data/docs/BatchVerifyAPIKeysResponse.md +0 -18
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: v1.22.
|
|
6
|
+
The version of the OpenAPI document: v1.22.48
|
|
7
7
|
Contact: support@ory.sh
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.17.0
|
|
@@ -13,37 +13,37 @@ Generator version: 7.17.0
|
|
|
13
13
|
require 'cgi'
|
|
14
14
|
|
|
15
15
|
module OryClient
|
|
16
|
-
class
|
|
16
|
+
class ApiKeysApi
|
|
17
17
|
attr_accessor :api_client
|
|
18
18
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Batch Import API Keys
|
|
23
|
-
# Imports up to 1000 external API keys in one request. Returns per-item results. If at least one item succeeds, response is 200 OK. If all items fail, the endpoint returns a non-200 error. ```http POST /v2alpha1/admin/importedApiKeys:
|
|
24
|
-
# @param
|
|
23
|
+
# Imports up to 1000 external API keys in one request. Returns per-item results. If at least one item succeeds, response is 200 OK. If all items fail, the endpoint returns a non-200 error. ```http POST /v2alpha1/admin/importedApiKeys:batchCreate { \"requests\": [ {\"raw_key\": \"sk_live_abc\", \"name\": \"Stripe key\", \"actor_id\": \"user_1\"}, {\"raw_key\": \"ghp_xyz\", \"name\": \"GitHub PAT\", \"actor_id\": \"user_2\"} ] } ```
|
|
24
|
+
# @param batch_create_imported_api_keys_request [BatchCreateImportedApiKeysRequest] BatchCreateImportedApiKeysRequest imports multiple external API keys in one request. The maximum batch size is 1000 keys.
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @return [
|
|
27
|
-
def
|
|
28
|
-
data, _status_code, _headers =
|
|
26
|
+
# @return [BatchCreateImportedApiKeysResponse]
|
|
27
|
+
def admin_batch_create_imported_api_keys(batch_create_imported_api_keys_request, opts = {})
|
|
28
|
+
data, _status_code, _headers = admin_batch_create_imported_api_keys_with_http_info(batch_create_imported_api_keys_request, opts)
|
|
29
29
|
data
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
# Batch Import API Keys
|
|
33
|
-
# Imports up to 1000 external API keys in one request. Returns per-item results. If at least one item succeeds, response is 200 OK. If all items fail, the endpoint returns a non-200 error. ```http POST /v2alpha1/admin/importedApiKeys:
|
|
34
|
-
# @param
|
|
33
|
+
# Imports up to 1000 external API keys in one request. Returns per-item results. If at least one item succeeds, response is 200 OK. If all items fail, the endpoint returns a non-200 error. ```http POST /v2alpha1/admin/importedApiKeys:batchCreate { \"requests\": [ {\"raw_key\": \"sk_live_abc\", \"name\": \"Stripe key\", \"actor_id\": \"user_1\"}, {\"raw_key\": \"ghp_xyz\", \"name\": \"GitHub PAT\", \"actor_id\": \"user_2\"} ] } ```
|
|
34
|
+
# @param batch_create_imported_api_keys_request [BatchCreateImportedApiKeysRequest] BatchCreateImportedApiKeysRequest imports multiple external API keys in one request. The maximum batch size is 1000 keys.
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
36
|
-
# @return [Array<(
|
|
37
|
-
def
|
|
36
|
+
# @return [Array<(BatchCreateImportedApiKeysResponse, Integer, Hash)>] BatchCreateImportedApiKeysResponse data, response status code and response headers
|
|
37
|
+
def admin_batch_create_imported_api_keys_with_http_info(batch_create_imported_api_keys_request, opts = {})
|
|
38
38
|
if @api_client.config.debugging
|
|
39
|
-
@api_client.config.logger.debug 'Calling API:
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.admin_batch_create_imported_api_keys ...'
|
|
40
40
|
end
|
|
41
|
-
# verify the required parameter '
|
|
42
|
-
if @api_client.config.client_side_validation &&
|
|
43
|
-
fail ArgumentError, "Missing the required parameter '
|
|
41
|
+
# verify the required parameter 'batch_create_imported_api_keys_request' is set
|
|
42
|
+
if @api_client.config.client_side_validation && batch_create_imported_api_keys_request.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'batch_create_imported_api_keys_request' when calling ApiKeysApi.admin_batch_create_imported_api_keys"
|
|
44
44
|
end
|
|
45
45
|
# resource path
|
|
46
|
-
local_var_path = '/v2alpha1/admin/importedApiKeys:
|
|
46
|
+
local_var_path = '/v2alpha1/admin/importedApiKeys:batchCreate'
|
|
47
47
|
|
|
48
48
|
# query parameters
|
|
49
49
|
query_params = opts[:query_params] || {}
|
|
@@ -62,16 +62,16 @@ module OryClient
|
|
|
62
62
|
form_params = opts[:form_params] || {}
|
|
63
63
|
|
|
64
64
|
# http body (model)
|
|
65
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
65
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_create_imported_api_keys_request)
|
|
66
66
|
|
|
67
67
|
# return_type
|
|
68
|
-
return_type = opts[:debug_return_type] || '
|
|
68
|
+
return_type = opts[:debug_return_type] || 'BatchCreateImportedApiKeysResponse'
|
|
69
69
|
|
|
70
70
|
# auth_names
|
|
71
71
|
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
|
72
72
|
|
|
73
73
|
new_options = opts.merge(
|
|
74
|
-
:operation => :"
|
|
74
|
+
:operation => :"ApiKeysApi.admin_batch_create_imported_api_keys",
|
|
75
75
|
:header_params => header_params,
|
|
76
76
|
:query_params => query_params,
|
|
77
77
|
:form_params => form_params,
|
|
@@ -82,18 +82,18 @@ module OryClient
|
|
|
82
82
|
|
|
83
83
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
84
84
|
if @api_client.config.debugging
|
|
85
|
-
@api_client.config.logger.debug "API called:
|
|
85
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#admin_batch_create_imported_api_keys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
86
86
|
end
|
|
87
87
|
return data, status_code, headers
|
|
88
88
|
end
|
|
89
89
|
|
|
90
90
|
# Batch Verify API Keys
|
|
91
91
|
# Verifies multiple credentials in a single request. Efficiently verifies up to 100 credentials in parallel. Each credential is verified independently; partial failures are returned. Admin access only. Cache Control (HTTP Headers): - Cache-Control: no-cache - Bypasses cache read, forces fresh DB lookup - Cache-Control: no-store - Bypasses cache read AND write (never cached) - Pragma: no-cache - Same as Cache-Control: no-cache (HTTP/1.0) The cache directive applies to every credential in the batch. ```http POST /v2alpha1/admin/apiKeys:batchVerify { \"requests\": [ {\"credential\": \"sk_live_abc123...\"}, {\"credential\": \"eyJhbGciOiJFZERTQSI...\"} ] } ```
|
|
92
|
-
# @param batch_verify_api_keys_request [
|
|
92
|
+
# @param batch_verify_api_keys_request [BatchVerifyApiKeysRequest]
|
|
93
93
|
# @param [Hash] opts the optional parameters
|
|
94
94
|
# @option opts [String] :cache_control Cache-directive controlling the verifier cache. `no-cache` forces a fresh database lookup (cache read is bypassed). `no-store` additionally prevents the result from being written to the cache. Any other value is ignored.
|
|
95
95
|
# @option opts [String] :pragma HTTP/1.0 alias for `Cache-Control: no-cache`. Behaves identically when set to `no-cache`; ignored otherwise.
|
|
96
|
-
# @return [
|
|
96
|
+
# @return [BatchVerifyApiKeysResponse]
|
|
97
97
|
def admin_batch_verify_api_keys(batch_verify_api_keys_request, opts = {})
|
|
98
98
|
data, _status_code, _headers = admin_batch_verify_api_keys_with_http_info(batch_verify_api_keys_request, opts)
|
|
99
99
|
data
|
|
@@ -101,18 +101,18 @@ module OryClient
|
|
|
101
101
|
|
|
102
102
|
# Batch Verify API Keys
|
|
103
103
|
# Verifies multiple credentials in a single request. Efficiently verifies up to 100 credentials in parallel. Each credential is verified independently; partial failures are returned. Admin access only. Cache Control (HTTP Headers): - Cache-Control: no-cache - Bypasses cache read, forces fresh DB lookup - Cache-Control: no-store - Bypasses cache read AND write (never cached) - Pragma: no-cache - Same as Cache-Control: no-cache (HTTP/1.0) The cache directive applies to every credential in the batch. ```http POST /v2alpha1/admin/apiKeys:batchVerify { \"requests\": [ {\"credential\": \"sk_live_abc123...\"}, {\"credential\": \"eyJhbGciOiJFZERTQSI...\"} ] } ```
|
|
104
|
-
# @param batch_verify_api_keys_request [
|
|
104
|
+
# @param batch_verify_api_keys_request [BatchVerifyApiKeysRequest]
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
|
106
106
|
# @option opts [String] :cache_control Cache-directive controlling the verifier cache. `no-cache` forces a fresh database lookup (cache read is bypassed). `no-store` additionally prevents the result from being written to the cache. Any other value is ignored.
|
|
107
107
|
# @option opts [String] :pragma HTTP/1.0 alias for `Cache-Control: no-cache`. Behaves identically when set to `no-cache`; ignored otherwise.
|
|
108
|
-
# @return [Array<(
|
|
108
|
+
# @return [Array<(BatchVerifyApiKeysResponse, Integer, Hash)>] BatchVerifyApiKeysResponse data, response status code and response headers
|
|
109
109
|
def admin_batch_verify_api_keys_with_http_info(batch_verify_api_keys_request, opts = {})
|
|
110
110
|
if @api_client.config.debugging
|
|
111
|
-
@api_client.config.logger.debug 'Calling API:
|
|
111
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.admin_batch_verify_api_keys ...'
|
|
112
112
|
end
|
|
113
113
|
# verify the required parameter 'batch_verify_api_keys_request' is set
|
|
114
114
|
if @api_client.config.client_side_validation && batch_verify_api_keys_request.nil?
|
|
115
|
-
fail ArgumentError, "Missing the required parameter 'batch_verify_api_keys_request' when calling
|
|
115
|
+
fail ArgumentError, "Missing the required parameter 'batch_verify_api_keys_request' when calling ApiKeysApi.admin_batch_verify_api_keys"
|
|
116
116
|
end
|
|
117
117
|
# resource path
|
|
118
118
|
local_var_path = '/v2alpha1/admin/apiKeys:batchVerify'
|
|
@@ -139,13 +139,13 @@ module OryClient
|
|
|
139
139
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_verify_api_keys_request)
|
|
140
140
|
|
|
141
141
|
# return_type
|
|
142
|
-
return_type = opts[:debug_return_type] || '
|
|
142
|
+
return_type = opts[:debug_return_type] || 'BatchVerifyApiKeysResponse'
|
|
143
143
|
|
|
144
144
|
# auth_names
|
|
145
145
|
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
|
146
146
|
|
|
147
147
|
new_options = opts.merge(
|
|
148
|
-
:operation => :"
|
|
148
|
+
:operation => :"ApiKeysApi.admin_batch_verify_api_keys",
|
|
149
149
|
:header_params => header_params,
|
|
150
150
|
:query_params => query_params,
|
|
151
151
|
:form_params => form_params,
|
|
@@ -156,13 +156,13 @@ module OryClient
|
|
|
156
156
|
|
|
157
157
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
158
158
|
if @api_client.config.debugging
|
|
159
|
-
@api_client.config.logger.debug "API called:
|
|
159
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#admin_batch_verify_api_keys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
160
160
|
end
|
|
161
161
|
return data, status_code, headers
|
|
162
162
|
end
|
|
163
163
|
|
|
164
164
|
# Delete Imported API Key
|
|
165
|
-
# Permanently deletes an imported key (hard delete). The key is removed from the database. Use
|
|
165
|
+
# Permanently deletes an imported key (hard delete). The key is removed from the database. Use AdminRevokeImportedApiKey for soft deletion (recommended). ```http DELETE /v2alpha1/admin/importedApiKeys/{key_id} ```
|
|
166
166
|
# @param key_id [String] SHA512/256 hash of the imported key (REQUIRED)
|
|
167
167
|
# @param [Hash] opts the optional parameters
|
|
168
168
|
# @return [Object]
|
|
@@ -172,17 +172,17 @@ module OryClient
|
|
|
172
172
|
end
|
|
173
173
|
|
|
174
174
|
# Delete Imported API Key
|
|
175
|
-
# Permanently deletes an imported key (hard delete). The key is removed from the database. Use
|
|
175
|
+
# Permanently deletes an imported key (hard delete). The key is removed from the database. Use AdminRevokeImportedApiKey for soft deletion (recommended). ```http DELETE /v2alpha1/admin/importedApiKeys/{key_id} ```
|
|
176
176
|
# @param key_id [String] SHA512/256 hash of the imported key (REQUIRED)
|
|
177
177
|
# @param [Hash] opts the optional parameters
|
|
178
178
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
179
179
|
def admin_delete_imported_api_key_with_http_info(key_id, opts = {})
|
|
180
180
|
if @api_client.config.debugging
|
|
181
|
-
@api_client.config.logger.debug 'Calling API:
|
|
181
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.admin_delete_imported_api_key ...'
|
|
182
182
|
end
|
|
183
183
|
# verify the required parameter 'key_id' is set
|
|
184
184
|
if @api_client.config.client_side_validation && key_id.nil?
|
|
185
|
-
fail ArgumentError, "Missing the required parameter 'key_id' when calling
|
|
185
|
+
fail ArgumentError, "Missing the required parameter 'key_id' when calling ApiKeysApi.admin_delete_imported_api_key"
|
|
186
186
|
end
|
|
187
187
|
# resource path
|
|
188
188
|
local_var_path = '/v2alpha1/admin/importedApiKeys/{key_id}'.sub('{' + 'key_id' + '}', CGI.escape(key_id.to_s))
|
|
@@ -208,7 +208,7 @@ module OryClient
|
|
|
208
208
|
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
|
209
209
|
|
|
210
210
|
new_options = opts.merge(
|
|
211
|
-
:operation => :"
|
|
211
|
+
:operation => :"ApiKeysApi.admin_delete_imported_api_key",
|
|
212
212
|
:header_params => header_params,
|
|
213
213
|
:query_params => query_params,
|
|
214
214
|
:form_params => form_params,
|
|
@@ -219,7 +219,7 @@ module OryClient
|
|
|
219
219
|
|
|
220
220
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
221
221
|
if @api_client.config.debugging
|
|
222
|
-
@api_client.config.logger.debug "API called:
|
|
222
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#admin_delete_imported_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
223
223
|
end
|
|
224
224
|
return data, status_code, headers
|
|
225
225
|
end
|
|
@@ -241,11 +241,11 @@ module OryClient
|
|
|
241
241
|
# @return [Array<(DeriveTokenResponse, Integer, Hash)>] DeriveTokenResponse data, response status code and response headers
|
|
242
242
|
def admin_derive_token_with_http_info(derive_token_request, opts = {})
|
|
243
243
|
if @api_client.config.debugging
|
|
244
|
-
@api_client.config.logger.debug 'Calling API:
|
|
244
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.admin_derive_token ...'
|
|
245
245
|
end
|
|
246
246
|
# verify the required parameter 'derive_token_request' is set
|
|
247
247
|
if @api_client.config.client_side_validation && derive_token_request.nil?
|
|
248
|
-
fail ArgumentError, "Missing the required parameter 'derive_token_request' when calling
|
|
248
|
+
fail ArgumentError, "Missing the required parameter 'derive_token_request' when calling ApiKeysApi.admin_derive_token"
|
|
249
249
|
end
|
|
250
250
|
# resource path
|
|
251
251
|
local_var_path = '/v2alpha1/admin/apiKeys:derive'
|
|
@@ -276,7 +276,7 @@ module OryClient
|
|
|
276
276
|
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
|
277
277
|
|
|
278
278
|
new_options = opts.merge(
|
|
279
|
-
:operation => :"
|
|
279
|
+
:operation => :"ApiKeysApi.admin_derive_token",
|
|
280
280
|
:header_params => header_params,
|
|
281
281
|
:query_params => query_params,
|
|
282
282
|
:form_params => form_params,
|
|
@@ -287,7 +287,7 @@ module OryClient
|
|
|
287
287
|
|
|
288
288
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
289
289
|
if @api_client.config.debugging
|
|
290
|
-
@api_client.config.logger.debug "API called:
|
|
290
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#admin_derive_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
291
291
|
end
|
|
292
292
|
return data, status_code, headers
|
|
293
293
|
end
|
|
@@ -296,7 +296,7 @@ module OryClient
|
|
|
296
296
|
# Retrieves details about a specific imported key. Returns metadata about the imported key. The original raw key is never returned. ```http GET /v2alpha1/admin/importedApiKeys/{key_id} ```
|
|
297
297
|
# @param key_id [String] SHA512/256 hash of the imported key (REQUIRED)
|
|
298
298
|
# @param [Hash] opts the optional parameters
|
|
299
|
-
# @return [
|
|
299
|
+
# @return [ImportedApiKey]
|
|
300
300
|
def admin_get_imported_api_key(key_id, opts = {})
|
|
301
301
|
data, _status_code, _headers = admin_get_imported_api_key_with_http_info(key_id, opts)
|
|
302
302
|
data
|
|
@@ -306,14 +306,14 @@ module OryClient
|
|
|
306
306
|
# Retrieves details about a specific imported key. Returns metadata about the imported key. The original raw key is never returned. ```http GET /v2alpha1/admin/importedApiKeys/{key_id} ```
|
|
307
307
|
# @param key_id [String] SHA512/256 hash of the imported key (REQUIRED)
|
|
308
308
|
# @param [Hash] opts the optional parameters
|
|
309
|
-
# @return [Array<(
|
|
309
|
+
# @return [Array<(ImportedApiKey, Integer, Hash)>] ImportedApiKey data, response status code and response headers
|
|
310
310
|
def admin_get_imported_api_key_with_http_info(key_id, opts = {})
|
|
311
311
|
if @api_client.config.debugging
|
|
312
|
-
@api_client.config.logger.debug 'Calling API:
|
|
312
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.admin_get_imported_api_key ...'
|
|
313
313
|
end
|
|
314
314
|
# verify the required parameter 'key_id' is set
|
|
315
315
|
if @api_client.config.client_side_validation && key_id.nil?
|
|
316
|
-
fail ArgumentError, "Missing the required parameter 'key_id' when calling
|
|
316
|
+
fail ArgumentError, "Missing the required parameter 'key_id' when calling ApiKeysApi.admin_get_imported_api_key"
|
|
317
317
|
end
|
|
318
318
|
# resource path
|
|
319
319
|
local_var_path = '/v2alpha1/admin/importedApiKeys/{key_id}'.sub('{' + 'key_id' + '}', CGI.escape(key_id.to_s))
|
|
@@ -333,13 +333,13 @@ module OryClient
|
|
|
333
333
|
post_body = opts[:debug_body]
|
|
334
334
|
|
|
335
335
|
# return_type
|
|
336
|
-
return_type = opts[:debug_return_type] || '
|
|
336
|
+
return_type = opts[:debug_return_type] || 'ImportedApiKey'
|
|
337
337
|
|
|
338
338
|
# auth_names
|
|
339
339
|
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
|
340
340
|
|
|
341
341
|
new_options = opts.merge(
|
|
342
|
-
:operation => :"
|
|
342
|
+
:operation => :"ApiKeysApi.admin_get_imported_api_key",
|
|
343
343
|
:header_params => header_params,
|
|
344
344
|
:query_params => query_params,
|
|
345
345
|
:form_params => form_params,
|
|
@@ -350,7 +350,7 @@ module OryClient
|
|
|
350
350
|
|
|
351
351
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
352
352
|
if @api_client.config.debugging
|
|
353
|
-
@api_client.config.logger.debug "API called:
|
|
353
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#admin_get_imported_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
354
354
|
end
|
|
355
355
|
return data, status_code, headers
|
|
356
356
|
end
|
|
@@ -359,7 +359,7 @@ module OryClient
|
|
|
359
359
|
# Retrieves details about a specific issued API key including its status, scopes, expiration, and usage statistics. The secret is never returned. ```http GET /v2alpha1/admin/issuedApiKeys/01HQZX9VYQKJB8XQZQXQZQXQXQ ```
|
|
360
360
|
# @param key_id [String] Identifier of the API key resource.
|
|
361
361
|
# @param [Hash] opts the optional parameters
|
|
362
|
-
# @return [
|
|
362
|
+
# @return [IssuedApiKey]
|
|
363
363
|
def admin_get_issued_api_key(key_id, opts = {})
|
|
364
364
|
data, _status_code, _headers = admin_get_issued_api_key_with_http_info(key_id, opts)
|
|
365
365
|
data
|
|
@@ -369,14 +369,14 @@ module OryClient
|
|
|
369
369
|
# Retrieves details about a specific issued API key including its status, scopes, expiration, and usage statistics. The secret is never returned. ```http GET /v2alpha1/admin/issuedApiKeys/01HQZX9VYQKJB8XQZQXQZQXQXQ ```
|
|
370
370
|
# @param key_id [String] Identifier of the API key resource.
|
|
371
371
|
# @param [Hash] opts the optional parameters
|
|
372
|
-
# @return [Array<(
|
|
372
|
+
# @return [Array<(IssuedApiKey, Integer, Hash)>] IssuedApiKey data, response status code and response headers
|
|
373
373
|
def admin_get_issued_api_key_with_http_info(key_id, opts = {})
|
|
374
374
|
if @api_client.config.debugging
|
|
375
|
-
@api_client.config.logger.debug 'Calling API:
|
|
375
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.admin_get_issued_api_key ...'
|
|
376
376
|
end
|
|
377
377
|
# verify the required parameter 'key_id' is set
|
|
378
378
|
if @api_client.config.client_side_validation && key_id.nil?
|
|
379
|
-
fail ArgumentError, "Missing the required parameter 'key_id' when calling
|
|
379
|
+
fail ArgumentError, "Missing the required parameter 'key_id' when calling ApiKeysApi.admin_get_issued_api_key"
|
|
380
380
|
end
|
|
381
381
|
# resource path
|
|
382
382
|
local_var_path = '/v2alpha1/admin/issuedApiKeys/{key_id}'.sub('{' + 'key_id' + '}', CGI.escape(key_id.to_s))
|
|
@@ -396,13 +396,13 @@ module OryClient
|
|
|
396
396
|
post_body = opts[:debug_body]
|
|
397
397
|
|
|
398
398
|
# return_type
|
|
399
|
-
return_type = opts[:debug_return_type] || '
|
|
399
|
+
return_type = opts[:debug_return_type] || 'IssuedApiKey'
|
|
400
400
|
|
|
401
401
|
# auth_names
|
|
402
402
|
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
|
403
403
|
|
|
404
404
|
new_options = opts.merge(
|
|
405
|
-
:operation => :"
|
|
405
|
+
:operation => :"ApiKeysApi.admin_get_issued_api_key",
|
|
406
406
|
:header_params => header_params,
|
|
407
407
|
:query_params => query_params,
|
|
408
408
|
:form_params => form_params,
|
|
@@ -413,16 +413,16 @@ module OryClient
|
|
|
413
413
|
|
|
414
414
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
415
415
|
if @api_client.config.debugging
|
|
416
|
-
@api_client.config.logger.debug "API called:
|
|
416
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#admin_get_issued_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
417
417
|
end
|
|
418
418
|
return data, status_code, headers
|
|
419
419
|
end
|
|
420
420
|
|
|
421
421
|
# Import API Key
|
|
422
422
|
# Imports an external API key into the system. Allows importing keys from legacy systems or external providers. The raw key is hashed and stored securely (HMAC). Imported keys support token derivation (JWT/Macaroon) like issued keys. ```http POST /v2alpha1/admin/importedApiKeys { \"raw_key\": \"sk_live_abc123xyz\", \"name\": \"Imported Stripe Key\", \"actor_id\": \"user_123\" } ```
|
|
423
|
-
# @param import_api_key_request [
|
|
423
|
+
# @param import_api_key_request [ImportApiKeyRequest] Example: { \"raw_key\": \"sk_live_abc123xyz789\", \"name\": \"Stripe Production Key\", \"actor_id\": \"payment-processor\", \"scopes\": [\"read\", \"write\"], \"ttl\": \"8760h\", // 1 year (also accepts: 31536000s) \"metadata\": {\"source\": \"stripe\", \"environment\": \"production\"} }
|
|
424
424
|
# @param [Hash] opts the optional parameters
|
|
425
|
-
# @return [
|
|
425
|
+
# @return [ImportedApiKey]
|
|
426
426
|
def admin_import_api_key(import_api_key_request, opts = {})
|
|
427
427
|
data, _status_code, _headers = admin_import_api_key_with_http_info(import_api_key_request, opts)
|
|
428
428
|
data
|
|
@@ -430,16 +430,16 @@ module OryClient
|
|
|
430
430
|
|
|
431
431
|
# Import API Key
|
|
432
432
|
# Imports an external API key into the system. Allows importing keys from legacy systems or external providers. The raw key is hashed and stored securely (HMAC). Imported keys support token derivation (JWT/Macaroon) like issued keys. ```http POST /v2alpha1/admin/importedApiKeys { \"raw_key\": \"sk_live_abc123xyz\", \"name\": \"Imported Stripe Key\", \"actor_id\": \"user_123\" } ```
|
|
433
|
-
# @param import_api_key_request [
|
|
433
|
+
# @param import_api_key_request [ImportApiKeyRequest] Example: { \"raw_key\": \"sk_live_abc123xyz789\", \"name\": \"Stripe Production Key\", \"actor_id\": \"payment-processor\", \"scopes\": [\"read\", \"write\"], \"ttl\": \"8760h\", // 1 year (also accepts: 31536000s) \"metadata\": {\"source\": \"stripe\", \"environment\": \"production\"} }
|
|
434
434
|
# @param [Hash] opts the optional parameters
|
|
435
|
-
# @return [Array<(
|
|
435
|
+
# @return [Array<(ImportedApiKey, Integer, Hash)>] ImportedApiKey data, response status code and response headers
|
|
436
436
|
def admin_import_api_key_with_http_info(import_api_key_request, opts = {})
|
|
437
437
|
if @api_client.config.debugging
|
|
438
|
-
@api_client.config.logger.debug 'Calling API:
|
|
438
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.admin_import_api_key ...'
|
|
439
439
|
end
|
|
440
440
|
# verify the required parameter 'import_api_key_request' is set
|
|
441
441
|
if @api_client.config.client_side_validation && import_api_key_request.nil?
|
|
442
|
-
fail ArgumentError, "Missing the required parameter 'import_api_key_request' when calling
|
|
442
|
+
fail ArgumentError, "Missing the required parameter 'import_api_key_request' when calling ApiKeysApi.admin_import_api_key"
|
|
443
443
|
end
|
|
444
444
|
# resource path
|
|
445
445
|
local_var_path = '/v2alpha1/admin/importedApiKeys'
|
|
@@ -464,13 +464,13 @@ module OryClient
|
|
|
464
464
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(import_api_key_request)
|
|
465
465
|
|
|
466
466
|
# return_type
|
|
467
|
-
return_type = opts[:debug_return_type] || '
|
|
467
|
+
return_type = opts[:debug_return_type] || 'ImportedApiKey'
|
|
468
468
|
|
|
469
469
|
# auth_names
|
|
470
470
|
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
|
471
471
|
|
|
472
472
|
new_options = opts.merge(
|
|
473
|
-
:operation => :"
|
|
473
|
+
:operation => :"ApiKeysApi.admin_import_api_key",
|
|
474
474
|
:header_params => header_params,
|
|
475
475
|
:query_params => query_params,
|
|
476
476
|
:form_params => form_params,
|
|
@@ -481,16 +481,16 @@ module OryClient
|
|
|
481
481
|
|
|
482
482
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
483
483
|
if @api_client.config.debugging
|
|
484
|
-
@api_client.config.logger.debug "API called:
|
|
484
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#admin_import_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
485
485
|
end
|
|
486
486
|
return data, status_code, headers
|
|
487
487
|
end
|
|
488
488
|
|
|
489
489
|
# Issue API Key
|
|
490
490
|
# Creates a new API key for a given actor. The secret is returned only once in the response and cannot be retrieved later. Keys can be scoped with specific permissions and have optional expiration. ```http POST /v2alpha1/admin/issuedApiKeys { \"name\": \"production-service\", \"actor_id\": \"user_123\", \"scopes\": [\"read\", \"write\"], \"ttl\": \"8760h\" } ```
|
|
491
|
-
# @param issue_api_key_request [
|
|
491
|
+
# @param issue_api_key_request [IssueApiKeyRequest]
|
|
492
492
|
# @param [Hash] opts the optional parameters
|
|
493
|
-
# @return [
|
|
493
|
+
# @return [IssueApiKeyResponse]
|
|
494
494
|
def admin_issue_api_key(issue_api_key_request, opts = {})
|
|
495
495
|
data, _status_code, _headers = admin_issue_api_key_with_http_info(issue_api_key_request, opts)
|
|
496
496
|
data
|
|
@@ -498,16 +498,16 @@ module OryClient
|
|
|
498
498
|
|
|
499
499
|
# Issue API Key
|
|
500
500
|
# Creates a new API key for a given actor. The secret is returned only once in the response and cannot be retrieved later. Keys can be scoped with specific permissions and have optional expiration. ```http POST /v2alpha1/admin/issuedApiKeys { \"name\": \"production-service\", \"actor_id\": \"user_123\", \"scopes\": [\"read\", \"write\"], \"ttl\": \"8760h\" } ```
|
|
501
|
-
# @param issue_api_key_request [
|
|
501
|
+
# @param issue_api_key_request [IssueApiKeyRequest]
|
|
502
502
|
# @param [Hash] opts the optional parameters
|
|
503
|
-
# @return [Array<(
|
|
503
|
+
# @return [Array<(IssueApiKeyResponse, Integer, Hash)>] IssueApiKeyResponse data, response status code and response headers
|
|
504
504
|
def admin_issue_api_key_with_http_info(issue_api_key_request, opts = {})
|
|
505
505
|
if @api_client.config.debugging
|
|
506
|
-
@api_client.config.logger.debug 'Calling API:
|
|
506
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.admin_issue_api_key ...'
|
|
507
507
|
end
|
|
508
508
|
# verify the required parameter 'issue_api_key_request' is set
|
|
509
509
|
if @api_client.config.client_side_validation && issue_api_key_request.nil?
|
|
510
|
-
fail ArgumentError, "Missing the required parameter 'issue_api_key_request' when calling
|
|
510
|
+
fail ArgumentError, "Missing the required parameter 'issue_api_key_request' when calling ApiKeysApi.admin_issue_api_key"
|
|
511
511
|
end
|
|
512
512
|
# resource path
|
|
513
513
|
local_var_path = '/v2alpha1/admin/issuedApiKeys'
|
|
@@ -532,13 +532,13 @@ module OryClient
|
|
|
532
532
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(issue_api_key_request)
|
|
533
533
|
|
|
534
534
|
# return_type
|
|
535
|
-
return_type = opts[:debug_return_type] || '
|
|
535
|
+
return_type = opts[:debug_return_type] || 'IssueApiKeyResponse'
|
|
536
536
|
|
|
537
537
|
# auth_names
|
|
538
538
|
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
|
539
539
|
|
|
540
540
|
new_options = opts.merge(
|
|
541
|
-
:operation => :"
|
|
541
|
+
:operation => :"ApiKeysApi.admin_issue_api_key",
|
|
542
542
|
:header_params => header_params,
|
|
543
543
|
:query_params => query_params,
|
|
544
544
|
:form_params => form_params,
|
|
@@ -549,7 +549,7 @@ module OryClient
|
|
|
549
549
|
|
|
550
550
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
551
551
|
if @api_client.config.debugging
|
|
552
|
-
@api_client.config.logger.debug "API called:
|
|
552
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#admin_issue_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
553
553
|
end
|
|
554
554
|
return data, status_code, headers
|
|
555
555
|
end
|
|
@@ -560,7 +560,7 @@ module OryClient
|
|
|
560
560
|
# @option opts [Integer] :page_size Number of items per page (default: 50, max: 1000)
|
|
561
561
|
# @option opts [String] :page_token Cursor token for pagination (OPTIONAL)
|
|
562
562
|
# @option opts [String] :filter filter is an AIP-160 expression. Indexed fields (efficient at any scale): actor_id, status. Other fields are not indexed and may be rejected. Examples: actor_id=\"user_123\" status=KEY_STATUS_ACTIVE actor_id=\"user_123\" AND status=KEY_STATUS_ACTIVE
|
|
563
|
-
# @return [
|
|
563
|
+
# @return [ListImportedApiKeysResponse]
|
|
564
564
|
def admin_list_imported_api_keys(opts = {})
|
|
565
565
|
data, _status_code, _headers = admin_list_imported_api_keys_with_http_info(opts)
|
|
566
566
|
data
|
|
@@ -572,10 +572,10 @@ module OryClient
|
|
|
572
572
|
# @option opts [Integer] :page_size Number of items per page (default: 50, max: 1000)
|
|
573
573
|
# @option opts [String] :page_token Cursor token for pagination (OPTIONAL)
|
|
574
574
|
# @option opts [String] :filter filter is an AIP-160 expression. Indexed fields (efficient at any scale): actor_id, status. Other fields are not indexed and may be rejected. Examples: actor_id=\"user_123\" status=KEY_STATUS_ACTIVE actor_id=\"user_123\" AND status=KEY_STATUS_ACTIVE
|
|
575
|
-
# @return [Array<(
|
|
575
|
+
# @return [Array<(ListImportedApiKeysResponse, Integer, Hash)>] ListImportedApiKeysResponse data, response status code and response headers
|
|
576
576
|
def admin_list_imported_api_keys_with_http_info(opts = {})
|
|
577
577
|
if @api_client.config.debugging
|
|
578
|
-
@api_client.config.logger.debug 'Calling API:
|
|
578
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.admin_list_imported_api_keys ...'
|
|
579
579
|
end
|
|
580
580
|
# resource path
|
|
581
581
|
local_var_path = '/v2alpha1/admin/importedApiKeys'
|
|
@@ -598,13 +598,13 @@ module OryClient
|
|
|
598
598
|
post_body = opts[:debug_body]
|
|
599
599
|
|
|
600
600
|
# return_type
|
|
601
|
-
return_type = opts[:debug_return_type] || '
|
|
601
|
+
return_type = opts[:debug_return_type] || 'ListImportedApiKeysResponse'
|
|
602
602
|
|
|
603
603
|
# auth_names
|
|
604
604
|
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
|
605
605
|
|
|
606
606
|
new_options = opts.merge(
|
|
607
|
-
:operation => :"
|
|
607
|
+
:operation => :"ApiKeysApi.admin_list_imported_api_keys",
|
|
608
608
|
:header_params => header_params,
|
|
609
609
|
:query_params => query_params,
|
|
610
610
|
:form_params => form_params,
|
|
@@ -615,33 +615,33 @@ module OryClient
|
|
|
615
615
|
|
|
616
616
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
617
617
|
if @api_client.config.debugging
|
|
618
|
-
@api_client.config.logger.debug "API called:
|
|
618
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#admin_list_imported_api_keys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
619
619
|
end
|
|
620
620
|
return data, status_code, headers
|
|
621
621
|
end
|
|
622
622
|
|
|
623
623
|
# List Issued API Keys
|
|
624
|
-
# Lists issued API keys with optional filtering. Supports cursor-based pagination and AIP-160 filter expressions. Returns only issued (generated) API keys; use
|
|
624
|
+
# Lists issued API keys with optional filtering. Supports cursor-based pagination and AIP-160 filter expressions. Returns only issued (generated) API keys; use ListImportedApiKeys for imported keys. ```http GET /v2alpha1/admin/issuedApiKeys?page_size=50&filter=actor_id%3D%22user_123%22 ```
|
|
625
625
|
# @param [Hash] opts the optional parameters
|
|
626
626
|
# @option opts [Integer] :page_size Number of items per page (default: 50, max: 1000)
|
|
627
627
|
# @option opts [String] :page_token Cursor token for pagination
|
|
628
628
|
# @option opts [String] :filter filter is an AIP-160 expression. Indexed fields (efficient at any scale): actor_id, status. Other fields are not indexed and may be rejected. Examples: actor_id=\"user_123\" status=KEY_STATUS_ACTIVE actor_id=\"user_123\" AND status=KEY_STATUS_ACTIVE
|
|
629
|
-
# @return [
|
|
629
|
+
# @return [ListIssuedApiKeysResponse]
|
|
630
630
|
def admin_list_issued_api_keys(opts = {})
|
|
631
631
|
data, _status_code, _headers = admin_list_issued_api_keys_with_http_info(opts)
|
|
632
632
|
data
|
|
633
633
|
end
|
|
634
634
|
|
|
635
635
|
# List Issued API Keys
|
|
636
|
-
# Lists issued API keys with optional filtering. Supports cursor-based pagination and AIP-160 filter expressions. Returns only issued (generated) API keys; use
|
|
636
|
+
# Lists issued API keys with optional filtering. Supports cursor-based pagination and AIP-160 filter expressions. Returns only issued (generated) API keys; use ListImportedApiKeys for imported keys. ```http GET /v2alpha1/admin/issuedApiKeys?page_size=50&filter=actor_id%3D%22user_123%22 ```
|
|
637
637
|
# @param [Hash] opts the optional parameters
|
|
638
638
|
# @option opts [Integer] :page_size Number of items per page (default: 50, max: 1000)
|
|
639
639
|
# @option opts [String] :page_token Cursor token for pagination
|
|
640
640
|
# @option opts [String] :filter filter is an AIP-160 expression. Indexed fields (efficient at any scale): actor_id, status. Other fields are not indexed and may be rejected. Examples: actor_id=\"user_123\" status=KEY_STATUS_ACTIVE actor_id=\"user_123\" AND status=KEY_STATUS_ACTIVE
|
|
641
|
-
# @return [Array<(
|
|
641
|
+
# @return [Array<(ListIssuedApiKeysResponse, Integer, Hash)>] ListIssuedApiKeysResponse data, response status code and response headers
|
|
642
642
|
def admin_list_issued_api_keys_with_http_info(opts = {})
|
|
643
643
|
if @api_client.config.debugging
|
|
644
|
-
@api_client.config.logger.debug 'Calling API:
|
|
644
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.admin_list_issued_api_keys ...'
|
|
645
645
|
end
|
|
646
646
|
# resource path
|
|
647
647
|
local_var_path = '/v2alpha1/admin/issuedApiKeys'
|
|
@@ -664,13 +664,13 @@ module OryClient
|
|
|
664
664
|
post_body = opts[:debug_body]
|
|
665
665
|
|
|
666
666
|
# return_type
|
|
667
|
-
return_type = opts[:debug_return_type] || '
|
|
667
|
+
return_type = opts[:debug_return_type] || 'ListIssuedApiKeysResponse'
|
|
668
668
|
|
|
669
669
|
# auth_names
|
|
670
670
|
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
|
671
671
|
|
|
672
672
|
new_options = opts.merge(
|
|
673
|
-
:operation => :"
|
|
673
|
+
:operation => :"ApiKeysApi.admin_list_issued_api_keys",
|
|
674
674
|
:header_params => header_params,
|
|
675
675
|
:query_params => query_params,
|
|
676
676
|
:form_params => form_params,
|
|
@@ -681,42 +681,116 @@ module OryClient
|
|
|
681
681
|
|
|
682
682
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
683
683
|
if @api_client.config.debugging
|
|
684
|
-
@api_client.config.logger.debug "API called:
|
|
684
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#admin_list_issued_api_keys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
685
685
|
end
|
|
686
686
|
return data, status_code, headers
|
|
687
687
|
end
|
|
688
688
|
|
|
689
|
-
# Revoke API Key
|
|
690
|
-
# Immediately revokes an API key
|
|
691
|
-
# @param key_id [String]
|
|
692
|
-
# @param
|
|
689
|
+
# Revoke Imported API Key
|
|
690
|
+
# Immediately revokes an imported API key. Once revoked, the key can no longer be used for authentication. This operation is irreversible. Revoked keys are retained for audit purposes. ```http POST /v2alpha1/admin/importedApiKeys/9a3f051b2c7e8d4f1a6b9c0e5f2d8a3b:revoke { \"reason\": \"REVOCATION_REASON_KEY_COMPROMISE\" } ```
|
|
691
|
+
# @param key_id [String] SHA-512/256 hash of the imported key (REQUIRED)
|
|
692
|
+
# @param admin_revoke_imported_api_key_body [AdminRevokeImportedApiKeyBody]
|
|
693
693
|
# @param [Hash] opts the optional parameters
|
|
694
694
|
# @return [Object]
|
|
695
|
-
def
|
|
696
|
-
data, _status_code, _headers =
|
|
695
|
+
def admin_revoke_imported_api_key(key_id, admin_revoke_imported_api_key_body, opts = {})
|
|
696
|
+
data, _status_code, _headers = admin_revoke_imported_api_key_with_http_info(key_id, admin_revoke_imported_api_key_body, opts)
|
|
697
697
|
data
|
|
698
698
|
end
|
|
699
699
|
|
|
700
|
-
# Revoke API Key
|
|
701
|
-
# Immediately revokes an API key
|
|
702
|
-
# @param key_id [String]
|
|
703
|
-
# @param
|
|
700
|
+
# Revoke Imported API Key
|
|
701
|
+
# Immediately revokes an imported API key. Once revoked, the key can no longer be used for authentication. This operation is irreversible. Revoked keys are retained for audit purposes. ```http POST /v2alpha1/admin/importedApiKeys/9a3f051b2c7e8d4f1a6b9c0e5f2d8a3b:revoke { \"reason\": \"REVOCATION_REASON_KEY_COMPROMISE\" } ```
|
|
702
|
+
# @param key_id [String] SHA-512/256 hash of the imported key (REQUIRED)
|
|
703
|
+
# @param admin_revoke_imported_api_key_body [AdminRevokeImportedApiKeyBody]
|
|
704
|
+
# @param [Hash] opts the optional parameters
|
|
705
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
706
|
+
def admin_revoke_imported_api_key_with_http_info(key_id, admin_revoke_imported_api_key_body, opts = {})
|
|
707
|
+
if @api_client.config.debugging
|
|
708
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.admin_revoke_imported_api_key ...'
|
|
709
|
+
end
|
|
710
|
+
# verify the required parameter 'key_id' is set
|
|
711
|
+
if @api_client.config.client_side_validation && key_id.nil?
|
|
712
|
+
fail ArgumentError, "Missing the required parameter 'key_id' when calling ApiKeysApi.admin_revoke_imported_api_key"
|
|
713
|
+
end
|
|
714
|
+
# verify the required parameter 'admin_revoke_imported_api_key_body' is set
|
|
715
|
+
if @api_client.config.client_side_validation && admin_revoke_imported_api_key_body.nil?
|
|
716
|
+
fail ArgumentError, "Missing the required parameter 'admin_revoke_imported_api_key_body' when calling ApiKeysApi.admin_revoke_imported_api_key"
|
|
717
|
+
end
|
|
718
|
+
# resource path
|
|
719
|
+
local_var_path = '/v2alpha1/admin/importedApiKeys/{key_id}:revoke'.sub('{' + 'key_id' + '}', CGI.escape(key_id.to_s))
|
|
720
|
+
|
|
721
|
+
# query parameters
|
|
722
|
+
query_params = opts[:query_params] || {}
|
|
723
|
+
|
|
724
|
+
# header parameters
|
|
725
|
+
header_params = opts[:header_params] || {}
|
|
726
|
+
# HTTP header 'Accept' (if needed)
|
|
727
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
728
|
+
# HTTP header 'Content-Type'
|
|
729
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
730
|
+
if !content_type.nil?
|
|
731
|
+
header_params['Content-Type'] = content_type
|
|
732
|
+
end
|
|
733
|
+
|
|
734
|
+
# form parameters
|
|
735
|
+
form_params = opts[:form_params] || {}
|
|
736
|
+
|
|
737
|
+
# http body (model)
|
|
738
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(admin_revoke_imported_api_key_body)
|
|
739
|
+
|
|
740
|
+
# return_type
|
|
741
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
742
|
+
|
|
743
|
+
# auth_names
|
|
744
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
|
745
|
+
|
|
746
|
+
new_options = opts.merge(
|
|
747
|
+
:operation => :"ApiKeysApi.admin_revoke_imported_api_key",
|
|
748
|
+
:header_params => header_params,
|
|
749
|
+
:query_params => query_params,
|
|
750
|
+
:form_params => form_params,
|
|
751
|
+
:body => post_body,
|
|
752
|
+
:auth_names => auth_names,
|
|
753
|
+
:return_type => return_type
|
|
754
|
+
)
|
|
755
|
+
|
|
756
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
757
|
+
if @api_client.config.debugging
|
|
758
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#admin_revoke_imported_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
759
|
+
end
|
|
760
|
+
return data, status_code, headers
|
|
761
|
+
end
|
|
762
|
+
|
|
763
|
+
# Revoke Issued API Key
|
|
764
|
+
# Immediately revokes an issued API key. Once revoked, the key can no longer be used for authentication. This operation is irreversible. Revoked keys are retained for audit purposes. ```http POST /v2alpha1/admin/issuedApiKeys/01HQZX9VYQKJB8XQZQXQZQXQXQ:revoke { \"reason\": \"REVOCATION_REASON_KEY_COMPROMISE\" } ```
|
|
765
|
+
# @param key_id [String] UUID of the issued key (REQUIRED)
|
|
766
|
+
# @param admin_revoke_issued_api_key_body [AdminRevokeIssuedApiKeyBody]
|
|
767
|
+
# @param [Hash] opts the optional parameters
|
|
768
|
+
# @return [Object]
|
|
769
|
+
def admin_revoke_issued_api_key(key_id, admin_revoke_issued_api_key_body, opts = {})
|
|
770
|
+
data, _status_code, _headers = admin_revoke_issued_api_key_with_http_info(key_id, admin_revoke_issued_api_key_body, opts)
|
|
771
|
+
data
|
|
772
|
+
end
|
|
773
|
+
|
|
774
|
+
# Revoke Issued API Key
|
|
775
|
+
# Immediately revokes an issued API key. Once revoked, the key can no longer be used for authentication. This operation is irreversible. Revoked keys are retained for audit purposes. ```http POST /v2alpha1/admin/issuedApiKeys/01HQZX9VYQKJB8XQZQXQZQXQXQ:revoke { \"reason\": \"REVOCATION_REASON_KEY_COMPROMISE\" } ```
|
|
776
|
+
# @param key_id [String] UUID of the issued key (REQUIRED)
|
|
777
|
+
# @param admin_revoke_issued_api_key_body [AdminRevokeIssuedApiKeyBody]
|
|
704
778
|
# @param [Hash] opts the optional parameters
|
|
705
779
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
706
|
-
def
|
|
780
|
+
def admin_revoke_issued_api_key_with_http_info(key_id, admin_revoke_issued_api_key_body, opts = {})
|
|
707
781
|
if @api_client.config.debugging
|
|
708
|
-
@api_client.config.logger.debug 'Calling API:
|
|
782
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.admin_revoke_issued_api_key ...'
|
|
709
783
|
end
|
|
710
784
|
# verify the required parameter 'key_id' is set
|
|
711
785
|
if @api_client.config.client_side_validation && key_id.nil?
|
|
712
|
-
fail ArgumentError, "Missing the required parameter 'key_id' when calling
|
|
786
|
+
fail ArgumentError, "Missing the required parameter 'key_id' when calling ApiKeysApi.admin_revoke_issued_api_key"
|
|
713
787
|
end
|
|
714
|
-
# verify the required parameter '
|
|
715
|
-
if @api_client.config.client_side_validation &&
|
|
716
|
-
fail ArgumentError, "Missing the required parameter '
|
|
788
|
+
# verify the required parameter 'admin_revoke_issued_api_key_body' is set
|
|
789
|
+
if @api_client.config.client_side_validation && admin_revoke_issued_api_key_body.nil?
|
|
790
|
+
fail ArgumentError, "Missing the required parameter 'admin_revoke_issued_api_key_body' when calling ApiKeysApi.admin_revoke_issued_api_key"
|
|
717
791
|
end
|
|
718
792
|
# resource path
|
|
719
|
-
local_var_path = '/v2alpha1/admin/
|
|
793
|
+
local_var_path = '/v2alpha1/admin/issuedApiKeys/{key_id}:revoke'.sub('{' + 'key_id' + '}', CGI.escape(key_id.to_s))
|
|
720
794
|
|
|
721
795
|
# query parameters
|
|
722
796
|
query_params = opts[:query_params] || {}
|
|
@@ -735,7 +809,7 @@ module OryClient
|
|
|
735
809
|
form_params = opts[:form_params] || {}
|
|
736
810
|
|
|
737
811
|
# http body (model)
|
|
738
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
812
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(admin_revoke_issued_api_key_body)
|
|
739
813
|
|
|
740
814
|
# return_type
|
|
741
815
|
return_type = opts[:debug_return_type] || 'Object'
|
|
@@ -744,7 +818,7 @@ module OryClient
|
|
|
744
818
|
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
|
745
819
|
|
|
746
820
|
new_options = opts.merge(
|
|
747
|
-
:operation => :"
|
|
821
|
+
:operation => :"ApiKeysApi.admin_revoke_issued_api_key",
|
|
748
822
|
:header_params => header_params,
|
|
749
823
|
:query_params => query_params,
|
|
750
824
|
:form_params => form_params,
|
|
@@ -755,39 +829,39 @@ module OryClient
|
|
|
755
829
|
|
|
756
830
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
757
831
|
if @api_client.config.debugging
|
|
758
|
-
@api_client.config.logger.debug "API called:
|
|
832
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#admin_revoke_issued_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
759
833
|
end
|
|
760
834
|
return data, status_code, headers
|
|
761
835
|
end
|
|
762
836
|
|
|
763
837
|
# Rotate Issued API Key
|
|
764
|
-
# Generates a new secret for an issued API key. Creates a new API key with a new key_id and secret, and immediately revokes the old key. This is the recommended way to update scopes, metadata, or rotate credentials. For zero-downtime rotation, use this workflow instead: 1.
|
|
838
|
+
# Generates a new secret for an issued API key. Creates a new API key with a new key_id and secret, and immediately revokes the old key. This is the recommended way to update scopes, metadata, or rotate credentials. For zero-downtime rotation, use this workflow instead: 1. IssueApiKey with new credentials 2. Deploy new secret to all services 3. Verify new secret works everywhere 4. AdminRevokeIssuedApiKey to remove the old key ```http POST /v2alpha1/admin/issuedApiKeys/01HQZX9VYQKJB8XQZQXQZQXQXQ:rotate { \"scopes\": [\"read\"] } ```
|
|
765
839
|
# @param key_id [String] key_id is the ID of the existing API key to rotate
|
|
766
|
-
# @param admin_rotate_issued_api_key_body [
|
|
840
|
+
# @param admin_rotate_issued_api_key_body [AdminRotateIssuedApiKeyBody]
|
|
767
841
|
# @param [Hash] opts the optional parameters
|
|
768
|
-
# @return [
|
|
842
|
+
# @return [RotateIssuedApiKeyResponse]
|
|
769
843
|
def admin_rotate_issued_api_key(key_id, admin_rotate_issued_api_key_body, opts = {})
|
|
770
844
|
data, _status_code, _headers = admin_rotate_issued_api_key_with_http_info(key_id, admin_rotate_issued_api_key_body, opts)
|
|
771
845
|
data
|
|
772
846
|
end
|
|
773
847
|
|
|
774
848
|
# Rotate Issued API Key
|
|
775
|
-
# Generates a new secret for an issued API key. Creates a new API key with a new key_id and secret, and immediately revokes the old key. This is the recommended way to update scopes, metadata, or rotate credentials. For zero-downtime rotation, use this workflow instead: 1.
|
|
849
|
+
# Generates a new secret for an issued API key. Creates a new API key with a new key_id and secret, and immediately revokes the old key. This is the recommended way to update scopes, metadata, or rotate credentials. For zero-downtime rotation, use this workflow instead: 1. IssueApiKey with new credentials 2. Deploy new secret to all services 3. Verify new secret works everywhere 4. AdminRevokeIssuedApiKey to remove the old key ```http POST /v2alpha1/admin/issuedApiKeys/01HQZX9VYQKJB8XQZQXQZQXQXQ:rotate { \"scopes\": [\"read\"] } ```
|
|
776
850
|
# @param key_id [String] key_id is the ID of the existing API key to rotate
|
|
777
|
-
# @param admin_rotate_issued_api_key_body [
|
|
851
|
+
# @param admin_rotate_issued_api_key_body [AdminRotateIssuedApiKeyBody]
|
|
778
852
|
# @param [Hash] opts the optional parameters
|
|
779
|
-
# @return [Array<(
|
|
853
|
+
# @return [Array<(RotateIssuedApiKeyResponse, Integer, Hash)>] RotateIssuedApiKeyResponse data, response status code and response headers
|
|
780
854
|
def admin_rotate_issued_api_key_with_http_info(key_id, admin_rotate_issued_api_key_body, opts = {})
|
|
781
855
|
if @api_client.config.debugging
|
|
782
|
-
@api_client.config.logger.debug 'Calling API:
|
|
856
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.admin_rotate_issued_api_key ...'
|
|
783
857
|
end
|
|
784
858
|
# verify the required parameter 'key_id' is set
|
|
785
859
|
if @api_client.config.client_side_validation && key_id.nil?
|
|
786
|
-
fail ArgumentError, "Missing the required parameter 'key_id' when calling
|
|
860
|
+
fail ArgumentError, "Missing the required parameter 'key_id' when calling ApiKeysApi.admin_rotate_issued_api_key"
|
|
787
861
|
end
|
|
788
862
|
# verify the required parameter 'admin_rotate_issued_api_key_body' is set
|
|
789
863
|
if @api_client.config.client_side_validation && admin_rotate_issued_api_key_body.nil?
|
|
790
|
-
fail ArgumentError, "Missing the required parameter 'admin_rotate_issued_api_key_body' when calling
|
|
864
|
+
fail ArgumentError, "Missing the required parameter 'admin_rotate_issued_api_key_body' when calling ApiKeysApi.admin_rotate_issued_api_key"
|
|
791
865
|
end
|
|
792
866
|
# resource path
|
|
793
867
|
local_var_path = '/v2alpha1/admin/issuedApiKeys/{key_id}:rotate'.sub('{' + 'key_id' + '}', CGI.escape(key_id.to_s))
|
|
@@ -812,13 +886,13 @@ module OryClient
|
|
|
812
886
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(admin_rotate_issued_api_key_body)
|
|
813
887
|
|
|
814
888
|
# return_type
|
|
815
|
-
return_type = opts[:debug_return_type] || '
|
|
889
|
+
return_type = opts[:debug_return_type] || 'RotateIssuedApiKeyResponse'
|
|
816
890
|
|
|
817
891
|
# auth_names
|
|
818
892
|
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
|
819
893
|
|
|
820
894
|
new_options = opts.merge(
|
|
821
|
-
:operation => :"
|
|
895
|
+
:operation => :"ApiKeysApi.admin_rotate_issued_api_key",
|
|
822
896
|
:header_params => header_params,
|
|
823
897
|
:query_params => query_params,
|
|
824
898
|
:form_params => form_params,
|
|
@@ -829,7 +903,7 @@ module OryClient
|
|
|
829
903
|
|
|
830
904
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
831
905
|
if @api_client.config.debugging
|
|
832
|
-
@api_client.config.logger.debug "API called:
|
|
906
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#admin_rotate_issued_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
833
907
|
end
|
|
834
908
|
return data, status_code, headers
|
|
835
909
|
end
|
|
@@ -837,10 +911,10 @@ module OryClient
|
|
|
837
911
|
# Update Imported API Key
|
|
838
912
|
# Updates metadata, scopes, or rate limits of an imported key. Supports partial updates via the update_mask query parameter (AIP-134). Omitting update_mask is equivalent to a mask of every populated field in the body. To clear a field to its zero value, list it explicitly in update_mask and leave it unset (or empty) in the body. ```http PATCH /v2alpha1/admin/importedApiKeys/{key_id}?update_mask=name { \"imported_api_key\": { \"key_id\": \"{key_id}\", \"name\": \"New name\" } } ```
|
|
839
913
|
# @param key_id [String] SHA-512/256 hash of credential
|
|
840
|
-
# @param admin_update_imported_api_key_request [
|
|
914
|
+
# @param admin_update_imported_api_key_request [AdminUpdateImportedApiKeyRequest]
|
|
841
915
|
# @param [Hash] opts the optional parameters
|
|
842
916
|
# @option opts [String] :update_mask The list of fields to update. See AIP-134.
|
|
843
|
-
# @return [
|
|
917
|
+
# @return [ImportedApiKey]
|
|
844
918
|
def admin_update_imported_api_key(key_id, admin_update_imported_api_key_request, opts = {})
|
|
845
919
|
data, _status_code, _headers = admin_update_imported_api_key_with_http_info(key_id, admin_update_imported_api_key_request, opts)
|
|
846
920
|
data
|
|
@@ -849,21 +923,21 @@ module OryClient
|
|
|
849
923
|
# Update Imported API Key
|
|
850
924
|
# Updates metadata, scopes, or rate limits of an imported key. Supports partial updates via the update_mask query parameter (AIP-134). Omitting update_mask is equivalent to a mask of every populated field in the body. To clear a field to its zero value, list it explicitly in update_mask and leave it unset (or empty) in the body. ```http PATCH /v2alpha1/admin/importedApiKeys/{key_id}?update_mask=name { \"imported_api_key\": { \"key_id\": \"{key_id}\", \"name\": \"New name\" } } ```
|
|
851
925
|
# @param key_id [String] SHA-512/256 hash of credential
|
|
852
|
-
# @param admin_update_imported_api_key_request [
|
|
926
|
+
# @param admin_update_imported_api_key_request [AdminUpdateImportedApiKeyRequest]
|
|
853
927
|
# @param [Hash] opts the optional parameters
|
|
854
928
|
# @option opts [String] :update_mask The list of fields to update. See AIP-134.
|
|
855
|
-
# @return [Array<(
|
|
929
|
+
# @return [Array<(ImportedApiKey, Integer, Hash)>] ImportedApiKey data, response status code and response headers
|
|
856
930
|
def admin_update_imported_api_key_with_http_info(key_id, admin_update_imported_api_key_request, opts = {})
|
|
857
931
|
if @api_client.config.debugging
|
|
858
|
-
@api_client.config.logger.debug 'Calling API:
|
|
932
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.admin_update_imported_api_key ...'
|
|
859
933
|
end
|
|
860
934
|
# verify the required parameter 'key_id' is set
|
|
861
935
|
if @api_client.config.client_side_validation && key_id.nil?
|
|
862
|
-
fail ArgumentError, "Missing the required parameter 'key_id' when calling
|
|
936
|
+
fail ArgumentError, "Missing the required parameter 'key_id' when calling ApiKeysApi.admin_update_imported_api_key"
|
|
863
937
|
end
|
|
864
938
|
# verify the required parameter 'admin_update_imported_api_key_request' is set
|
|
865
939
|
if @api_client.config.client_side_validation && admin_update_imported_api_key_request.nil?
|
|
866
|
-
fail ArgumentError, "Missing the required parameter 'admin_update_imported_api_key_request' when calling
|
|
940
|
+
fail ArgumentError, "Missing the required parameter 'admin_update_imported_api_key_request' when calling ApiKeysApi.admin_update_imported_api_key"
|
|
867
941
|
end
|
|
868
942
|
# resource path
|
|
869
943
|
local_var_path = '/v2alpha1/admin/importedApiKeys/{key_id}'.sub('{' + 'key_id' + '}', CGI.escape(key_id.to_s))
|
|
@@ -889,13 +963,13 @@ module OryClient
|
|
|
889
963
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(admin_update_imported_api_key_request)
|
|
890
964
|
|
|
891
965
|
# return_type
|
|
892
|
-
return_type = opts[:debug_return_type] || '
|
|
966
|
+
return_type = opts[:debug_return_type] || 'ImportedApiKey'
|
|
893
967
|
|
|
894
968
|
# auth_names
|
|
895
969
|
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
|
896
970
|
|
|
897
971
|
new_options = opts.merge(
|
|
898
|
-
:operation => :"
|
|
972
|
+
:operation => :"ApiKeysApi.admin_update_imported_api_key",
|
|
899
973
|
:header_params => header_params,
|
|
900
974
|
:query_params => query_params,
|
|
901
975
|
:form_params => form_params,
|
|
@@ -906,41 +980,41 @@ module OryClient
|
|
|
906
980
|
|
|
907
981
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
908
982
|
if @api_client.config.debugging
|
|
909
|
-
@api_client.config.logger.debug "API called:
|
|
983
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#admin_update_imported_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
910
984
|
end
|
|
911
985
|
return data, status_code, headers
|
|
912
986
|
end
|
|
913
987
|
|
|
914
988
|
# Update Issued API Key
|
|
915
|
-
# Updates metadata, scopes, or rate limits of an issued key without rotating the secret. Use
|
|
989
|
+
# Updates metadata, scopes, or rate limits of an issued key without rotating the secret. Use RotateIssuedApiKey to change the secret. Follows AIP-134: the request body is the IssuedApiKey resource itself, and the update_mask query parameter names the subset of fields to apply. Omitting update_mask is equivalent to a mask of every populated field in the body. To clear a field to its zero value, list it explicitly in update_mask and leave it unset (or empty) in the body. ```http PATCH /v2alpha1/admin/issuedApiKeys/01HQZX9VYQKJB8XQZQXQZQXQXQ?update_mask=scopes { \"issued_api_key\": { \"key_id\": \"01HQZX9VYQKJB8XQZQXQZQXQXQ\", \"scopes\": [\"read\"] } } ```
|
|
916
990
|
# @param key_id [String] Identifier of the API key resource.
|
|
917
|
-
# @param admin_update_issued_api_key_request [
|
|
991
|
+
# @param admin_update_issued_api_key_request [AdminUpdateIssuedApiKeyRequest]
|
|
918
992
|
# @param [Hash] opts the optional parameters
|
|
919
993
|
# @option opts [String] :update_mask The list of fields to update. See AIP-134.
|
|
920
|
-
# @return [
|
|
994
|
+
# @return [IssuedApiKey]
|
|
921
995
|
def admin_update_issued_api_key(key_id, admin_update_issued_api_key_request, opts = {})
|
|
922
996
|
data, _status_code, _headers = admin_update_issued_api_key_with_http_info(key_id, admin_update_issued_api_key_request, opts)
|
|
923
997
|
data
|
|
924
998
|
end
|
|
925
999
|
|
|
926
1000
|
# Update Issued API Key
|
|
927
|
-
# Updates metadata, scopes, or rate limits of an issued key without rotating the secret. Use
|
|
1001
|
+
# Updates metadata, scopes, or rate limits of an issued key without rotating the secret. Use RotateIssuedApiKey to change the secret. Follows AIP-134: the request body is the IssuedApiKey resource itself, and the update_mask query parameter names the subset of fields to apply. Omitting update_mask is equivalent to a mask of every populated field in the body. To clear a field to its zero value, list it explicitly in update_mask and leave it unset (or empty) in the body. ```http PATCH /v2alpha1/admin/issuedApiKeys/01HQZX9VYQKJB8XQZQXQZQXQXQ?update_mask=scopes { \"issued_api_key\": { \"key_id\": \"01HQZX9VYQKJB8XQZQXQZQXQXQ\", \"scopes\": [\"read\"] } } ```
|
|
928
1002
|
# @param key_id [String] Identifier of the API key resource.
|
|
929
|
-
# @param admin_update_issued_api_key_request [
|
|
1003
|
+
# @param admin_update_issued_api_key_request [AdminUpdateIssuedApiKeyRequest]
|
|
930
1004
|
# @param [Hash] opts the optional parameters
|
|
931
1005
|
# @option opts [String] :update_mask The list of fields to update. See AIP-134.
|
|
932
|
-
# @return [Array<(
|
|
1006
|
+
# @return [Array<(IssuedApiKey, Integer, Hash)>] IssuedApiKey data, response status code and response headers
|
|
933
1007
|
def admin_update_issued_api_key_with_http_info(key_id, admin_update_issued_api_key_request, opts = {})
|
|
934
1008
|
if @api_client.config.debugging
|
|
935
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1009
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.admin_update_issued_api_key ...'
|
|
936
1010
|
end
|
|
937
1011
|
# verify the required parameter 'key_id' is set
|
|
938
1012
|
if @api_client.config.client_side_validation && key_id.nil?
|
|
939
|
-
fail ArgumentError, "Missing the required parameter 'key_id' when calling
|
|
1013
|
+
fail ArgumentError, "Missing the required parameter 'key_id' when calling ApiKeysApi.admin_update_issued_api_key"
|
|
940
1014
|
end
|
|
941
1015
|
# verify the required parameter 'admin_update_issued_api_key_request' is set
|
|
942
1016
|
if @api_client.config.client_side_validation && admin_update_issued_api_key_request.nil?
|
|
943
|
-
fail ArgumentError, "Missing the required parameter 'admin_update_issued_api_key_request' when calling
|
|
1017
|
+
fail ArgumentError, "Missing the required parameter 'admin_update_issued_api_key_request' when calling ApiKeysApi.admin_update_issued_api_key"
|
|
944
1018
|
end
|
|
945
1019
|
# resource path
|
|
946
1020
|
local_var_path = '/v2alpha1/admin/issuedApiKeys/{key_id}'.sub('{' + 'key_id' + '}', CGI.escape(key_id.to_s))
|
|
@@ -966,13 +1040,13 @@ module OryClient
|
|
|
966
1040
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(admin_update_issued_api_key_request)
|
|
967
1041
|
|
|
968
1042
|
# return_type
|
|
969
|
-
return_type = opts[:debug_return_type] || '
|
|
1043
|
+
return_type = opts[:debug_return_type] || 'IssuedApiKey'
|
|
970
1044
|
|
|
971
1045
|
# auth_names
|
|
972
1046
|
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
|
973
1047
|
|
|
974
1048
|
new_options = opts.merge(
|
|
975
|
-
:operation => :"
|
|
1049
|
+
:operation => :"ApiKeysApi.admin_update_issued_api_key",
|
|
976
1050
|
:header_params => header_params,
|
|
977
1051
|
:query_params => query_params,
|
|
978
1052
|
:form_params => form_params,
|
|
@@ -983,18 +1057,18 @@ module OryClient
|
|
|
983
1057
|
|
|
984
1058
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
985
1059
|
if @api_client.config.debugging
|
|
986
|
-
@api_client.config.logger.debug "API called:
|
|
1060
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#admin_update_issued_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
987
1061
|
end
|
|
988
1062
|
return data, status_code, headers
|
|
989
1063
|
end
|
|
990
1064
|
|
|
991
1065
|
# Verify API Key
|
|
992
1066
|
# Verifies a single API key or derived token. Validates the credential's signature, expiration, and revocation status. Works with any credential type (issued keys, imported keys, JWT, macaroon). The verification result includes decoded claims and metadata — admin access only. Cache Control (HTTP Headers): - Cache-Control: no-cache - Bypasses cache read, forces fresh DB lookup - Cache-Control: no-store - Bypasses cache read AND write (never cached) - Pragma: no-cache - Same as Cache-Control: no-cache (HTTP/1.0) ```http POST /v2alpha1/admin/apiKeys:verify { \"credential\": \"sk_live_abc123...\" } ```
|
|
993
|
-
# @param verify_api_key_request [
|
|
1067
|
+
# @param verify_api_key_request [VerifyApiKeyRequest]
|
|
994
1068
|
# @param [Hash] opts the optional parameters
|
|
995
1069
|
# @option opts [String] :cache_control Cache-directive controlling the verifier cache. `no-cache` forces a fresh database lookup (cache read is bypassed). `no-store` additionally prevents the result from being written to the cache. Any other value is ignored.
|
|
996
1070
|
# @option opts [String] :pragma HTTP/1.0 alias for `Cache-Control: no-cache`. Behaves identically when set to `no-cache`; ignored otherwise.
|
|
997
|
-
# @return [
|
|
1071
|
+
# @return [VerifyApiKeyResponse]
|
|
998
1072
|
def admin_verify_api_key(verify_api_key_request, opts = {})
|
|
999
1073
|
data, _status_code, _headers = admin_verify_api_key_with_http_info(verify_api_key_request, opts)
|
|
1000
1074
|
data
|
|
@@ -1002,18 +1076,18 @@ module OryClient
|
|
|
1002
1076
|
|
|
1003
1077
|
# Verify API Key
|
|
1004
1078
|
# Verifies a single API key or derived token. Validates the credential's signature, expiration, and revocation status. Works with any credential type (issued keys, imported keys, JWT, macaroon). The verification result includes decoded claims and metadata — admin access only. Cache Control (HTTP Headers): - Cache-Control: no-cache - Bypasses cache read, forces fresh DB lookup - Cache-Control: no-store - Bypasses cache read AND write (never cached) - Pragma: no-cache - Same as Cache-Control: no-cache (HTTP/1.0) ```http POST /v2alpha1/admin/apiKeys:verify { \"credential\": \"sk_live_abc123...\" } ```
|
|
1005
|
-
# @param verify_api_key_request [
|
|
1079
|
+
# @param verify_api_key_request [VerifyApiKeyRequest]
|
|
1006
1080
|
# @param [Hash] opts the optional parameters
|
|
1007
1081
|
# @option opts [String] :cache_control Cache-directive controlling the verifier cache. `no-cache` forces a fresh database lookup (cache read is bypassed). `no-store` additionally prevents the result from being written to the cache. Any other value is ignored.
|
|
1008
1082
|
# @option opts [String] :pragma HTTP/1.0 alias for `Cache-Control: no-cache`. Behaves identically when set to `no-cache`; ignored otherwise.
|
|
1009
|
-
# @return [Array<(
|
|
1083
|
+
# @return [Array<(VerifyApiKeyResponse, Integer, Hash)>] VerifyApiKeyResponse data, response status code and response headers
|
|
1010
1084
|
def admin_verify_api_key_with_http_info(verify_api_key_request, opts = {})
|
|
1011
1085
|
if @api_client.config.debugging
|
|
1012
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1086
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.admin_verify_api_key ...'
|
|
1013
1087
|
end
|
|
1014
1088
|
# verify the required parameter 'verify_api_key_request' is set
|
|
1015
1089
|
if @api_client.config.client_side_validation && verify_api_key_request.nil?
|
|
1016
|
-
fail ArgumentError, "Missing the required parameter 'verify_api_key_request' when calling
|
|
1090
|
+
fail ArgumentError, "Missing the required parameter 'verify_api_key_request' when calling ApiKeysApi.admin_verify_api_key"
|
|
1017
1091
|
end
|
|
1018
1092
|
# resource path
|
|
1019
1093
|
local_var_path = '/v2alpha1/admin/apiKeys:verify'
|
|
@@ -1040,13 +1114,13 @@ module OryClient
|
|
|
1040
1114
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(verify_api_key_request)
|
|
1041
1115
|
|
|
1042
1116
|
# return_type
|
|
1043
|
-
return_type = opts[:debug_return_type] || '
|
|
1117
|
+
return_type = opts[:debug_return_type] || 'VerifyApiKeyResponse'
|
|
1044
1118
|
|
|
1045
1119
|
# auth_names
|
|
1046
1120
|
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
|
1047
1121
|
|
|
1048
1122
|
new_options = opts.merge(
|
|
1049
|
-
:operation => :"
|
|
1123
|
+
:operation => :"ApiKeysApi.admin_verify_api_key",
|
|
1050
1124
|
:header_params => header_params,
|
|
1051
1125
|
:query_params => query_params,
|
|
1052
1126
|
:form_params => form_params,
|
|
@@ -1057,7 +1131,7 @@ module OryClient
|
|
|
1057
1131
|
|
|
1058
1132
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1059
1133
|
if @api_client.config.debugging
|
|
1060
|
-
@api_client.config.logger.debug "API called:
|
|
1134
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#admin_verify_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1061
1135
|
end
|
|
1062
1136
|
return data, status_code, headers
|
|
1063
1137
|
end
|
|
@@ -1077,7 +1151,7 @@ module OryClient
|
|
|
1077
1151
|
# @return [Array<(GetJWKSResponse, Integer, Hash)>] GetJWKSResponse data, response status code and response headers
|
|
1078
1152
|
def get_jwks_with_http_info(opts = {})
|
|
1079
1153
|
if @api_client.config.debugging
|
|
1080
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1154
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.get_jwks ...'
|
|
1081
1155
|
end
|
|
1082
1156
|
# resource path
|
|
1083
1157
|
local_var_path = '/v2alpha1/derivedKeys/jwks.json'
|
|
@@ -1103,7 +1177,7 @@ module OryClient
|
|
|
1103
1177
|
auth_names = opts[:debug_auth_names] || []
|
|
1104
1178
|
|
|
1105
1179
|
new_options = opts.merge(
|
|
1106
|
-
:operation => :"
|
|
1180
|
+
:operation => :"ApiKeysApi.get_jwks",
|
|
1107
1181
|
:header_params => header_params,
|
|
1108
1182
|
:query_params => query_params,
|
|
1109
1183
|
:form_params => form_params,
|
|
@@ -1114,14 +1188,14 @@ module OryClient
|
|
|
1114
1188
|
|
|
1115
1189
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1116
1190
|
if @api_client.config.debugging
|
|
1117
|
-
@api_client.config.logger.debug "API called:
|
|
1191
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#get_jwks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1118
1192
|
end
|
|
1119
1193
|
return data, status_code, headers
|
|
1120
1194
|
end
|
|
1121
1195
|
|
|
1122
1196
|
# Revoke API Key (self-service)
|
|
1123
|
-
# Proof-of-possession variant of revocation.
|
|
1124
|
-
# @param self_revoke_api_key_request [
|
|
1197
|
+
# Proof-of-possession variant of revocation. The `Self*` prefix on the request/response messages disambiguates from the admin variants (`AdminRevokeIssuedApiKey` / `AdminRevokeImportedApiKey`). Allows an API key holder to revoke their own key. The caller must provide the full API key secret as proof of possession. Supports issued API keys and imported keys. JWT and macaroon tokens cannot be self-revoked (they are stateless). The PRIVILEGE_WITHDRAWN reason is not allowed for self-revocation (admin-only). ```http POST /v2alpha1/apiKeys:selfRevoke { \"credential\": \"sk_live_abc123...\", \"reason\": \"REVOCATION_REASON_KEY_COMPROMISE\" } ```
|
|
1198
|
+
# @param self_revoke_api_key_request [SelfRevokeApiKeyRequest] SelfRevokeApiKeyRequest allows an API key holder to revoke their own key by providing the full key secret as proof of possession.
|
|
1125
1199
|
# @param [Hash] opts the optional parameters
|
|
1126
1200
|
# @return [Object]
|
|
1127
1201
|
def revoke_api_key(self_revoke_api_key_request, opts = {})
|
|
@@ -1130,17 +1204,17 @@ module OryClient
|
|
|
1130
1204
|
end
|
|
1131
1205
|
|
|
1132
1206
|
# Revoke API Key (self-service)
|
|
1133
|
-
# Proof-of-possession variant of revocation.
|
|
1134
|
-
# @param self_revoke_api_key_request [
|
|
1207
|
+
# Proof-of-possession variant of revocation. The `Self*` prefix on the request/response messages disambiguates from the admin variants (`AdminRevokeIssuedApiKey` / `AdminRevokeImportedApiKey`). Allows an API key holder to revoke their own key. The caller must provide the full API key secret as proof of possession. Supports issued API keys and imported keys. JWT and macaroon tokens cannot be self-revoked (they are stateless). The PRIVILEGE_WITHDRAWN reason is not allowed for self-revocation (admin-only). ```http POST /v2alpha1/apiKeys:selfRevoke { \"credential\": \"sk_live_abc123...\", \"reason\": \"REVOCATION_REASON_KEY_COMPROMISE\" } ```
|
|
1208
|
+
# @param self_revoke_api_key_request [SelfRevokeApiKeyRequest] SelfRevokeApiKeyRequest allows an API key holder to revoke their own key by providing the full key secret as proof of possession.
|
|
1135
1209
|
# @param [Hash] opts the optional parameters
|
|
1136
1210
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
1137
1211
|
def revoke_api_key_with_http_info(self_revoke_api_key_request, opts = {})
|
|
1138
1212
|
if @api_client.config.debugging
|
|
1139
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1213
|
+
@api_client.config.logger.debug 'Calling API: ApiKeysApi.revoke_api_key ...'
|
|
1140
1214
|
end
|
|
1141
1215
|
# verify the required parameter 'self_revoke_api_key_request' is set
|
|
1142
1216
|
if @api_client.config.client_side_validation && self_revoke_api_key_request.nil?
|
|
1143
|
-
fail ArgumentError, "Missing the required parameter 'self_revoke_api_key_request' when calling
|
|
1217
|
+
fail ArgumentError, "Missing the required parameter 'self_revoke_api_key_request' when calling ApiKeysApi.revoke_api_key"
|
|
1144
1218
|
end
|
|
1145
1219
|
# resource path
|
|
1146
1220
|
local_var_path = '/v2alpha1/apiKeys:selfRevoke'
|
|
@@ -1171,7 +1245,7 @@ module OryClient
|
|
|
1171
1245
|
auth_names = opts[:debug_auth_names] || []
|
|
1172
1246
|
|
|
1173
1247
|
new_options = opts.merge(
|
|
1174
|
-
:operation => :"
|
|
1248
|
+
:operation => :"ApiKeysApi.revoke_api_key",
|
|
1175
1249
|
:header_params => header_params,
|
|
1176
1250
|
:query_params => query_params,
|
|
1177
1251
|
:form_params => form_params,
|
|
@@ -1182,7 +1256,7 @@ module OryClient
|
|
|
1182
1256
|
|
|
1183
1257
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1184
1258
|
if @api_client.config.debugging
|
|
1185
|
-
@api_client.config.logger.debug "API called:
|
|
1259
|
+
@api_client.config.logger.debug "API called: ApiKeysApi#revoke_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1186
1260
|
end
|
|
1187
1261
|
return data, status_code, headers
|
|
1188
1262
|
end
|