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
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
# OryClient::
|
|
1
|
+
# OryClient::ApiKeysApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *https://playground.projects.oryapis.com*
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
7
|
-
| [**
|
|
8
|
-
| [**admin_batch_verify_api_keys**](
|
|
9
|
-
| [**admin_delete_imported_api_key**](
|
|
10
|
-
| [**admin_derive_token**](
|
|
11
|
-
| [**admin_get_imported_api_key**](
|
|
12
|
-
| [**admin_get_issued_api_key**](
|
|
13
|
-
| [**admin_import_api_key**](
|
|
14
|
-
| [**admin_issue_api_key**](
|
|
15
|
-
| [**admin_list_imported_api_keys**](
|
|
16
|
-
| [**admin_list_issued_api_keys**](
|
|
17
|
-
| [**
|
|
18
|
-
| [**
|
|
19
|
-
| [**
|
|
20
|
-
| [**
|
|
21
|
-
| [**
|
|
22
|
-
| [**
|
|
23
|
-
| [**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
7
|
+
| [**admin_batch_create_imported_api_keys**](ApiKeysApi.md#admin_batch_create_imported_api_keys) | **POST** /v2alpha1/admin/importedApiKeys:batchCreate | Batch Import API Keys |
|
|
8
|
+
| [**admin_batch_verify_api_keys**](ApiKeysApi.md#admin_batch_verify_api_keys) | **POST** /v2alpha1/admin/apiKeys:batchVerify | Batch Verify API Keys |
|
|
9
|
+
| [**admin_delete_imported_api_key**](ApiKeysApi.md#admin_delete_imported_api_key) | **DELETE** /v2alpha1/admin/importedApiKeys/{key_id} | Delete Imported API Key |
|
|
10
|
+
| [**admin_derive_token**](ApiKeysApi.md#admin_derive_token) | **POST** /v2alpha1/admin/apiKeys:derive | Derive Token |
|
|
11
|
+
| [**admin_get_imported_api_key**](ApiKeysApi.md#admin_get_imported_api_key) | **GET** /v2alpha1/admin/importedApiKeys/{key_id} | Get Imported API Key |
|
|
12
|
+
| [**admin_get_issued_api_key**](ApiKeysApi.md#admin_get_issued_api_key) | **GET** /v2alpha1/admin/issuedApiKeys/{key_id} | Get Issued API Key |
|
|
13
|
+
| [**admin_import_api_key**](ApiKeysApi.md#admin_import_api_key) | **POST** /v2alpha1/admin/importedApiKeys | Import API Key |
|
|
14
|
+
| [**admin_issue_api_key**](ApiKeysApi.md#admin_issue_api_key) | **POST** /v2alpha1/admin/issuedApiKeys | Issue API Key |
|
|
15
|
+
| [**admin_list_imported_api_keys**](ApiKeysApi.md#admin_list_imported_api_keys) | **GET** /v2alpha1/admin/importedApiKeys | List Imported API Keys |
|
|
16
|
+
| [**admin_list_issued_api_keys**](ApiKeysApi.md#admin_list_issued_api_keys) | **GET** /v2alpha1/admin/issuedApiKeys | List Issued API Keys |
|
|
17
|
+
| [**admin_revoke_imported_api_key**](ApiKeysApi.md#admin_revoke_imported_api_key) | **POST** /v2alpha1/admin/importedApiKeys/{key_id}:revoke | Revoke Imported API Key |
|
|
18
|
+
| [**admin_revoke_issued_api_key**](ApiKeysApi.md#admin_revoke_issued_api_key) | **POST** /v2alpha1/admin/issuedApiKeys/{key_id}:revoke | Revoke Issued API Key |
|
|
19
|
+
| [**admin_rotate_issued_api_key**](ApiKeysApi.md#admin_rotate_issued_api_key) | **POST** /v2alpha1/admin/issuedApiKeys/{key_id}:rotate | Rotate Issued API Key |
|
|
20
|
+
| [**admin_update_imported_api_key**](ApiKeysApi.md#admin_update_imported_api_key) | **PATCH** /v2alpha1/admin/importedApiKeys/{key_id} | Update Imported API Key |
|
|
21
|
+
| [**admin_update_issued_api_key**](ApiKeysApi.md#admin_update_issued_api_key) | **PATCH** /v2alpha1/admin/issuedApiKeys/{key_id} | Update Issued API Key |
|
|
22
|
+
| [**admin_verify_api_key**](ApiKeysApi.md#admin_verify_api_key) | **POST** /v2alpha1/admin/apiKeys:verify | Verify API Key |
|
|
23
|
+
| [**get_jwks**](ApiKeysApi.md#get_jwks) | **GET** /v2alpha1/derivedKeys/jwks.json | Get JWKS |
|
|
24
|
+
| [**revoke_api_key**](ApiKeysApi.md#revoke_api_key) | **POST** /v2alpha1/apiKeys:selfRevoke | Revoke API Key (self-service) |
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## admin_batch_create_imported_api_keys
|
|
28
|
+
|
|
29
|
+
> <BatchCreateImportedApiKeysResponse> admin_batch_create_imported_api_keys(batch_create_imported_api_keys_request)
|
|
29
30
|
|
|
30
31
|
Batch Import API Keys
|
|
31
32
|
|
|
32
|
-
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:
|
|
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\"} ] } ```
|
|
33
34
|
|
|
34
35
|
### Examples
|
|
35
36
|
|
|
@@ -42,33 +43,33 @@ OryClient.configure do |config|
|
|
|
42
43
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
43
44
|
end
|
|
44
45
|
|
|
45
|
-
api_instance = OryClient::
|
|
46
|
-
|
|
46
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
47
|
+
batch_create_imported_api_keys_request = OryClient::BatchCreateImportedApiKeysRequest.new # BatchCreateImportedApiKeysRequest | BatchCreateImportedApiKeysRequest imports multiple external API keys in one request. The maximum batch size is 1000 keys.
|
|
47
48
|
|
|
48
49
|
begin
|
|
49
50
|
# Batch Import API Keys
|
|
50
|
-
result = api_instance.
|
|
51
|
+
result = api_instance.admin_batch_create_imported_api_keys(batch_create_imported_api_keys_request)
|
|
51
52
|
p result
|
|
52
53
|
rescue OryClient::ApiError => e
|
|
53
|
-
puts "Error when calling
|
|
54
|
+
puts "Error when calling ApiKeysApi->admin_batch_create_imported_api_keys: #{e}"
|
|
54
55
|
end
|
|
55
56
|
```
|
|
56
57
|
|
|
57
|
-
#### Using the
|
|
58
|
+
#### Using the admin_batch_create_imported_api_keys_with_http_info variant
|
|
58
59
|
|
|
59
60
|
This returns an Array which contains the response data, status code and headers.
|
|
60
61
|
|
|
61
|
-
> <Array(<
|
|
62
|
+
> <Array(<BatchCreateImportedApiKeysResponse>, Integer, Hash)> admin_batch_create_imported_api_keys_with_http_info(batch_create_imported_api_keys_request)
|
|
62
63
|
|
|
63
64
|
```ruby
|
|
64
65
|
begin
|
|
65
66
|
# Batch Import API Keys
|
|
66
|
-
data, status_code, headers = api_instance.
|
|
67
|
+
data, status_code, headers = api_instance.admin_batch_create_imported_api_keys_with_http_info(batch_create_imported_api_keys_request)
|
|
67
68
|
p status_code # => 2xx
|
|
68
69
|
p headers # => { ... }
|
|
69
|
-
p data # => <
|
|
70
|
+
p data # => <BatchCreateImportedApiKeysResponse>
|
|
70
71
|
rescue OryClient::ApiError => e
|
|
71
|
-
puts "Error when calling
|
|
72
|
+
puts "Error when calling ApiKeysApi->admin_batch_create_imported_api_keys_with_http_info: #{e}"
|
|
72
73
|
end
|
|
73
74
|
```
|
|
74
75
|
|
|
@@ -76,11 +77,11 @@ end
|
|
|
76
77
|
|
|
77
78
|
| Name | Type | Description | Notes |
|
|
78
79
|
| ---- | ---- | ----------- | ----- |
|
|
79
|
-
| **
|
|
80
|
+
| **batch_create_imported_api_keys_request** | [**BatchCreateImportedApiKeysRequest**](BatchCreateImportedApiKeysRequest.md) | BatchCreateImportedApiKeysRequest imports multiple external API keys in one request. The maximum batch size is 1000 keys. | |
|
|
80
81
|
|
|
81
82
|
### Return type
|
|
82
83
|
|
|
83
|
-
[**
|
|
84
|
+
[**BatchCreateImportedApiKeysResponse**](BatchCreateImportedApiKeysResponse.md)
|
|
84
85
|
|
|
85
86
|
### Authorization
|
|
86
87
|
|
|
@@ -94,7 +95,7 @@ end
|
|
|
94
95
|
|
|
95
96
|
## admin_batch_verify_api_keys
|
|
96
97
|
|
|
97
|
-
> <
|
|
98
|
+
> <BatchVerifyApiKeysResponse> admin_batch_verify_api_keys(batch_verify_api_keys_request, opts)
|
|
98
99
|
|
|
99
100
|
Batch Verify API Keys
|
|
100
101
|
|
|
@@ -111,8 +112,8 @@ OryClient.configure do |config|
|
|
|
111
112
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
112
113
|
end
|
|
113
114
|
|
|
114
|
-
api_instance = OryClient::
|
|
115
|
-
batch_verify_api_keys_request = OryClient::
|
|
115
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
116
|
+
batch_verify_api_keys_request = OryClient::BatchVerifyApiKeysRequest.new # BatchVerifyApiKeysRequest |
|
|
116
117
|
opts = {
|
|
117
118
|
cache_control: 'cache_control_example', # String | 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.
|
|
118
119
|
pragma: 'pragma_example' # String | HTTP/1.0 alias for `Cache-Control: no-cache`. Behaves identically when set to `no-cache`; ignored otherwise.
|
|
@@ -123,7 +124,7 @@ begin
|
|
|
123
124
|
result = api_instance.admin_batch_verify_api_keys(batch_verify_api_keys_request, opts)
|
|
124
125
|
p result
|
|
125
126
|
rescue OryClient::ApiError => e
|
|
126
|
-
puts "Error when calling
|
|
127
|
+
puts "Error when calling ApiKeysApi->admin_batch_verify_api_keys: #{e}"
|
|
127
128
|
end
|
|
128
129
|
```
|
|
129
130
|
|
|
@@ -131,7 +132,7 @@ end
|
|
|
131
132
|
|
|
132
133
|
This returns an Array which contains the response data, status code and headers.
|
|
133
134
|
|
|
134
|
-
> <Array(<
|
|
135
|
+
> <Array(<BatchVerifyApiKeysResponse>, Integer, Hash)> admin_batch_verify_api_keys_with_http_info(batch_verify_api_keys_request, opts)
|
|
135
136
|
|
|
136
137
|
```ruby
|
|
137
138
|
begin
|
|
@@ -139,9 +140,9 @@ begin
|
|
|
139
140
|
data, status_code, headers = api_instance.admin_batch_verify_api_keys_with_http_info(batch_verify_api_keys_request, opts)
|
|
140
141
|
p status_code # => 2xx
|
|
141
142
|
p headers # => { ... }
|
|
142
|
-
p data # => <
|
|
143
|
+
p data # => <BatchVerifyApiKeysResponse>
|
|
143
144
|
rescue OryClient::ApiError => e
|
|
144
|
-
puts "Error when calling
|
|
145
|
+
puts "Error when calling ApiKeysApi->admin_batch_verify_api_keys_with_http_info: #{e}"
|
|
145
146
|
end
|
|
146
147
|
```
|
|
147
148
|
|
|
@@ -149,13 +150,13 @@ end
|
|
|
149
150
|
|
|
150
151
|
| Name | Type | Description | Notes |
|
|
151
152
|
| ---- | ---- | ----------- | ----- |
|
|
152
|
-
| **batch_verify_api_keys_request** | [**
|
|
153
|
+
| **batch_verify_api_keys_request** | [**BatchVerifyApiKeysRequest**](BatchVerifyApiKeysRequest.md) | | |
|
|
153
154
|
| **cache_control** | **String** | 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. | [optional] |
|
|
154
155
|
| **pragma** | **String** | HTTP/1.0 alias for `Cache-Control: no-cache`. Behaves identically when set to `no-cache`; ignored otherwise. | [optional] |
|
|
155
156
|
|
|
156
157
|
### Return type
|
|
157
158
|
|
|
158
|
-
[**
|
|
159
|
+
[**BatchVerifyApiKeysResponse**](BatchVerifyApiKeysResponse.md)
|
|
159
160
|
|
|
160
161
|
### Authorization
|
|
161
162
|
|
|
@@ -173,7 +174,7 @@ end
|
|
|
173
174
|
|
|
174
175
|
Delete Imported API Key
|
|
175
176
|
|
|
176
|
-
Permanently deletes an imported key (hard delete). The key is removed from the database. Use
|
|
177
|
+
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} ```
|
|
177
178
|
|
|
178
179
|
### Examples
|
|
179
180
|
|
|
@@ -186,7 +187,7 @@ OryClient.configure do |config|
|
|
|
186
187
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
187
188
|
end
|
|
188
189
|
|
|
189
|
-
api_instance = OryClient::
|
|
190
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
190
191
|
key_id = 'key_id_example' # String | SHA512/256 hash of the imported key (REQUIRED)
|
|
191
192
|
|
|
192
193
|
begin
|
|
@@ -194,7 +195,7 @@ begin
|
|
|
194
195
|
result = api_instance.admin_delete_imported_api_key(key_id)
|
|
195
196
|
p result
|
|
196
197
|
rescue OryClient::ApiError => e
|
|
197
|
-
puts "Error when calling
|
|
198
|
+
puts "Error when calling ApiKeysApi->admin_delete_imported_api_key: #{e}"
|
|
198
199
|
end
|
|
199
200
|
```
|
|
200
201
|
|
|
@@ -212,7 +213,7 @@ begin
|
|
|
212
213
|
p headers # => { ... }
|
|
213
214
|
p data # => Object
|
|
214
215
|
rescue OryClient::ApiError => e
|
|
215
|
-
puts "Error when calling
|
|
216
|
+
puts "Error when calling ApiKeysApi->admin_delete_imported_api_key_with_http_info: #{e}"
|
|
216
217
|
end
|
|
217
218
|
```
|
|
218
219
|
|
|
@@ -255,7 +256,7 @@ OryClient.configure do |config|
|
|
|
255
256
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
256
257
|
end
|
|
257
258
|
|
|
258
|
-
api_instance = OryClient::
|
|
259
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
259
260
|
derive_token_request = OryClient::DeriveTokenRequest.new # DeriveTokenRequest |
|
|
260
261
|
|
|
261
262
|
begin
|
|
@@ -263,7 +264,7 @@ begin
|
|
|
263
264
|
result = api_instance.admin_derive_token(derive_token_request)
|
|
264
265
|
p result
|
|
265
266
|
rescue OryClient::ApiError => e
|
|
266
|
-
puts "Error when calling
|
|
267
|
+
puts "Error when calling ApiKeysApi->admin_derive_token: #{e}"
|
|
267
268
|
end
|
|
268
269
|
```
|
|
269
270
|
|
|
@@ -281,7 +282,7 @@ begin
|
|
|
281
282
|
p headers # => { ... }
|
|
282
283
|
p data # => <DeriveTokenResponse>
|
|
283
284
|
rescue OryClient::ApiError => e
|
|
284
|
-
puts "Error when calling
|
|
285
|
+
puts "Error when calling ApiKeysApi->admin_derive_token_with_http_info: #{e}"
|
|
285
286
|
end
|
|
286
287
|
```
|
|
287
288
|
|
|
@@ -307,7 +308,7 @@ end
|
|
|
307
308
|
|
|
308
309
|
## admin_get_imported_api_key
|
|
309
310
|
|
|
310
|
-
> <
|
|
311
|
+
> <ImportedApiKey> admin_get_imported_api_key(key_id)
|
|
311
312
|
|
|
312
313
|
Get Imported API Key
|
|
313
314
|
|
|
@@ -324,7 +325,7 @@ OryClient.configure do |config|
|
|
|
324
325
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
325
326
|
end
|
|
326
327
|
|
|
327
|
-
api_instance = OryClient::
|
|
328
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
328
329
|
key_id = 'key_id_example' # String | SHA512/256 hash of the imported key (REQUIRED)
|
|
329
330
|
|
|
330
331
|
begin
|
|
@@ -332,7 +333,7 @@ begin
|
|
|
332
333
|
result = api_instance.admin_get_imported_api_key(key_id)
|
|
333
334
|
p result
|
|
334
335
|
rescue OryClient::ApiError => e
|
|
335
|
-
puts "Error when calling
|
|
336
|
+
puts "Error when calling ApiKeysApi->admin_get_imported_api_key: #{e}"
|
|
336
337
|
end
|
|
337
338
|
```
|
|
338
339
|
|
|
@@ -340,7 +341,7 @@ end
|
|
|
340
341
|
|
|
341
342
|
This returns an Array which contains the response data, status code and headers.
|
|
342
343
|
|
|
343
|
-
> <Array(<
|
|
344
|
+
> <Array(<ImportedApiKey>, Integer, Hash)> admin_get_imported_api_key_with_http_info(key_id)
|
|
344
345
|
|
|
345
346
|
```ruby
|
|
346
347
|
begin
|
|
@@ -348,9 +349,9 @@ begin
|
|
|
348
349
|
data, status_code, headers = api_instance.admin_get_imported_api_key_with_http_info(key_id)
|
|
349
350
|
p status_code # => 2xx
|
|
350
351
|
p headers # => { ... }
|
|
351
|
-
p data # => <
|
|
352
|
+
p data # => <ImportedApiKey>
|
|
352
353
|
rescue OryClient::ApiError => e
|
|
353
|
-
puts "Error when calling
|
|
354
|
+
puts "Error when calling ApiKeysApi->admin_get_imported_api_key_with_http_info: #{e}"
|
|
354
355
|
end
|
|
355
356
|
```
|
|
356
357
|
|
|
@@ -362,7 +363,7 @@ end
|
|
|
362
363
|
|
|
363
364
|
### Return type
|
|
364
365
|
|
|
365
|
-
[**
|
|
366
|
+
[**ImportedApiKey**](ImportedApiKey.md)
|
|
366
367
|
|
|
367
368
|
### Authorization
|
|
368
369
|
|
|
@@ -376,7 +377,7 @@ end
|
|
|
376
377
|
|
|
377
378
|
## admin_get_issued_api_key
|
|
378
379
|
|
|
379
|
-
> <
|
|
380
|
+
> <IssuedApiKey> admin_get_issued_api_key(key_id)
|
|
380
381
|
|
|
381
382
|
Get Issued API Key
|
|
382
383
|
|
|
@@ -393,7 +394,7 @@ OryClient.configure do |config|
|
|
|
393
394
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
394
395
|
end
|
|
395
396
|
|
|
396
|
-
api_instance = OryClient::
|
|
397
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
397
398
|
key_id = 'key_id_example' # String | Identifier of the API key resource.
|
|
398
399
|
|
|
399
400
|
begin
|
|
@@ -401,7 +402,7 @@ begin
|
|
|
401
402
|
result = api_instance.admin_get_issued_api_key(key_id)
|
|
402
403
|
p result
|
|
403
404
|
rescue OryClient::ApiError => e
|
|
404
|
-
puts "Error when calling
|
|
405
|
+
puts "Error when calling ApiKeysApi->admin_get_issued_api_key: #{e}"
|
|
405
406
|
end
|
|
406
407
|
```
|
|
407
408
|
|
|
@@ -409,7 +410,7 @@ end
|
|
|
409
410
|
|
|
410
411
|
This returns an Array which contains the response data, status code and headers.
|
|
411
412
|
|
|
412
|
-
> <Array(<
|
|
413
|
+
> <Array(<IssuedApiKey>, Integer, Hash)> admin_get_issued_api_key_with_http_info(key_id)
|
|
413
414
|
|
|
414
415
|
```ruby
|
|
415
416
|
begin
|
|
@@ -417,9 +418,9 @@ begin
|
|
|
417
418
|
data, status_code, headers = api_instance.admin_get_issued_api_key_with_http_info(key_id)
|
|
418
419
|
p status_code # => 2xx
|
|
419
420
|
p headers # => { ... }
|
|
420
|
-
p data # => <
|
|
421
|
+
p data # => <IssuedApiKey>
|
|
421
422
|
rescue OryClient::ApiError => e
|
|
422
|
-
puts "Error when calling
|
|
423
|
+
puts "Error when calling ApiKeysApi->admin_get_issued_api_key_with_http_info: #{e}"
|
|
423
424
|
end
|
|
424
425
|
```
|
|
425
426
|
|
|
@@ -431,7 +432,7 @@ end
|
|
|
431
432
|
|
|
432
433
|
### Return type
|
|
433
434
|
|
|
434
|
-
[**
|
|
435
|
+
[**IssuedApiKey**](IssuedApiKey.md)
|
|
435
436
|
|
|
436
437
|
### Authorization
|
|
437
438
|
|
|
@@ -445,7 +446,7 @@ end
|
|
|
445
446
|
|
|
446
447
|
## admin_import_api_key
|
|
447
448
|
|
|
448
|
-
> <
|
|
449
|
+
> <ImportedApiKey> admin_import_api_key(import_api_key_request)
|
|
449
450
|
|
|
450
451
|
Import API Key
|
|
451
452
|
|
|
@@ -462,15 +463,15 @@ OryClient.configure do |config|
|
|
|
462
463
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
463
464
|
end
|
|
464
465
|
|
|
465
|
-
api_instance = OryClient::
|
|
466
|
-
import_api_key_request = OryClient::
|
|
466
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
467
|
+
import_api_key_request = OryClient::ImportApiKeyRequest.new # 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\"} }
|
|
467
468
|
|
|
468
469
|
begin
|
|
469
470
|
# Import API Key
|
|
470
471
|
result = api_instance.admin_import_api_key(import_api_key_request)
|
|
471
472
|
p result
|
|
472
473
|
rescue OryClient::ApiError => e
|
|
473
|
-
puts "Error when calling
|
|
474
|
+
puts "Error when calling ApiKeysApi->admin_import_api_key: #{e}"
|
|
474
475
|
end
|
|
475
476
|
```
|
|
476
477
|
|
|
@@ -478,7 +479,7 @@ end
|
|
|
478
479
|
|
|
479
480
|
This returns an Array which contains the response data, status code and headers.
|
|
480
481
|
|
|
481
|
-
> <Array(<
|
|
482
|
+
> <Array(<ImportedApiKey>, Integer, Hash)> admin_import_api_key_with_http_info(import_api_key_request)
|
|
482
483
|
|
|
483
484
|
```ruby
|
|
484
485
|
begin
|
|
@@ -486,9 +487,9 @@ begin
|
|
|
486
487
|
data, status_code, headers = api_instance.admin_import_api_key_with_http_info(import_api_key_request)
|
|
487
488
|
p status_code # => 2xx
|
|
488
489
|
p headers # => { ... }
|
|
489
|
-
p data # => <
|
|
490
|
+
p data # => <ImportedApiKey>
|
|
490
491
|
rescue OryClient::ApiError => e
|
|
491
|
-
puts "Error when calling
|
|
492
|
+
puts "Error when calling ApiKeysApi->admin_import_api_key_with_http_info: #{e}"
|
|
492
493
|
end
|
|
493
494
|
```
|
|
494
495
|
|
|
@@ -496,11 +497,11 @@ end
|
|
|
496
497
|
|
|
497
498
|
| Name | Type | Description | Notes |
|
|
498
499
|
| ---- | ---- | ----------- | ----- |
|
|
499
|
-
| **import_api_key_request** | [**
|
|
500
|
+
| **import_api_key_request** | [**ImportApiKeyRequest**](ImportApiKeyRequest.md) | 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\"} } | |
|
|
500
501
|
|
|
501
502
|
### Return type
|
|
502
503
|
|
|
503
|
-
[**
|
|
504
|
+
[**ImportedApiKey**](ImportedApiKey.md)
|
|
504
505
|
|
|
505
506
|
### Authorization
|
|
506
507
|
|
|
@@ -514,7 +515,7 @@ end
|
|
|
514
515
|
|
|
515
516
|
## admin_issue_api_key
|
|
516
517
|
|
|
517
|
-
> <
|
|
518
|
+
> <IssueApiKeyResponse> admin_issue_api_key(issue_api_key_request)
|
|
518
519
|
|
|
519
520
|
Issue API Key
|
|
520
521
|
|
|
@@ -531,15 +532,15 @@ OryClient.configure do |config|
|
|
|
531
532
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
532
533
|
end
|
|
533
534
|
|
|
534
|
-
api_instance = OryClient::
|
|
535
|
-
issue_api_key_request = OryClient::
|
|
535
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
536
|
+
issue_api_key_request = OryClient::IssueApiKeyRequest.new # IssueApiKeyRequest |
|
|
536
537
|
|
|
537
538
|
begin
|
|
538
539
|
# Issue API Key
|
|
539
540
|
result = api_instance.admin_issue_api_key(issue_api_key_request)
|
|
540
541
|
p result
|
|
541
542
|
rescue OryClient::ApiError => e
|
|
542
|
-
puts "Error when calling
|
|
543
|
+
puts "Error when calling ApiKeysApi->admin_issue_api_key: #{e}"
|
|
543
544
|
end
|
|
544
545
|
```
|
|
545
546
|
|
|
@@ -547,7 +548,7 @@ end
|
|
|
547
548
|
|
|
548
549
|
This returns an Array which contains the response data, status code and headers.
|
|
549
550
|
|
|
550
|
-
> <Array(<
|
|
551
|
+
> <Array(<IssueApiKeyResponse>, Integer, Hash)> admin_issue_api_key_with_http_info(issue_api_key_request)
|
|
551
552
|
|
|
552
553
|
```ruby
|
|
553
554
|
begin
|
|
@@ -555,9 +556,9 @@ begin
|
|
|
555
556
|
data, status_code, headers = api_instance.admin_issue_api_key_with_http_info(issue_api_key_request)
|
|
556
557
|
p status_code # => 2xx
|
|
557
558
|
p headers # => { ... }
|
|
558
|
-
p data # => <
|
|
559
|
+
p data # => <IssueApiKeyResponse>
|
|
559
560
|
rescue OryClient::ApiError => e
|
|
560
|
-
puts "Error when calling
|
|
561
|
+
puts "Error when calling ApiKeysApi->admin_issue_api_key_with_http_info: #{e}"
|
|
561
562
|
end
|
|
562
563
|
```
|
|
563
564
|
|
|
@@ -565,11 +566,11 @@ end
|
|
|
565
566
|
|
|
566
567
|
| Name | Type | Description | Notes |
|
|
567
568
|
| ---- | ---- | ----------- | ----- |
|
|
568
|
-
| **issue_api_key_request** | [**
|
|
569
|
+
| **issue_api_key_request** | [**IssueApiKeyRequest**](IssueApiKeyRequest.md) | | |
|
|
569
570
|
|
|
570
571
|
### Return type
|
|
571
572
|
|
|
572
|
-
[**
|
|
573
|
+
[**IssueApiKeyResponse**](IssueApiKeyResponse.md)
|
|
573
574
|
|
|
574
575
|
### Authorization
|
|
575
576
|
|
|
@@ -583,7 +584,7 @@ end
|
|
|
583
584
|
|
|
584
585
|
## admin_list_imported_api_keys
|
|
585
586
|
|
|
586
|
-
> <
|
|
587
|
+
> <ListImportedApiKeysResponse> admin_list_imported_api_keys(opts)
|
|
587
588
|
|
|
588
589
|
List Imported API Keys
|
|
589
590
|
|
|
@@ -600,7 +601,7 @@ OryClient.configure do |config|
|
|
|
600
601
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
601
602
|
end
|
|
602
603
|
|
|
603
|
-
api_instance = OryClient::
|
|
604
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
604
605
|
opts = {
|
|
605
606
|
page_size: 56, # Integer | Number of items per page (default: 50, max: 1000)
|
|
606
607
|
page_token: 'page_token_example', # String | Cursor token for pagination (OPTIONAL)
|
|
@@ -612,7 +613,7 @@ begin
|
|
|
612
613
|
result = api_instance.admin_list_imported_api_keys(opts)
|
|
613
614
|
p result
|
|
614
615
|
rescue OryClient::ApiError => e
|
|
615
|
-
puts "Error when calling
|
|
616
|
+
puts "Error when calling ApiKeysApi->admin_list_imported_api_keys: #{e}"
|
|
616
617
|
end
|
|
617
618
|
```
|
|
618
619
|
|
|
@@ -620,7 +621,7 @@ end
|
|
|
620
621
|
|
|
621
622
|
This returns an Array which contains the response data, status code and headers.
|
|
622
623
|
|
|
623
|
-
> <Array(<
|
|
624
|
+
> <Array(<ListImportedApiKeysResponse>, Integer, Hash)> admin_list_imported_api_keys_with_http_info(opts)
|
|
624
625
|
|
|
625
626
|
```ruby
|
|
626
627
|
begin
|
|
@@ -628,9 +629,9 @@ begin
|
|
|
628
629
|
data, status_code, headers = api_instance.admin_list_imported_api_keys_with_http_info(opts)
|
|
629
630
|
p status_code # => 2xx
|
|
630
631
|
p headers # => { ... }
|
|
631
|
-
p data # => <
|
|
632
|
+
p data # => <ListImportedApiKeysResponse>
|
|
632
633
|
rescue OryClient::ApiError => e
|
|
633
|
-
puts "Error when calling
|
|
634
|
+
puts "Error when calling ApiKeysApi->admin_list_imported_api_keys_with_http_info: #{e}"
|
|
634
635
|
end
|
|
635
636
|
```
|
|
636
637
|
|
|
@@ -644,7 +645,7 @@ end
|
|
|
644
645
|
|
|
645
646
|
### Return type
|
|
646
647
|
|
|
647
|
-
[**
|
|
648
|
+
[**ListImportedApiKeysResponse**](ListImportedApiKeysResponse.md)
|
|
648
649
|
|
|
649
650
|
### Authorization
|
|
650
651
|
|
|
@@ -658,11 +659,11 @@ end
|
|
|
658
659
|
|
|
659
660
|
## admin_list_issued_api_keys
|
|
660
661
|
|
|
661
|
-
> <
|
|
662
|
+
> <ListIssuedApiKeysResponse> admin_list_issued_api_keys(opts)
|
|
662
663
|
|
|
663
664
|
List Issued API Keys
|
|
664
665
|
|
|
665
|
-
Lists issued API keys with optional filtering. Supports cursor-based pagination and AIP-160 filter expressions. Returns only issued (generated) API keys; use
|
|
666
|
+
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 ```
|
|
666
667
|
|
|
667
668
|
### Examples
|
|
668
669
|
|
|
@@ -675,7 +676,7 @@ OryClient.configure do |config|
|
|
|
675
676
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
676
677
|
end
|
|
677
678
|
|
|
678
|
-
api_instance = OryClient::
|
|
679
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
679
680
|
opts = {
|
|
680
681
|
page_size: 56, # Integer | Number of items per page (default: 50, max: 1000)
|
|
681
682
|
page_token: 'page_token_example', # String | Cursor token for pagination
|
|
@@ -687,7 +688,7 @@ begin
|
|
|
687
688
|
result = api_instance.admin_list_issued_api_keys(opts)
|
|
688
689
|
p result
|
|
689
690
|
rescue OryClient::ApiError => e
|
|
690
|
-
puts "Error when calling
|
|
691
|
+
puts "Error when calling ApiKeysApi->admin_list_issued_api_keys: #{e}"
|
|
691
692
|
end
|
|
692
693
|
```
|
|
693
694
|
|
|
@@ -695,7 +696,7 @@ end
|
|
|
695
696
|
|
|
696
697
|
This returns an Array which contains the response data, status code and headers.
|
|
697
698
|
|
|
698
|
-
> <Array(<
|
|
699
|
+
> <Array(<ListIssuedApiKeysResponse>, Integer, Hash)> admin_list_issued_api_keys_with_http_info(opts)
|
|
699
700
|
|
|
700
701
|
```ruby
|
|
701
702
|
begin
|
|
@@ -703,9 +704,9 @@ begin
|
|
|
703
704
|
data, status_code, headers = api_instance.admin_list_issued_api_keys_with_http_info(opts)
|
|
704
705
|
p status_code # => 2xx
|
|
705
706
|
p headers # => { ... }
|
|
706
|
-
p data # => <
|
|
707
|
+
p data # => <ListIssuedApiKeysResponse>
|
|
707
708
|
rescue OryClient::ApiError => e
|
|
708
|
-
puts "Error when calling
|
|
709
|
+
puts "Error when calling ApiKeysApi->admin_list_issued_api_keys_with_http_info: #{e}"
|
|
709
710
|
end
|
|
710
711
|
```
|
|
711
712
|
|
|
@@ -719,7 +720,7 @@ end
|
|
|
719
720
|
|
|
720
721
|
### Return type
|
|
721
722
|
|
|
722
|
-
[**
|
|
723
|
+
[**ListIssuedApiKeysResponse**](ListIssuedApiKeysResponse.md)
|
|
723
724
|
|
|
724
725
|
### Authorization
|
|
725
726
|
|
|
@@ -731,13 +732,13 @@ end
|
|
|
731
732
|
- **Accept**: application/json
|
|
732
733
|
|
|
733
734
|
|
|
734
|
-
##
|
|
735
|
+
## admin_revoke_imported_api_key
|
|
735
736
|
|
|
736
|
-
> Object
|
|
737
|
+
> Object admin_revoke_imported_api_key(key_id, admin_revoke_imported_api_key_body)
|
|
737
738
|
|
|
738
|
-
Revoke API Key
|
|
739
|
+
Revoke Imported API Key
|
|
739
740
|
|
|
740
|
-
Immediately revokes an API key
|
|
741
|
+
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\" } ```
|
|
741
742
|
|
|
742
743
|
### Examples
|
|
743
744
|
|
|
@@ -750,34 +751,34 @@ OryClient.configure do |config|
|
|
|
750
751
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
751
752
|
end
|
|
752
753
|
|
|
753
|
-
api_instance = OryClient::
|
|
754
|
-
key_id = 'key_id_example' # String |
|
|
755
|
-
|
|
754
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
755
|
+
key_id = 'key_id_example' # String | SHA-512/256 hash of the imported key (REQUIRED)
|
|
756
|
+
admin_revoke_imported_api_key_body = OryClient::AdminRevokeImportedApiKeyBody.new # AdminRevokeImportedApiKeyBody |
|
|
756
757
|
|
|
757
758
|
begin
|
|
758
|
-
# Revoke API Key
|
|
759
|
-
result = api_instance.
|
|
759
|
+
# Revoke Imported API Key
|
|
760
|
+
result = api_instance.admin_revoke_imported_api_key(key_id, admin_revoke_imported_api_key_body)
|
|
760
761
|
p result
|
|
761
762
|
rescue OryClient::ApiError => e
|
|
762
|
-
puts "Error when calling
|
|
763
|
+
puts "Error when calling ApiKeysApi->admin_revoke_imported_api_key: #{e}"
|
|
763
764
|
end
|
|
764
765
|
```
|
|
765
766
|
|
|
766
|
-
#### Using the
|
|
767
|
+
#### Using the admin_revoke_imported_api_key_with_http_info variant
|
|
767
768
|
|
|
768
769
|
This returns an Array which contains the response data, status code and headers.
|
|
769
770
|
|
|
770
|
-
> <Array(Object, Integer, Hash)>
|
|
771
|
+
> <Array(Object, Integer, Hash)> admin_revoke_imported_api_key_with_http_info(key_id, admin_revoke_imported_api_key_body)
|
|
771
772
|
|
|
772
773
|
```ruby
|
|
773
774
|
begin
|
|
774
|
-
# Revoke API Key
|
|
775
|
-
data, status_code, headers = api_instance.
|
|
775
|
+
# Revoke Imported API Key
|
|
776
|
+
data, status_code, headers = api_instance.admin_revoke_imported_api_key_with_http_info(key_id, admin_revoke_imported_api_key_body)
|
|
776
777
|
p status_code # => 2xx
|
|
777
778
|
p headers # => { ... }
|
|
778
779
|
p data # => Object
|
|
779
780
|
rescue OryClient::ApiError => e
|
|
780
|
-
puts "Error when calling
|
|
781
|
+
puts "Error when calling ApiKeysApi->admin_revoke_imported_api_key_with_http_info: #{e}"
|
|
781
782
|
end
|
|
782
783
|
```
|
|
783
784
|
|
|
@@ -785,8 +786,79 @@ end
|
|
|
785
786
|
|
|
786
787
|
| Name | Type | Description | Notes |
|
|
787
788
|
| ---- | ---- | ----------- | ----- |
|
|
788
|
-
| **key_id** | **String** |
|
|
789
|
-
| **
|
|
789
|
+
| **key_id** | **String** | SHA-512/256 hash of the imported key (REQUIRED) | |
|
|
790
|
+
| **admin_revoke_imported_api_key_body** | [**AdminRevokeImportedApiKeyBody**](AdminRevokeImportedApiKeyBody.md) | | |
|
|
791
|
+
|
|
792
|
+
### Return type
|
|
793
|
+
|
|
794
|
+
**Object**
|
|
795
|
+
|
|
796
|
+
### Authorization
|
|
797
|
+
|
|
798
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
|
799
|
+
|
|
800
|
+
### HTTP request headers
|
|
801
|
+
|
|
802
|
+
- **Content-Type**: application/json
|
|
803
|
+
- **Accept**: application/json
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
## admin_revoke_issued_api_key
|
|
807
|
+
|
|
808
|
+
> Object admin_revoke_issued_api_key(key_id, admin_revoke_issued_api_key_body)
|
|
809
|
+
|
|
810
|
+
Revoke Issued API Key
|
|
811
|
+
|
|
812
|
+
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\" } ```
|
|
813
|
+
|
|
814
|
+
### Examples
|
|
815
|
+
|
|
816
|
+
```ruby
|
|
817
|
+
require 'time'
|
|
818
|
+
require 'ory-client'
|
|
819
|
+
# setup authorization
|
|
820
|
+
OryClient.configure do |config|
|
|
821
|
+
# Configure Bearer authorization: oryAccessToken
|
|
822
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
823
|
+
end
|
|
824
|
+
|
|
825
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
826
|
+
key_id = 'key_id_example' # String | UUID of the issued key (REQUIRED)
|
|
827
|
+
admin_revoke_issued_api_key_body = OryClient::AdminRevokeIssuedApiKeyBody.new # AdminRevokeIssuedApiKeyBody |
|
|
828
|
+
|
|
829
|
+
begin
|
|
830
|
+
# Revoke Issued API Key
|
|
831
|
+
result = api_instance.admin_revoke_issued_api_key(key_id, admin_revoke_issued_api_key_body)
|
|
832
|
+
p result
|
|
833
|
+
rescue OryClient::ApiError => e
|
|
834
|
+
puts "Error when calling ApiKeysApi->admin_revoke_issued_api_key: #{e}"
|
|
835
|
+
end
|
|
836
|
+
```
|
|
837
|
+
|
|
838
|
+
#### Using the admin_revoke_issued_api_key_with_http_info variant
|
|
839
|
+
|
|
840
|
+
This returns an Array which contains the response data, status code and headers.
|
|
841
|
+
|
|
842
|
+
> <Array(Object, Integer, Hash)> admin_revoke_issued_api_key_with_http_info(key_id, admin_revoke_issued_api_key_body)
|
|
843
|
+
|
|
844
|
+
```ruby
|
|
845
|
+
begin
|
|
846
|
+
# Revoke Issued API Key
|
|
847
|
+
data, status_code, headers = api_instance.admin_revoke_issued_api_key_with_http_info(key_id, admin_revoke_issued_api_key_body)
|
|
848
|
+
p status_code # => 2xx
|
|
849
|
+
p headers # => { ... }
|
|
850
|
+
p data # => Object
|
|
851
|
+
rescue OryClient::ApiError => e
|
|
852
|
+
puts "Error when calling ApiKeysApi->admin_revoke_issued_api_key_with_http_info: #{e}"
|
|
853
|
+
end
|
|
854
|
+
```
|
|
855
|
+
|
|
856
|
+
### Parameters
|
|
857
|
+
|
|
858
|
+
| Name | Type | Description | Notes |
|
|
859
|
+
| ---- | ---- | ----------- | ----- |
|
|
860
|
+
| **key_id** | **String** | UUID of the issued key (REQUIRED) | |
|
|
861
|
+
| **admin_revoke_issued_api_key_body** | [**AdminRevokeIssuedApiKeyBody**](AdminRevokeIssuedApiKeyBody.md) | | |
|
|
790
862
|
|
|
791
863
|
### Return type
|
|
792
864
|
|
|
@@ -804,11 +876,11 @@ end
|
|
|
804
876
|
|
|
805
877
|
## admin_rotate_issued_api_key
|
|
806
878
|
|
|
807
|
-
> <
|
|
879
|
+
> <RotateIssuedApiKeyResponse> admin_rotate_issued_api_key(key_id, admin_rotate_issued_api_key_body)
|
|
808
880
|
|
|
809
881
|
Rotate Issued API Key
|
|
810
882
|
|
|
811
|
-
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.
|
|
883
|
+
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\"] } ```
|
|
812
884
|
|
|
813
885
|
### Examples
|
|
814
886
|
|
|
@@ -821,16 +893,16 @@ OryClient.configure do |config|
|
|
|
821
893
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
822
894
|
end
|
|
823
895
|
|
|
824
|
-
api_instance = OryClient::
|
|
896
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
825
897
|
key_id = 'key_id_example' # String | key_id is the ID of the existing API key to rotate
|
|
826
|
-
admin_rotate_issued_api_key_body = OryClient::
|
|
898
|
+
admin_rotate_issued_api_key_body = OryClient::AdminRotateIssuedApiKeyBody.new # AdminRotateIssuedApiKeyBody |
|
|
827
899
|
|
|
828
900
|
begin
|
|
829
901
|
# Rotate Issued API Key
|
|
830
902
|
result = api_instance.admin_rotate_issued_api_key(key_id, admin_rotate_issued_api_key_body)
|
|
831
903
|
p result
|
|
832
904
|
rescue OryClient::ApiError => e
|
|
833
|
-
puts "Error when calling
|
|
905
|
+
puts "Error when calling ApiKeysApi->admin_rotate_issued_api_key: #{e}"
|
|
834
906
|
end
|
|
835
907
|
```
|
|
836
908
|
|
|
@@ -838,7 +910,7 @@ end
|
|
|
838
910
|
|
|
839
911
|
This returns an Array which contains the response data, status code and headers.
|
|
840
912
|
|
|
841
|
-
> <Array(<
|
|
913
|
+
> <Array(<RotateIssuedApiKeyResponse>, Integer, Hash)> admin_rotate_issued_api_key_with_http_info(key_id, admin_rotate_issued_api_key_body)
|
|
842
914
|
|
|
843
915
|
```ruby
|
|
844
916
|
begin
|
|
@@ -846,9 +918,9 @@ begin
|
|
|
846
918
|
data, status_code, headers = api_instance.admin_rotate_issued_api_key_with_http_info(key_id, admin_rotate_issued_api_key_body)
|
|
847
919
|
p status_code # => 2xx
|
|
848
920
|
p headers # => { ... }
|
|
849
|
-
p data # => <
|
|
921
|
+
p data # => <RotateIssuedApiKeyResponse>
|
|
850
922
|
rescue OryClient::ApiError => e
|
|
851
|
-
puts "Error when calling
|
|
923
|
+
puts "Error when calling ApiKeysApi->admin_rotate_issued_api_key_with_http_info: #{e}"
|
|
852
924
|
end
|
|
853
925
|
```
|
|
854
926
|
|
|
@@ -857,11 +929,11 @@ end
|
|
|
857
929
|
| Name | Type | Description | Notes |
|
|
858
930
|
| ---- | ---- | ----------- | ----- |
|
|
859
931
|
| **key_id** | **String** | key_id is the ID of the existing API key to rotate | |
|
|
860
|
-
| **admin_rotate_issued_api_key_body** | [**
|
|
932
|
+
| **admin_rotate_issued_api_key_body** | [**AdminRotateIssuedApiKeyBody**](AdminRotateIssuedApiKeyBody.md) | | |
|
|
861
933
|
|
|
862
934
|
### Return type
|
|
863
935
|
|
|
864
|
-
[**
|
|
936
|
+
[**RotateIssuedApiKeyResponse**](RotateIssuedApiKeyResponse.md)
|
|
865
937
|
|
|
866
938
|
### Authorization
|
|
867
939
|
|
|
@@ -875,7 +947,7 @@ end
|
|
|
875
947
|
|
|
876
948
|
## admin_update_imported_api_key
|
|
877
949
|
|
|
878
|
-
> <
|
|
950
|
+
> <ImportedApiKey> admin_update_imported_api_key(key_id, admin_update_imported_api_key_request, opts)
|
|
879
951
|
|
|
880
952
|
Update Imported API Key
|
|
881
953
|
|
|
@@ -892,9 +964,9 @@ OryClient.configure do |config|
|
|
|
892
964
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
893
965
|
end
|
|
894
966
|
|
|
895
|
-
api_instance = OryClient::
|
|
967
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
896
968
|
key_id = 'key_id_example' # String | SHA-512/256 hash of credential
|
|
897
|
-
admin_update_imported_api_key_request = OryClient::
|
|
969
|
+
admin_update_imported_api_key_request = OryClient::AdminUpdateImportedApiKeyRequest.new # AdminUpdateImportedApiKeyRequest |
|
|
898
970
|
opts = {
|
|
899
971
|
update_mask: 'update_mask_example' # String | The list of fields to update. See AIP-134.
|
|
900
972
|
}
|
|
@@ -904,7 +976,7 @@ begin
|
|
|
904
976
|
result = api_instance.admin_update_imported_api_key(key_id, admin_update_imported_api_key_request, opts)
|
|
905
977
|
p result
|
|
906
978
|
rescue OryClient::ApiError => e
|
|
907
|
-
puts "Error when calling
|
|
979
|
+
puts "Error when calling ApiKeysApi->admin_update_imported_api_key: #{e}"
|
|
908
980
|
end
|
|
909
981
|
```
|
|
910
982
|
|
|
@@ -912,7 +984,7 @@ end
|
|
|
912
984
|
|
|
913
985
|
This returns an Array which contains the response data, status code and headers.
|
|
914
986
|
|
|
915
|
-
> <Array(<
|
|
987
|
+
> <Array(<ImportedApiKey>, Integer, Hash)> admin_update_imported_api_key_with_http_info(key_id, admin_update_imported_api_key_request, opts)
|
|
916
988
|
|
|
917
989
|
```ruby
|
|
918
990
|
begin
|
|
@@ -920,9 +992,9 @@ begin
|
|
|
920
992
|
data, status_code, headers = api_instance.admin_update_imported_api_key_with_http_info(key_id, admin_update_imported_api_key_request, opts)
|
|
921
993
|
p status_code # => 2xx
|
|
922
994
|
p headers # => { ... }
|
|
923
|
-
p data # => <
|
|
995
|
+
p data # => <ImportedApiKey>
|
|
924
996
|
rescue OryClient::ApiError => e
|
|
925
|
-
puts "Error when calling
|
|
997
|
+
puts "Error when calling ApiKeysApi->admin_update_imported_api_key_with_http_info: #{e}"
|
|
926
998
|
end
|
|
927
999
|
```
|
|
928
1000
|
|
|
@@ -931,12 +1003,12 @@ end
|
|
|
931
1003
|
| Name | Type | Description | Notes |
|
|
932
1004
|
| ---- | ---- | ----------- | ----- |
|
|
933
1005
|
| **key_id** | **String** | SHA-512/256 hash of credential | |
|
|
934
|
-
| **admin_update_imported_api_key_request** | [**
|
|
1006
|
+
| **admin_update_imported_api_key_request** | [**AdminUpdateImportedApiKeyRequest**](AdminUpdateImportedApiKeyRequest.md) | | |
|
|
935
1007
|
| **update_mask** | **String** | The list of fields to update. See AIP-134. | [optional] |
|
|
936
1008
|
|
|
937
1009
|
### Return type
|
|
938
1010
|
|
|
939
|
-
[**
|
|
1011
|
+
[**ImportedApiKey**](ImportedApiKey.md)
|
|
940
1012
|
|
|
941
1013
|
### Authorization
|
|
942
1014
|
|
|
@@ -950,11 +1022,11 @@ end
|
|
|
950
1022
|
|
|
951
1023
|
## admin_update_issued_api_key
|
|
952
1024
|
|
|
953
|
-
> <
|
|
1025
|
+
> <IssuedApiKey> admin_update_issued_api_key(key_id, admin_update_issued_api_key_request, opts)
|
|
954
1026
|
|
|
955
1027
|
Update Issued API Key
|
|
956
1028
|
|
|
957
|
-
Updates metadata, scopes, or rate limits of an issued key without rotating the secret. Use
|
|
1029
|
+
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\"] } } ```
|
|
958
1030
|
|
|
959
1031
|
### Examples
|
|
960
1032
|
|
|
@@ -967,9 +1039,9 @@ OryClient.configure do |config|
|
|
|
967
1039
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
968
1040
|
end
|
|
969
1041
|
|
|
970
|
-
api_instance = OryClient::
|
|
1042
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
971
1043
|
key_id = 'key_id_example' # String | Identifier of the API key resource.
|
|
972
|
-
admin_update_issued_api_key_request = OryClient::
|
|
1044
|
+
admin_update_issued_api_key_request = OryClient::AdminUpdateIssuedApiKeyRequest.new # AdminUpdateIssuedApiKeyRequest |
|
|
973
1045
|
opts = {
|
|
974
1046
|
update_mask: 'update_mask_example' # String | The list of fields to update. See AIP-134.
|
|
975
1047
|
}
|
|
@@ -979,7 +1051,7 @@ begin
|
|
|
979
1051
|
result = api_instance.admin_update_issued_api_key(key_id, admin_update_issued_api_key_request, opts)
|
|
980
1052
|
p result
|
|
981
1053
|
rescue OryClient::ApiError => e
|
|
982
|
-
puts "Error when calling
|
|
1054
|
+
puts "Error when calling ApiKeysApi->admin_update_issued_api_key: #{e}"
|
|
983
1055
|
end
|
|
984
1056
|
```
|
|
985
1057
|
|
|
@@ -987,7 +1059,7 @@ end
|
|
|
987
1059
|
|
|
988
1060
|
This returns an Array which contains the response data, status code and headers.
|
|
989
1061
|
|
|
990
|
-
> <Array(<
|
|
1062
|
+
> <Array(<IssuedApiKey>, Integer, Hash)> admin_update_issued_api_key_with_http_info(key_id, admin_update_issued_api_key_request, opts)
|
|
991
1063
|
|
|
992
1064
|
```ruby
|
|
993
1065
|
begin
|
|
@@ -995,9 +1067,9 @@ begin
|
|
|
995
1067
|
data, status_code, headers = api_instance.admin_update_issued_api_key_with_http_info(key_id, admin_update_issued_api_key_request, opts)
|
|
996
1068
|
p status_code # => 2xx
|
|
997
1069
|
p headers # => { ... }
|
|
998
|
-
p data # => <
|
|
1070
|
+
p data # => <IssuedApiKey>
|
|
999
1071
|
rescue OryClient::ApiError => e
|
|
1000
|
-
puts "Error when calling
|
|
1072
|
+
puts "Error when calling ApiKeysApi->admin_update_issued_api_key_with_http_info: #{e}"
|
|
1001
1073
|
end
|
|
1002
1074
|
```
|
|
1003
1075
|
|
|
@@ -1006,12 +1078,12 @@ end
|
|
|
1006
1078
|
| Name | Type | Description | Notes |
|
|
1007
1079
|
| ---- | ---- | ----------- | ----- |
|
|
1008
1080
|
| **key_id** | **String** | Identifier of the API key resource. | |
|
|
1009
|
-
| **admin_update_issued_api_key_request** | [**
|
|
1081
|
+
| **admin_update_issued_api_key_request** | [**AdminUpdateIssuedApiKeyRequest**](AdminUpdateIssuedApiKeyRequest.md) | | |
|
|
1010
1082
|
| **update_mask** | **String** | The list of fields to update. See AIP-134. | [optional] |
|
|
1011
1083
|
|
|
1012
1084
|
### Return type
|
|
1013
1085
|
|
|
1014
|
-
[**
|
|
1086
|
+
[**IssuedApiKey**](IssuedApiKey.md)
|
|
1015
1087
|
|
|
1016
1088
|
### Authorization
|
|
1017
1089
|
|
|
@@ -1025,7 +1097,7 @@ end
|
|
|
1025
1097
|
|
|
1026
1098
|
## admin_verify_api_key
|
|
1027
1099
|
|
|
1028
|
-
> <
|
|
1100
|
+
> <VerifyApiKeyResponse> admin_verify_api_key(verify_api_key_request, opts)
|
|
1029
1101
|
|
|
1030
1102
|
Verify API Key
|
|
1031
1103
|
|
|
@@ -1042,8 +1114,8 @@ OryClient.configure do |config|
|
|
|
1042
1114
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1043
1115
|
end
|
|
1044
1116
|
|
|
1045
|
-
api_instance = OryClient::
|
|
1046
|
-
verify_api_key_request = OryClient::
|
|
1117
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
1118
|
+
verify_api_key_request = OryClient::VerifyApiKeyRequest.new # VerifyApiKeyRequest |
|
|
1047
1119
|
opts = {
|
|
1048
1120
|
cache_control: 'cache_control_example', # String | 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.
|
|
1049
1121
|
pragma: 'pragma_example' # String | HTTP/1.0 alias for `Cache-Control: no-cache`. Behaves identically when set to `no-cache`; ignored otherwise.
|
|
@@ -1054,7 +1126,7 @@ begin
|
|
|
1054
1126
|
result = api_instance.admin_verify_api_key(verify_api_key_request, opts)
|
|
1055
1127
|
p result
|
|
1056
1128
|
rescue OryClient::ApiError => e
|
|
1057
|
-
puts "Error when calling
|
|
1129
|
+
puts "Error when calling ApiKeysApi->admin_verify_api_key: #{e}"
|
|
1058
1130
|
end
|
|
1059
1131
|
```
|
|
1060
1132
|
|
|
@@ -1062,7 +1134,7 @@ end
|
|
|
1062
1134
|
|
|
1063
1135
|
This returns an Array which contains the response data, status code and headers.
|
|
1064
1136
|
|
|
1065
|
-
> <Array(<
|
|
1137
|
+
> <Array(<VerifyApiKeyResponse>, Integer, Hash)> admin_verify_api_key_with_http_info(verify_api_key_request, opts)
|
|
1066
1138
|
|
|
1067
1139
|
```ruby
|
|
1068
1140
|
begin
|
|
@@ -1070,9 +1142,9 @@ begin
|
|
|
1070
1142
|
data, status_code, headers = api_instance.admin_verify_api_key_with_http_info(verify_api_key_request, opts)
|
|
1071
1143
|
p status_code # => 2xx
|
|
1072
1144
|
p headers # => { ... }
|
|
1073
|
-
p data # => <
|
|
1145
|
+
p data # => <VerifyApiKeyResponse>
|
|
1074
1146
|
rescue OryClient::ApiError => e
|
|
1075
|
-
puts "Error when calling
|
|
1147
|
+
puts "Error when calling ApiKeysApi->admin_verify_api_key_with_http_info: #{e}"
|
|
1076
1148
|
end
|
|
1077
1149
|
```
|
|
1078
1150
|
|
|
@@ -1080,13 +1152,13 @@ end
|
|
|
1080
1152
|
|
|
1081
1153
|
| Name | Type | Description | Notes |
|
|
1082
1154
|
| ---- | ---- | ----------- | ----- |
|
|
1083
|
-
| **verify_api_key_request** | [**
|
|
1155
|
+
| **verify_api_key_request** | [**VerifyApiKeyRequest**](VerifyApiKeyRequest.md) | | |
|
|
1084
1156
|
| **cache_control** | **String** | 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. | [optional] |
|
|
1085
1157
|
| **pragma** | **String** | HTTP/1.0 alias for `Cache-Control: no-cache`. Behaves identically when set to `no-cache`; ignored otherwise. | [optional] |
|
|
1086
1158
|
|
|
1087
1159
|
### Return type
|
|
1088
1160
|
|
|
1089
|
-
[**
|
|
1161
|
+
[**VerifyApiKeyResponse**](VerifyApiKeyResponse.md)
|
|
1090
1162
|
|
|
1091
1163
|
### Authorization
|
|
1092
1164
|
|
|
@@ -1112,14 +1184,14 @@ Returns the JSON Web Key Set for token verification. Provides the public keys ne
|
|
|
1112
1184
|
require 'time'
|
|
1113
1185
|
require 'ory-client'
|
|
1114
1186
|
|
|
1115
|
-
api_instance = OryClient::
|
|
1187
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
1116
1188
|
|
|
1117
1189
|
begin
|
|
1118
1190
|
# Get JWKS
|
|
1119
1191
|
result = api_instance.get_jwks
|
|
1120
1192
|
p result
|
|
1121
1193
|
rescue OryClient::ApiError => e
|
|
1122
|
-
puts "Error when calling
|
|
1194
|
+
puts "Error when calling ApiKeysApi->get_jwks: #{e}"
|
|
1123
1195
|
end
|
|
1124
1196
|
```
|
|
1125
1197
|
|
|
@@ -1137,7 +1209,7 @@ begin
|
|
|
1137
1209
|
p headers # => { ... }
|
|
1138
1210
|
p data # => <GetJWKSResponse>
|
|
1139
1211
|
rescue OryClient::ApiError => e
|
|
1140
|
-
puts "Error when calling
|
|
1212
|
+
puts "Error when calling ApiKeysApi->get_jwks_with_http_info: #{e}"
|
|
1141
1213
|
end
|
|
1142
1214
|
```
|
|
1143
1215
|
|
|
@@ -1165,7 +1237,7 @@ No authorization required
|
|
|
1165
1237
|
|
|
1166
1238
|
Revoke API Key (self-service)
|
|
1167
1239
|
|
|
1168
|
-
Proof-of-possession variant of revocation.
|
|
1240
|
+
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\" } ```
|
|
1169
1241
|
|
|
1170
1242
|
### Examples
|
|
1171
1243
|
|
|
@@ -1173,15 +1245,15 @@ Proof-of-possession variant of revocation. Lives alongside `AdminRevokeAPIKey` i
|
|
|
1173
1245
|
require 'time'
|
|
1174
1246
|
require 'ory-client'
|
|
1175
1247
|
|
|
1176
|
-
api_instance = OryClient::
|
|
1177
|
-
self_revoke_api_key_request = OryClient::
|
|
1248
|
+
api_instance = OryClient::ApiKeysApi.new
|
|
1249
|
+
self_revoke_api_key_request = OryClient::SelfRevokeApiKeyRequest.new # SelfRevokeApiKeyRequest | SelfRevokeApiKeyRequest allows an API key holder to revoke their own key by providing the full key secret as proof of possession.
|
|
1178
1250
|
|
|
1179
1251
|
begin
|
|
1180
1252
|
# Revoke API Key (self-service)
|
|
1181
1253
|
result = api_instance.revoke_api_key(self_revoke_api_key_request)
|
|
1182
1254
|
p result
|
|
1183
1255
|
rescue OryClient::ApiError => e
|
|
1184
|
-
puts "Error when calling
|
|
1256
|
+
puts "Error when calling ApiKeysApi->revoke_api_key: #{e}"
|
|
1185
1257
|
end
|
|
1186
1258
|
```
|
|
1187
1259
|
|
|
@@ -1199,7 +1271,7 @@ begin
|
|
|
1199
1271
|
p headers # => { ... }
|
|
1200
1272
|
p data # => Object
|
|
1201
1273
|
rescue OryClient::ApiError => e
|
|
1202
|
-
puts "Error when calling
|
|
1274
|
+
puts "Error when calling ApiKeysApi->revoke_api_key_with_http_info: #{e}"
|
|
1203
1275
|
end
|
|
1204
1276
|
```
|
|
1205
1277
|
|
|
@@ -1207,7 +1279,7 @@ end
|
|
|
1207
1279
|
|
|
1208
1280
|
| Name | Type | Description | Notes |
|
|
1209
1281
|
| ---- | ---- | ----------- | ----- |
|
|
1210
|
-
| **self_revoke_api_key_request** | [**
|
|
1282
|
+
| **self_revoke_api_key_request** | [**SelfRevokeApiKeyRequest**](SelfRevokeApiKeyRequest.md) | SelfRevokeApiKeyRequest allows an API key holder to revoke their own key by providing the full key secret as proof of possession. | |
|
|
1211
1283
|
|
|
1212
1284
|
### Return type
|
|
1213
1285
|
|