ory-client 1.22.38 → 1.22.40
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 +80 -10
- data/docs/APIKeysApi.md +1229 -0
- data/docs/AdminRevokeAPIKeyBody.md +20 -0
- data/docs/AdminRotateIssuedAPIKeyBody.md +28 -0
- data/docs/AdminUpdateImportedAPIKeyRequest.md +44 -0
- data/docs/AdminUpdateIssuedAPIKeyRequest.md +44 -0
- data/docs/Any.md +18 -0
- data/docs/BatchImportAPIKeysRequest.md +18 -0
- data/docs/BatchImportAPIKeysResponse.md +22 -0
- data/docs/BatchImportErrorCode.md +15 -0
- data/docs/BatchImportResult.md +24 -0
- data/docs/BatchVerifyAPIKeysRequest.md +18 -0
- data/docs/BatchVerifyAPIKeysResponse.md +18 -0
- data/docs/CreateTestLoginFlowBody.md +18 -0
- data/docs/DeriveTokenRequest.md +26 -0
- data/docs/DeriveTokenResponse.md +18 -0
- data/docs/DeviceAuthnAndroidAuthorizationList.md +70 -0
- data/docs/DeviceAuthnAndroidKeyDescription.md +28 -0
- data/docs/DeviceAuthnAndroidRootOfTrust.md +24 -0
- data/docs/DeviceAuthnAttestation.md +20 -0
- data/docs/DeviceAuthnIOSAttStmt.md +18 -0
- data/docs/DeviceAuthnIOSAttestation.md +22 -0
- data/docs/DeviceAuthnKey.md +2 -0
- data/docs/FrontendApi.md +68 -0
- data/docs/GetJWKSResponse.md +18 -0
- data/docs/IPRestriction.md +18 -0
- data/docs/IdentityApi.md +142 -2
- data/docs/IdentityCredentials.md +1 -1
- data/docs/ImportAPIKeyRequest.md +36 -0
- data/docs/ImportedAPIKey.md +46 -0
- data/docs/IssueAPIKeyRequest.md +34 -0
- data/docs/IssueAPIKeyResponse.md +20 -0
- data/docs/IssuedAPIKey.md +46 -0
- data/docs/KeyStatus.md +15 -0
- data/docs/KeyVisibility.md +15 -0
- data/docs/ListImportedAPIKeysResponse.md +20 -0
- data/docs/ListIssuedAPIKeysResponse.md +20 -0
- data/docs/LoginFlow.md +3 -1
- data/docs/LoginFlowTestContext.md +20 -0
- data/docs/LoginFlowTestDebugPayload.md +32 -0
- data/docs/LoginFlowTestSchemaValidationError.md +20 -0
- data/docs/LoginFlowTestStepError.md +22 -0
- data/docs/ManageSessionsBody.md +22 -0
- data/docs/ManageSessionsResponse.md +20 -0
- data/docs/Message.md +1 -1
- data/docs/NullValue.md +15 -0
- data/docs/RateLimitPolicy.md +22 -0
- data/docs/RegistrationFlow.md +1 -1
- data/docs/RevocationReason.md +15 -0
- data/docs/RotateIssuedAPIKeyResponse.md +22 -0
- data/docs/SelfRevokeAPIKeyRequest.md +20 -0
- data/docs/SessionAuthenticationMethod.md +1 -1
- data/docs/Status.md +22 -0
- data/docs/Token.md +24 -0
- data/docs/TokenAlgorithm.md +15 -0
- data/docs/ValidateBaseURLRewriteRequest.md +22 -0
- data/docs/ValidateBaseURLRewriteResponse.md +20 -0
- data/docs/VerificationErrorCode.md +15 -0
- data/docs/VerifyAPIKeyRequest.md +18 -0
- data/docs/VerifyAPIKeyResponse.md +44 -0
- data/lib/ory-client/api/api_keys_api.rb +1190 -0
- 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 +68 -1
- data/lib/ory-client/api/identity_api.rb +142 -6
- 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_api_key_body.rb +181 -0
- data/lib/ory-client/models/admin_rotate_issued_api_key_body.rb +222 -0
- data/lib/ory-client/models/admin_update_imported_api_key_request.rb +297 -0
- data/lib/ory-client/models/admin_update_issued_api_key_request.rb +297 -0
- data/lib/ory-client/models/any.rb +147 -0
- 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_api_keys_request.rb +150 -0
- data/lib/ory-client/models/batch_import_api_keys_response.rb +168 -0
- data/lib/ory-client/models/batch_import_error_code.rb +43 -0
- data/lib/ory-client/models/batch_import_result.rb +199 -0
- data/lib/ory-client/models/batch_patch_identities_response.rb +1 -1
- data/lib/ory-client/models/batch_verify_api_keys_request.rb +149 -0
- data/lib/ory-client/models/batch_verify_api_keys_response.rb +149 -0
- 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 +1 -1
- 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 +174 -0
- 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 +211 -0
- data/lib/ory-client/models/derive_token_response.rb +147 -0
- data/lib/ory-client/models/device_authn_android_authorization_list.rb +406 -0
- data/lib/ory-client/models/device_authn_android_key_description.rb +193 -0
- data/lib/ory-client/models/device_authn_android_root_of_trust.rb +178 -0
- data/lib/ory-client/models/device_authn_attestation.rb +157 -0
- data/lib/ory-client/models/device_authn_ios_att_stmt.rb +151 -0
- data/lib/ory-client/models/device_authn_ios_attestation.rb +168 -0
- data/lib/ory-client/models/device_authn_key.rb +11 -2
- 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 +148 -0
- 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 +4 -4
- 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 +258 -0
- data/lib/ory-client/models/imported_api_key.rb +306 -0
- 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 +151 -0
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
- data/lib/ory-client/models/issue_api_key_request.rb +247 -0
- data/lib/ory-client/models/issue_api_key_response.rb +156 -0
- data/lib/ory-client/models/issued_api_key.rb +306 -0
- 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 +42 -0
- data/lib/ory-client/models/key_visibility.rb +41 -0
- 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 +158 -0
- data/lib/ory-client/models/list_invoices_response.rb +1 -1
- data/lib/ory-client/models/list_issued_api_keys_response.rb +158 -0
- 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 +14 -5
- data/lib/ory-client/models/login_flow_state.rb +1 -1
- data/lib/ory-client/models/login_flow_test_context.rb +175 -0
- data/lib/ory-client/models/login_flow_test_debug_payload.rb +228 -0
- data/lib/ory-client/models/login_flow_test_schema_validation_error.rb +159 -0
- data/lib/ory-client/models/login_flow_test_step_error.rb +169 -0
- data/lib/ory-client/models/logout_flow.rb +1 -1
- data/lib/ory-client/models/manage_sessions_body.rb +214 -0
- data/lib/ory-client/models/manage_sessions_response.rb +159 -0
- 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 +4 -4
- 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/money.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 +1 -1
- 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 +39 -0
- 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_services.rb +1 -1
- data/lib/ory-client/models/provider.rb +1 -1
- data/lib/ory-client/models/quota_usage.rb +1 -1
- data/lib/ory-client/models/rate_limit_policy.rb +168 -0
- 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 +4 -4
- 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 +43 -0
- data/lib/ory-client/models/rfc6749_error_json.rb +1 -1
- data/lib/ory-client/models/rotate_issued_api_key_response.rb +165 -0
- data/lib/ory-client/models/schema_patch.rb +1 -1
- data/lib/ory-client/models/self_revoke_api_key_request.rb +181 -0
- 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 +4 -4
- 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 +167 -0
- 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 +178 -0
- data/lib/ory-client/models/token_algorithm.rb +41 -0
- 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 +220 -0
- data/lib/ory-client/models/validate_base_url_rewrite_response.rb +176 -0
- 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 +47 -0
- 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 +147 -0
- data/lib/ory-client/models/verify_api_key_response.rb +299 -0
- 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 +52 -1
- data/ory-client.gemspec +1 -1
- data/spec/api/api_keys_api_spec.rb +252 -0
- 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 +14 -1
- data/spec/api/identity_api_spec.rb +26 -2
- 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_api_key_body_spec.rb +42 -0
- data/spec/models/admin_rotate_issued_api_key_body_spec.rb +66 -0
- data/spec/models/admin_update_imported_api_key_request_spec.rb +114 -0
- data/spec/models/admin_update_issued_api_key_request_spec.rb +114 -0
- data/spec/models/any_spec.rb +36 -0
- 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_api_keys_request_spec.rb +36 -0
- data/spec/models/batch_import_api_keys_response_spec.rb +48 -0
- data/spec/models/batch_import_error_code_spec.rb +30 -0
- data/spec/models/batch_import_result_spec.rb +54 -0
- data/spec/models/batch_patch_identities_response_spec.rb +1 -1
- data/spec/models/batch_verify_api_keys_request_spec.rb +36 -0
- data/spec/models/batch_verify_api_keys_response_spec.rb +36 -0
- 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 +1 -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 +36 -0
- 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 +60 -0
- data/spec/models/derive_token_response_spec.rb +36 -0
- data/spec/models/device_authn_android_authorization_list_spec.rb +192 -0
- data/spec/models/device_authn_android_key_description_spec.rb +66 -0
- data/spec/models/device_authn_android_root_of_trust_spec.rb +54 -0
- data/spec/models/device_authn_attestation_spec.rb +42 -0
- data/spec/models/device_authn_ios_att_stmt_spec.rb +36 -0
- data/spec/models/device_authn_ios_attestation_spec.rb +48 -0
- data/spec/models/device_authn_key_spec.rb +7 -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 +36 -0
- 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 +2 -2
- 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 +90 -0
- data/spec/models/imported_api_key_spec.rb +120 -0
- 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 +36 -0
- data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
- data/spec/models/issue_api_key_request_spec.rb +84 -0
- data/spec/models/issue_api_key_response_spec.rb +42 -0
- data/spec/models/issued_api_key_spec.rb +120 -0
- 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 +30 -0
- data/spec/models/key_visibility_spec.rb +30 -0
- 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 +42 -0
- data/spec/models/list_invoices_response_spec.rb +1 -1
- data/spec/models/list_issued_api_keys_response_spec.rb +42 -0
- 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 +8 -2
- data/spec/models/login_flow_state_spec.rb +1 -1
- data/spec/models/login_flow_test_context_spec.rb +42 -0
- data/spec/models/login_flow_test_debug_payload_spec.rb +78 -0
- data/spec/models/login_flow_test_schema_validation_error_spec.rb +42 -0
- data/spec/models/login_flow_test_step_error_spec.rb +48 -0
- data/spec/models/logout_flow_spec.rb +1 -1
- data/spec/models/manage_sessions_body_spec.rb +52 -0
- data/spec/models/manage_sessions_response_spec.rb +42 -0
- 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 +2 -2
- data/spec/models/metrics_datapoint_spec.rb +1 -1
- data/spec/models/money_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 +1 -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 +30 -0
- 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_services_spec.rb +1 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/models/provider_spec.rb +1 -1
- data/spec/models/quota_usage_spec.rb +1 -1
- data/spec/models/rate_limit_policy_spec.rb +48 -0
- 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 +2 -2
- 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 +30 -0
- data/spec/models/rfc6749_error_json_spec.rb +1 -1
- data/spec/models/rotate_issued_api_key_response_spec.rb +48 -0
- data/spec/models/schema_patch_spec.rb +1 -1
- data/spec/models/self_revoke_api_key_request_spec.rb +42 -0
- 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 +2 -2
- 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 +48 -0
- 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 +30 -0
- 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 +54 -0
- 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 +48 -0
- data/spec/models/validate_base_url_rewrite_response_spec.rb +42 -0
- 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 +30 -0
- 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 +36 -0
- data/spec/models/verify_api_key_response_spec.rb +114 -0
- 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 +207 -3
data/lib/ory-client.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: v1.22.
|
|
6
|
+
The version of the OpenAPI document: v1.22.40
|
|
7
7
|
Contact: support@ory.sh
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.17.0
|
|
@@ -27,6 +27,11 @@ require 'ory-client/models/account_experience_configuration'
|
|
|
27
27
|
require 'ory-client/models/add_project_to_workspace_body'
|
|
28
28
|
require 'ory-client/models/admin_identity_import_credentials_lookup_secret'
|
|
29
29
|
require 'ory-client/models/admin_identity_import_credentials_lookup_secret_config'
|
|
30
|
+
require 'ory-client/models/admin_revoke_api_key_body'
|
|
31
|
+
require 'ory-client/models/admin_rotate_issued_api_key_body'
|
|
32
|
+
require 'ory-client/models/admin_update_imported_api_key_request'
|
|
33
|
+
require 'ory-client/models/admin_update_issued_api_key_request'
|
|
34
|
+
require 'ory-client/models/any'
|
|
30
35
|
require 'ory-client/models/attribute'
|
|
31
36
|
require 'ory-client/models/attribute_filter'
|
|
32
37
|
require 'ory-client/models/attributes_count_datapoint'
|
|
@@ -34,7 +39,13 @@ require 'ory-client/models/authenticator_assurance_level'
|
|
|
34
39
|
require 'ory-client/models/basic_organization'
|
|
35
40
|
require 'ory-client/models/batch_check_permission_body'
|
|
36
41
|
require 'ory-client/models/batch_check_permission_result'
|
|
42
|
+
require 'ory-client/models/batch_import_api_keys_request'
|
|
43
|
+
require 'ory-client/models/batch_import_api_keys_response'
|
|
44
|
+
require 'ory-client/models/batch_import_error_code'
|
|
45
|
+
require 'ory-client/models/batch_import_result'
|
|
37
46
|
require 'ory-client/models/batch_patch_identities_response'
|
|
47
|
+
require 'ory-client/models/batch_verify_api_keys_request'
|
|
48
|
+
require 'ory-client/models/batch_verify_api_keys_response'
|
|
38
49
|
require 'ory-client/models/billing_period_bucket'
|
|
39
50
|
require 'ory-client/models/check_opl_syntax_result'
|
|
40
51
|
require 'ory-client/models/check_permission_result'
|
|
@@ -70,6 +81,7 @@ require 'ory-client/models/create_recovery_link_for_identity_body'
|
|
|
70
81
|
require 'ory-client/models/create_relationship_body'
|
|
71
82
|
require 'ory-client/models/create_subscription_body'
|
|
72
83
|
require 'ory-client/models/create_subscription_common'
|
|
84
|
+
require 'ory-client/models/create_test_login_flow_body'
|
|
73
85
|
require 'ory-client/models/create_verifiable_credential_request_body'
|
|
74
86
|
require 'ory-client/models/create_workspace_api_key_body'
|
|
75
87
|
require 'ory-client/models/create_workspace_body'
|
|
@@ -80,6 +92,14 @@ require 'ory-client/models/credential_supported_draft00'
|
|
|
80
92
|
require 'ory-client/models/custom_domain'
|
|
81
93
|
require 'ory-client/models/customer_portal_availability'
|
|
82
94
|
require 'ory-client/models/delete_my_sessions_count'
|
|
95
|
+
require 'ory-client/models/derive_token_request'
|
|
96
|
+
require 'ory-client/models/derive_token_response'
|
|
97
|
+
require 'ory-client/models/device_authn_android_authorization_list'
|
|
98
|
+
require 'ory-client/models/device_authn_android_key_description'
|
|
99
|
+
require 'ory-client/models/device_authn_android_root_of_trust'
|
|
100
|
+
require 'ory-client/models/device_authn_attestation'
|
|
101
|
+
require 'ory-client/models/device_authn_ios_att_stmt'
|
|
102
|
+
require 'ory-client/models/device_authn_ios_attestation'
|
|
83
103
|
require 'ory-client/models/device_authn_key'
|
|
84
104
|
require 'ory-client/models/device_authorization'
|
|
85
105
|
require 'ory-client/models/device_user_auth_request'
|
|
@@ -98,6 +118,7 @@ require 'ory-client/models/generic_error_content'
|
|
|
98
118
|
require 'ory-client/models/generic_oidc_provider'
|
|
99
119
|
require 'ory-client/models/generic_usage'
|
|
100
120
|
require 'ory-client/models/get_attributes_count'
|
|
121
|
+
require 'ory-client/models/get_jwks_response'
|
|
101
122
|
require 'ory-client/models/get_managed_identity_schema_location'
|
|
102
123
|
require 'ory-client/models/get_metrics_count'
|
|
103
124
|
require 'ory-client/models/get_metrics_event_attributes'
|
|
@@ -110,6 +131,7 @@ require 'ory-client/models/get_session_activity'
|
|
|
110
131
|
require 'ory-client/models/get_version200_response'
|
|
111
132
|
require 'ory-client/models/health_not_ready_status'
|
|
112
133
|
require 'ory-client/models/health_status'
|
|
134
|
+
require 'ory-client/models/ip_restriction'
|
|
113
135
|
require 'ory-client/models/identity'
|
|
114
136
|
require 'ory-client/models/identity_credentials'
|
|
115
137
|
require 'ory-client/models/identity_credentials_code'
|
|
@@ -141,6 +163,8 @@ require 'ory-client/models/identity_with_credentials_totp'
|
|
|
141
163
|
require 'ory-client/models/identity_with_credentials_totp_config'
|
|
142
164
|
require 'ory-client/models/identity_with_credentials_web_authn'
|
|
143
165
|
require 'ory-client/models/identity_with_credentials_web_authn_config'
|
|
166
|
+
require 'ory-client/models/import_api_key_request'
|
|
167
|
+
require 'ory-client/models/imported_api_key'
|
|
144
168
|
require 'ory-client/models/internal_get_project_branding_body'
|
|
145
169
|
require 'ory-client/models/internal_is_ax_welcome_screen_enabled_for_project_body'
|
|
146
170
|
require 'ory-client/models/internal_is_owner_for_project_by_slug'
|
|
@@ -150,21 +174,34 @@ require 'ory-client/models/invite_token_body'
|
|
|
150
174
|
require 'ory-client/models/invoice'
|
|
151
175
|
require 'ory-client/models/invoice_data_v1'
|
|
152
176
|
require 'ory-client/models/is_owner_for_project_by_slug'
|
|
177
|
+
require 'ory-client/models/issue_api_key_request'
|
|
178
|
+
require 'ory-client/models/issue_api_key_response'
|
|
179
|
+
require 'ory-client/models/issued_api_key'
|
|
153
180
|
require 'ory-client/models/json_patch'
|
|
154
181
|
require 'ory-client/models/json_web_key'
|
|
155
182
|
require 'ory-client/models/json_web_key_set'
|
|
156
183
|
require 'ory-client/models/keto_namespace'
|
|
184
|
+
require 'ory-client/models/key_status'
|
|
185
|
+
require 'ory-client/models/key_visibility'
|
|
157
186
|
require 'ory-client/models/keyset_pagination_request_parameters'
|
|
158
187
|
require 'ory-client/models/keyset_pagination_response_headers'
|
|
159
188
|
require 'ory-client/models/line_item_v1'
|
|
160
189
|
require 'ory-client/models/list_event_streams'
|
|
190
|
+
require 'ory-client/models/list_imported_api_keys_response'
|
|
161
191
|
require 'ory-client/models/list_invoices_response'
|
|
192
|
+
require 'ory-client/models/list_issued_api_keys_response'
|
|
162
193
|
require 'ory-client/models/list_organizations_response'
|
|
163
194
|
require 'ory-client/models/list_workspace_projects'
|
|
164
195
|
require 'ory-client/models/list_workspaces'
|
|
165
196
|
require 'ory-client/models/login_flow'
|
|
166
197
|
require 'ory-client/models/login_flow_state'
|
|
198
|
+
require 'ory-client/models/login_flow_test_context'
|
|
199
|
+
require 'ory-client/models/login_flow_test_debug_payload'
|
|
200
|
+
require 'ory-client/models/login_flow_test_schema_validation_error'
|
|
201
|
+
require 'ory-client/models/login_flow_test_step_error'
|
|
167
202
|
require 'ory-client/models/logout_flow'
|
|
203
|
+
require 'ory-client/models/manage_sessions_body'
|
|
204
|
+
require 'ory-client/models/manage_sessions_response'
|
|
168
205
|
require 'ory-client/models/managed_identity_schema'
|
|
169
206
|
require 'ory-client/models/managed_identity_schema_validation_result'
|
|
170
207
|
require 'ory-client/models/member_invite'
|
|
@@ -183,6 +220,7 @@ require 'ory-client/models/normalized_project_revision_saml_provider'
|
|
|
183
220
|
require 'ory-client/models/normalized_project_revision_scim_client'
|
|
184
221
|
require 'ory-client/models/normalized_project_revision_third_party_provider'
|
|
185
222
|
require 'ory-client/models/normalized_project_revision_tokenizer_template'
|
|
223
|
+
require 'ory-client/models/null_value'
|
|
186
224
|
require 'ory-client/models/o_auth2_client'
|
|
187
225
|
require 'ory-client/models/o_auth2_client_token_lifespans'
|
|
188
226
|
require 'ory-client/models/o_auth2_consent_request'
|
|
@@ -226,6 +264,7 @@ require 'ory-client/models/project_services'
|
|
|
226
264
|
require 'ory-client/models/provider'
|
|
227
265
|
require 'ory-client/models/quota_usage'
|
|
228
266
|
require 'ory-client/models/rfc6749_error_json'
|
|
267
|
+
require 'ory-client/models/rate_limit_policy'
|
|
229
268
|
require 'ory-client/models/recovery_code_for_identity'
|
|
230
269
|
require 'ory-client/models/recovery_flow'
|
|
231
270
|
require 'ory-client/models/recovery_flow_state'
|
|
@@ -240,7 +279,10 @@ require 'ory-client/models/relationship_namespaces'
|
|
|
240
279
|
require 'ory-client/models/relationship_patch'
|
|
241
280
|
require 'ory-client/models/relationships'
|
|
242
281
|
require 'ory-client/models/revision_account_experience_custom_translation'
|
|
282
|
+
require 'ory-client/models/revocation_reason'
|
|
283
|
+
require 'ory-client/models/rotate_issued_api_key_response'
|
|
243
284
|
require 'ory-client/models/schema_patch'
|
|
285
|
+
require 'ory-client/models/self_revoke_api_key_request'
|
|
244
286
|
require 'ory-client/models/self_service_flow_expired_error'
|
|
245
287
|
require 'ory-client/models/session'
|
|
246
288
|
require 'ory-client/models/session_activity_datapoint'
|
|
@@ -254,6 +296,7 @@ require 'ory-client/models/set_project_branding_theme_body'
|
|
|
254
296
|
require 'ory-client/models/settings_flow'
|
|
255
297
|
require 'ory-client/models/settings_flow_state'
|
|
256
298
|
require 'ory-client/models/source_position'
|
|
299
|
+
require 'ory-client/models/status'
|
|
257
300
|
require 'ory-client/models/subject_set'
|
|
258
301
|
require 'ory-client/models/subscription'
|
|
259
302
|
require 'ory-client/models/successful_code_exchange_response'
|
|
@@ -262,6 +305,8 @@ require 'ory-client/models/successful_native_registration'
|
|
|
262
305
|
require 'ory-client/models/successful_project_update'
|
|
263
306
|
require 'ory-client/models/tax_line_item'
|
|
264
307
|
require 'ory-client/models/time_interval'
|
|
308
|
+
require 'ory-client/models/token'
|
|
309
|
+
require 'ory-client/models/token_algorithm'
|
|
265
310
|
require 'ory-client/models/token_pagination'
|
|
266
311
|
require 'ory-client/models/token_pagination_headers'
|
|
267
312
|
require 'ory-client/models/token_pagination_request_parameters'
|
|
@@ -320,12 +365,17 @@ require 'ory-client/models/update_verification_flow_with_code_method'
|
|
|
320
365
|
require 'ory-client/models/update_verification_flow_with_link_method'
|
|
321
366
|
require 'ory-client/models/update_workspace_body'
|
|
322
367
|
require 'ory-client/models/usage'
|
|
368
|
+
require 'ory-client/models/validate_base_url_rewrite_request'
|
|
369
|
+
require 'ory-client/models/validate_base_url_rewrite_response'
|
|
323
370
|
require 'ory-client/models/verifiable_credential_priming_response'
|
|
324
371
|
require 'ory-client/models/verifiable_credential_proof'
|
|
325
372
|
require 'ory-client/models/verifiable_credential_response'
|
|
326
373
|
require 'ory-client/models/verifiable_identity_address'
|
|
374
|
+
require 'ory-client/models/verification_error_code'
|
|
327
375
|
require 'ory-client/models/verification_flow'
|
|
328
376
|
require 'ory-client/models/verification_flow_state'
|
|
377
|
+
require 'ory-client/models/verify_api_key_request'
|
|
378
|
+
require 'ory-client/models/verify_api_key_response'
|
|
329
379
|
require 'ory-client/models/verify_user_code_request'
|
|
330
380
|
require 'ory-client/models/version'
|
|
331
381
|
require 'ory-client/models/warning'
|
|
@@ -334,6 +384,7 @@ require 'ory-client/models/workspace_api_key'
|
|
|
334
384
|
require 'ory-client/models/workspace_organization'
|
|
335
385
|
|
|
336
386
|
# APIs
|
|
387
|
+
require 'ory-client/api/api_keys_api'
|
|
337
388
|
require 'ory-client/api/courier_api'
|
|
338
389
|
require 'ory-client/api/events_api'
|
|
339
390
|
require 'ory-client/api/frontend_api'
|
data/ory-client.gemspec
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: v1.22.
|
|
8
|
+
The version of the OpenAPI document: v1.22.40
|
|
9
9
|
Contact: support@ory.sh
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
|
11
11
|
Generator version: 7.17.0
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Ory APIs
|
|
3
|
+
|
|
4
|
+
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1.22.40
|
|
7
|
+
Contact: support@ory.sh
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.17.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for OryClient::APIKeysApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'APIKeysApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = OryClient::APIKeysApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of APIKeysApi' do
|
|
30
|
+
it 'should create an instance of APIKeysApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(OryClient::APIKeysApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for admin_batch_import_api_keys
|
|
36
|
+
# Batch Import API Keys
|
|
37
|
+
# 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:batchImport { \"requests\": [ {\"raw_key\": \"sk_live_abc\", \"name\": \"Stripe key\", \"actor_id\": \"user_1\"}, {\"raw_key\": \"ghp_xyz\", \"name\": \"GitHub PAT\", \"actor_id\": \"user_2\"} ] } ```
|
|
38
|
+
# @param batch_import_api_keys_request BatchImportAPIKeysRequest imports multiple external API keys in one request. The maximum batch size is 1000 keys.
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [BatchImportAPIKeysResponse]
|
|
41
|
+
describe 'admin_batch_import_api_keys test' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# unit tests for admin_batch_verify_api_keys
|
|
48
|
+
# Batch Verify API Keys
|
|
49
|
+
# Verifies multiple credentials in a single request. Efficiently verifies up to 100 credentials in parallel. Each credential is verified independently; partial failures are returned. Admin access only. Cache Control (HTTP Headers): - Cache-Control: no-cache - Bypasses cache read, forces fresh DB lookup - Cache-Control: no-store - Bypasses cache read AND write (never cached) - Pragma: no-cache - Same as Cache-Control: no-cache (HTTP/1.0) The cache directive applies to every credential in the batch. ```http POST /v2alpha1/admin/apiKeys:batchVerify { \"requests\": [ {\"credential\": \"sk_live_abc123...\"}, {\"credential\": \"eyJhbGciOiJFZERTQSI...\"} ] } ```
|
|
50
|
+
# @param batch_verify_api_keys_request
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @option opts [String] :cache_control Cache-directive controlling the verifier cache. `no-cache` forces a fresh database lookup (cache read is bypassed). `no-store` additionally prevents the result from being written to the cache. Any other value is ignored.
|
|
53
|
+
# @option opts [String] :pragma HTTP/1.0 alias for `Cache-Control: no-cache`. Behaves identically when set to `no-cache`; ignored otherwise.
|
|
54
|
+
# @return [BatchVerifyAPIKeysResponse]
|
|
55
|
+
describe 'admin_batch_verify_api_keys test' do
|
|
56
|
+
it 'should work' do
|
|
57
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# unit tests for admin_delete_imported_api_key
|
|
62
|
+
# Delete Imported API Key
|
|
63
|
+
# Permanently deletes an imported key (hard delete). The key is removed from the database. Use RevokeAPIKey for soft deletion (recommended). ```http DELETE /v2alpha1/admin/importedApiKeys/{key_id} ```
|
|
64
|
+
# @param key_id SHA512/256 hash of the imported key (REQUIRED)
|
|
65
|
+
# @param [Hash] opts the optional parameters
|
|
66
|
+
# @return [Object]
|
|
67
|
+
describe 'admin_delete_imported_api_key test' do
|
|
68
|
+
it 'should work' do
|
|
69
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# unit tests for admin_derive_token
|
|
74
|
+
# Derive Token
|
|
75
|
+
# Mints a short-lived JWT or Macaroon token from an API key. Works with both issued and imported keys. The derived token inherits the permissions of the parent API key. ```http POST /v2alpha1/admin/apiKeys:derive { \"credential\": \"eyJhbGciOiJFZERTQSI...\", \"ttl\": \"1h\" } ```
|
|
76
|
+
# @param derive_token_request
|
|
77
|
+
# @param [Hash] opts the optional parameters
|
|
78
|
+
# @return [DeriveTokenResponse]
|
|
79
|
+
describe 'admin_derive_token test' do
|
|
80
|
+
it 'should work' do
|
|
81
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# unit tests for admin_get_imported_api_key
|
|
86
|
+
# Get Imported API Key
|
|
87
|
+
# Retrieves details about a specific imported key. Returns metadata about the imported key. The original raw key is never returned. ```http GET /v2alpha1/admin/importedApiKeys/{key_id} ```
|
|
88
|
+
# @param key_id SHA512/256 hash of the imported key (REQUIRED)
|
|
89
|
+
# @param [Hash] opts the optional parameters
|
|
90
|
+
# @return [ImportedAPIKey]
|
|
91
|
+
describe 'admin_get_imported_api_key test' do
|
|
92
|
+
it 'should work' do
|
|
93
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# unit tests for admin_get_issued_api_key
|
|
98
|
+
# Get Issued API Key
|
|
99
|
+
# Retrieves details about a specific issued API key including its status, scopes, expiration, and usage statistics. The secret is never returned. ```http GET /v2alpha1/admin/issuedApiKeys/01HQZX9VYQKJB8XQZQXQZQXQXQ ```
|
|
100
|
+
# @param key_id Identifier of the API key resource.
|
|
101
|
+
# @param [Hash] opts the optional parameters
|
|
102
|
+
# @return [IssuedAPIKey]
|
|
103
|
+
describe 'admin_get_issued_api_key test' do
|
|
104
|
+
it 'should work' do
|
|
105
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# unit tests for admin_get_jwks
|
|
110
|
+
# Get JWKS
|
|
111
|
+
# Returns the JSON Web Key Set for token verification. Provides the public keys needed to verify JWT tokens issued by this service. Keys are loaded from configuration (file://, https://, or base64:// URIs). Follows the JWKS standard (RFC 7517). ```http GET /v2alpha1/admin/derivedKeys/jwks.json ```
|
|
112
|
+
# @param [Hash] opts the optional parameters
|
|
113
|
+
# @return [GetJWKSResponse]
|
|
114
|
+
describe 'admin_get_jwks test' do
|
|
115
|
+
it 'should work' do
|
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# unit tests for admin_import_api_key
|
|
121
|
+
# Import API Key
|
|
122
|
+
# Imports an external API key into the system. Allows importing keys from legacy systems or external providers. The raw key is hashed and stored securely (HMAC). Imported keys support token derivation (JWT/Macaroon) like issued keys. ```http POST /v2alpha1/admin/importedApiKeys { \"raw_key\": \"sk_live_abc123xyz\", \"name\": \"Imported Stripe Key\", \"actor_id\": \"user_123\" } ```
|
|
123
|
+
# @param import_api_key_request 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\"} }
|
|
124
|
+
# @param [Hash] opts the optional parameters
|
|
125
|
+
# @return [ImportedAPIKey]
|
|
126
|
+
describe 'admin_import_api_key test' do
|
|
127
|
+
it 'should work' do
|
|
128
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# unit tests for admin_issue_api_key
|
|
133
|
+
# Issue API Key
|
|
134
|
+
# Creates a new API key for a given actor. The secret is returned only once in the response and cannot be retrieved later. Keys can be scoped with specific permissions and have optional expiration. ```http POST /v2alpha1/admin/issuedApiKeys { \"name\": \"production-service\", \"actor_id\": \"user_123\", \"scopes\": [\"read\", \"write\"], \"ttl\": \"8760h\" } ```
|
|
135
|
+
# @param issue_api_key_request
|
|
136
|
+
# @param [Hash] opts the optional parameters
|
|
137
|
+
# @return [IssueAPIKeyResponse]
|
|
138
|
+
describe 'admin_issue_api_key test' do
|
|
139
|
+
it 'should work' do
|
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
# unit tests for admin_list_imported_api_keys
|
|
145
|
+
# List Imported API Keys
|
|
146
|
+
# Lists all imported keys with filtering. Returns imported keys only (not issued keys). Supports pagination and AIP-160 filter expressions. ```http GET /v2alpha1/admin/importedApiKeys?page_size=50&filter=status%3DKEY_STATUS_ACTIVE ```
|
|
147
|
+
# @param [Hash] opts the optional parameters
|
|
148
|
+
# @option opts [Integer] :page_size Number of items per page (default: 50, max: 1000)
|
|
149
|
+
# @option opts [String] :page_token Cursor token for pagination (OPTIONAL)
|
|
150
|
+
# @option opts [String] :filter filter is an AIP-160 expression. Indexed fields (efficient at any scale): actor_id, status. Other fields are not indexed and may be rejected. Examples: actor_id=\"user_123\" status=KEY_STATUS_ACTIVE actor_id=\"user_123\" AND status=KEY_STATUS_ACTIVE
|
|
151
|
+
# @return [ListImportedAPIKeysResponse]
|
|
152
|
+
describe 'admin_list_imported_api_keys test' do
|
|
153
|
+
it 'should work' do
|
|
154
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# unit tests for admin_list_issued_api_keys
|
|
159
|
+
# List Issued API Keys
|
|
160
|
+
# 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 ```
|
|
161
|
+
# @param [Hash] opts the optional parameters
|
|
162
|
+
# @option opts [Integer] :page_size Number of items per page (default: 50, max: 1000)
|
|
163
|
+
# @option opts [String] :page_token Cursor token for pagination
|
|
164
|
+
# @option opts [String] :filter filter is an AIP-160 expression. Indexed fields (efficient at any scale): actor_id, status. Other fields are not indexed and may be rejected. Examples: actor_id=\"user_123\" status=KEY_STATUS_ACTIVE actor_id=\"user_123\" AND status=KEY_STATUS_ACTIVE
|
|
165
|
+
# @return [ListIssuedAPIKeysResponse]
|
|
166
|
+
describe 'admin_list_issued_api_keys test' do
|
|
167
|
+
it 'should work' do
|
|
168
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
169
|
+
end
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# unit tests for admin_revoke_api_key
|
|
173
|
+
# Revoke API Key
|
|
174
|
+
# Immediately revokes an API key (issued or imported). 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/apiKeys/01HQZX9VYQKJB8XQZQXQZQXQXQ:revoke { \"reason\": \"REVOCATION_REASON_KEY_COMPROMISE\" } ```
|
|
175
|
+
# @param key_id Identifier of the API key resource.
|
|
176
|
+
# @param admin_revoke_api_key_body
|
|
177
|
+
# @param [Hash] opts the optional parameters
|
|
178
|
+
# @return [Object]
|
|
179
|
+
describe 'admin_revoke_api_key test' do
|
|
180
|
+
it 'should work' do
|
|
181
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
182
|
+
end
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
# unit tests for admin_rotate_issued_api_key
|
|
186
|
+
# Rotate Issued API Key
|
|
187
|
+
# 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. RevokeAPIKey to remove the old key ```http POST /v2alpha1/admin/issuedApiKeys/01HQZX9VYQKJB8XQZQXQZQXQXQ:rotate { \"scopes\": [\"read\"] } ```
|
|
188
|
+
# @param key_id key_id is the ID of the existing API key to rotate
|
|
189
|
+
# @param admin_rotate_issued_api_key_body
|
|
190
|
+
# @param [Hash] opts the optional parameters
|
|
191
|
+
# @return [RotateIssuedAPIKeyResponse]
|
|
192
|
+
describe 'admin_rotate_issued_api_key test' do
|
|
193
|
+
it 'should work' do
|
|
194
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
195
|
+
end
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
# unit tests for admin_update_imported_api_key
|
|
199
|
+
# Update Imported API Key
|
|
200
|
+
# Updates metadata, scopes, or rate limits of an imported key. Supports partial updates via the update_mask query parameter (AIP-134). Omitting update_mask is equivalent to a mask of every populated field in the body. To clear a field to its zero value, list it explicitly in update_mask and leave it unset (or empty) in the body. ```http PATCH /v2alpha1/admin/importedApiKeys/{key_id}?update_mask=name { \"imported_api_key\": { \"key_id\": \"{key_id}\", \"name\": \"New name\" } } ```
|
|
201
|
+
# @param key_id SHA-512/256 hash of credential
|
|
202
|
+
# @param admin_update_imported_api_key_request
|
|
203
|
+
# @param [Hash] opts the optional parameters
|
|
204
|
+
# @option opts [String] :update_mask The list of fields to update. See AIP-134.
|
|
205
|
+
# @return [ImportedAPIKey]
|
|
206
|
+
describe 'admin_update_imported_api_key test' do
|
|
207
|
+
it 'should work' do
|
|
208
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
209
|
+
end
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
# unit tests for admin_update_issued_api_key
|
|
213
|
+
# Update Issued API Key
|
|
214
|
+
# 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\"] } } ```
|
|
215
|
+
# @param key_id Identifier of the API key resource.
|
|
216
|
+
# @param admin_update_issued_api_key_request
|
|
217
|
+
# @param [Hash] opts the optional parameters
|
|
218
|
+
# @option opts [String] :update_mask The list of fields to update. See AIP-134.
|
|
219
|
+
# @return [IssuedAPIKey]
|
|
220
|
+
describe 'admin_update_issued_api_key test' do
|
|
221
|
+
it 'should work' do
|
|
222
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
223
|
+
end
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
# unit tests for admin_verify_api_key
|
|
227
|
+
# Verify API Key
|
|
228
|
+
# Verifies a single API key or derived token. Validates the credential's signature, expiration, and revocation status. Works with any credential type (issued keys, imported keys, JWT, macaroon). The verification result includes decoded claims and metadata — admin access only. Cache Control (HTTP Headers): - Cache-Control: no-cache - Bypasses cache read, forces fresh DB lookup - Cache-Control: no-store - Bypasses cache read AND write (never cached) - Pragma: no-cache - Same as Cache-Control: no-cache (HTTP/1.0) ```http POST /v2alpha1/admin/apiKeys:verify { \"credential\": \"sk_live_abc123...\" } ```
|
|
229
|
+
# @param verify_api_key_request
|
|
230
|
+
# @param [Hash] opts the optional parameters
|
|
231
|
+
# @option opts [String] :cache_control Cache-directive controlling the verifier cache. `no-cache` forces a fresh database lookup (cache read is bypassed). `no-store` additionally prevents the result from being written to the cache. Any other value is ignored.
|
|
232
|
+
# @option opts [String] :pragma HTTP/1.0 alias for `Cache-Control: no-cache`. Behaves identically when set to `no-cache`; ignored otherwise.
|
|
233
|
+
# @return [VerifyAPIKeyResponse]
|
|
234
|
+
describe 'admin_verify_api_key test' do
|
|
235
|
+
it 'should work' do
|
|
236
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
237
|
+
end
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
# unit tests for revoke_api_key
|
|
241
|
+
# Revoke API Key (self-service)
|
|
242
|
+
# Proof-of-possession variant of revocation. Lives alongside `AdminRevokeAPIKey` in this service; the `Self*` prefix on the request/response messages disambiguates from the admin variant's `RevokeAPIKeyRequest`. 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\" } ```
|
|
243
|
+
# @param self_revoke_api_key_request SelfRevokeAPIKeyRequest allows an API key holder to revoke their own key by providing the full key secret as proof of possession.
|
|
244
|
+
# @param [Hash] opts the optional parameters
|
|
245
|
+
# @return [Object]
|
|
246
|
+
describe 'revoke_api_key test' do
|
|
247
|
+
it 'should work' do
|
|
248
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
249
|
+
end
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: v1.22.
|
|
6
|
+
The version of the OpenAPI document: v1.22.40
|
|
7
7
|
Contact: support@ory.sh
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.17.0
|
data/spec/api/events_api_spec.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: v1.22.
|
|
6
|
+
The version of the OpenAPI document: v1.22.40
|
|
7
7
|
Contact: support@ory.sh
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.17.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: v1.22.
|
|
6
|
+
The version of the OpenAPI document: v1.22.40
|
|
7
7
|
Contact: support@ory.sh
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.17.0
|
|
@@ -198,6 +198,19 @@ describe 'FrontendApi' do
|
|
|
198
198
|
end
|
|
199
199
|
end
|
|
200
200
|
|
|
201
|
+
# unit tests for delete_test_login_flow
|
|
202
|
+
# Delete a test OIDC login flow
|
|
203
|
+
# Deletes a dry-run OIDC test login flow. A flow whose debug payload has been captured requires the HMAC cookie set by the OIDC callback; a flow still in the initial choose-method state is deletable with just the flow ID (it carries no PII, and the admin may want to abandon it).
|
|
204
|
+
# @param id ID of the test login flow to delete.
|
|
205
|
+
# @param [Hash] opts the optional parameters
|
|
206
|
+
# @option opts [String] :cookie HTTP Cookies. A captured test flow requires the ory_kratos_test_flow cookie set by the OIDC callback; a flow still in the initial choose-method state does not.
|
|
207
|
+
# @return [nil]
|
|
208
|
+
describe 'delete_test_login_flow test' do
|
|
209
|
+
it 'should work' do
|
|
210
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
211
|
+
end
|
|
212
|
+
end
|
|
213
|
+
|
|
201
214
|
# unit tests for disable_my_other_sessions
|
|
202
215
|
# Disable my other sessions
|
|
203
216
|
# Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: v1.22.
|
|
6
|
+
The version of the OpenAPI document: v1.22.40
|
|
7
7
|
Contact: support@ory.sh
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.17.0
|
|
@@ -81,6 +81,18 @@ describe 'IdentityApi' do
|
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
+
# unit tests for create_test_login_flow
|
|
85
|
+
# Create a test OIDC login flow
|
|
86
|
+
# Creates a dry-run OIDC test login flow pre-scoped to one provider. The returned flow carries a single-submit UI and a CSRF bearer token. No identity is persisted and no session is issued when the flow completes; the captured debug data is returned in the flow's test_context.
|
|
87
|
+
# @param create_test_login_flow_body
|
|
88
|
+
# @param [Hash] opts the optional parameters
|
|
89
|
+
# @return [LoginFlow]
|
|
90
|
+
describe 'create_test_login_flow test' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
84
96
|
# unit tests for delete_identity
|
|
85
97
|
# Delete an Identity
|
|
86
98
|
# Calling this endpoint irrecoverably and permanently deletes the [identity](https://www.ory.com/docs/kratos/concepts/identity-user-model) given its ID. This action can not be undone. This endpoint returns 204 when the identity was deleted or 404 if the identity was not found.
|
|
@@ -97,7 +109,7 @@ describe 'IdentityApi' do
|
|
|
97
109
|
# Delete a credential for a specific identity
|
|
98
110
|
# Delete an [identity](https://www.ory.com/docs/kratos/concepts/identity-user-model) credential by its type. You cannot delete passkeys or code auth credentials through this API.
|
|
99
111
|
# @param id ID is the identity's ID.
|
|
100
|
-
# @param type Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML deviceauthn CredentialsTypeDeviceAuthn link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode
|
|
112
|
+
# @param type Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML deviceauthn CredentialsTypeDeviceAuthn identifier_first CredentialsTypeIdentifierFirst link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode
|
|
101
113
|
# @param [Hash] opts the optional parameters
|
|
102
114
|
# @option opts [String] :identifier Identifier is the identifier of the OIDC/SAML credential to delete. Find the identifier by calling the `GET /admin/identities/{id}?include_credential={oidc,saml}` endpoint.
|
|
103
115
|
# @return [nil]
|
|
@@ -262,6 +274,18 @@ describe 'IdentityApi' do
|
|
|
262
274
|
end
|
|
263
275
|
end
|
|
264
276
|
|
|
277
|
+
# unit tests for manage_sessions
|
|
278
|
+
# Manage sessions in bulk
|
|
279
|
+
# Disable or delete sessions for a list of identities or a list of sessions in a single call. The `action` field selects the operation: `disable` — deactivate matching sessions (sets `active = false`, preserves audit data). `delete` — permanently delete matching sessions. Exactly one of `identities` or `sessions` must be provided. To scope the operation to every session in the network, pass `identities: [\"*\"]`; the wildcard is not accepted in the `sessions` field. Up to 500 explicit IDs are accepted per call. All requests return `200 OK` with `{processed, more}`. `processed` reports how many rows the call affected; for `disable` it counts only sessions that were active before the call. `more` is `true` only when a wildcard request reached the per-call batch limit and additional rows may remain; callers drain the network by re-issuing the same request while `more` is `true`. Explicit-IDs requests always return `more: false`.
|
|
280
|
+
# @param manage_sessions_body
|
|
281
|
+
# @param [Hash] opts the optional parameters
|
|
282
|
+
# @return [ManageSessionsResponse]
|
|
283
|
+
describe 'manage_sessions test' do
|
|
284
|
+
it 'should work' do
|
|
285
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
286
|
+
end
|
|
287
|
+
end
|
|
288
|
+
|
|
265
289
|
# unit tests for patch_identity
|
|
266
290
|
# Patch an Identity
|
|
267
291
|
# Partially updates an [identity's](https://www.ory.com/docs/kratos/concepts/identity-user-model) field using [JSON Patch](https://jsonpatch.com/). The fields `id`, `stateChangedAt` and `credentials` can not be updated using this method.
|
data/spec/api/jwk_api_spec.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: v1.22.
|
|
6
|
+
The version of the OpenAPI document: v1.22.40
|
|
7
7
|
Contact: support@ory.sh
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.17.0
|