ory-client 0.1.0.alpha11 → 0.2.0.alpha4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +15 -10
- data/docs/AdminUpdateIdentityBody.md +2 -0
- data/docs/{InlineResponse2001.md → GetVersion200Response.md} +2 -2
- data/docs/IdentitySchema.md +0 -2
- data/docs/IdentitySchemaContainer.md +20 -0
- data/docs/{InlineResponse200.md → IsAlive200Response.md} +2 -2
- data/docs/{InlineResponse503.md → IsReady503Response.md} +2 -2
- data/docs/JsonPatch.md +4 -2
- data/docs/MetadataApi.md +12 -12
- data/docs/Pagination.md +1 -1
- data/docs/QuotaCustomDomains.md +22 -0
- data/docs/SubmitSelfServiceLoginFlowWithWebAuthnMethodBody.md +1 -1
- data/docs/Subscription.md +1 -1
- data/docs/TokenPagination.md +20 -0
- data/docs/TokenPaginationHeaders.md +20 -0
- data/docs/UiNodeInputAttributes.md +3 -1
- data/docs/V0alpha2Api.md +101 -27
- data/docs/VerifiableIdentityAddress.md +1 -1
- data/lib/ory-client/api/metadata_api.rb +11 -11
- data/lib/ory-client/api/read_api.rb +2 -2
- data/lib/ory-client/api/v0alpha2_api.rb +102 -32
- data/lib/ory-client/api/write_api.rb +2 -2
- data/lib/ory-client/api_client.rb +5 -3
- data/lib/ory-client/api_error.rb +2 -2
- data/lib/ory-client/configuration.rb +4 -3
- data/lib/ory-client/models/active_project.rb +3 -2
- data/lib/ory-client/models/admin_create_identity_body.rb +3 -2
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +3 -2
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +3 -2
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +3 -2
- data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +3 -2
- data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +3 -2
- data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +3 -2
- data/lib/ory-client/models/admin_identity_import_credentials.rb +3 -2
- data/lib/ory-client/models/admin_update_identity_body.rb +13 -3
- data/lib/ory-client/models/api_token.rb +3 -2
- data/lib/ory-client/models/authenticator_assurance_level.rb +2 -2
- data/lib/ory-client/models/cloud_account.rb +3 -2
- data/lib/ory-client/models/cname_settings.rb +3 -2
- data/lib/ory-client/models/create_custom_hostname_body.rb +3 -2
- data/lib/ory-client/models/create_project_body.rb +3 -2
- data/lib/ory-client/models/create_subscription_payload.rb +3 -2
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +3 -2
- data/lib/ory-client/models/expand_tree.rb +3 -2
- data/lib/ory-client/models/generic_error.rb +3 -2
- data/lib/ory-client/models/generic_error_content.rb +3 -2
- data/lib/ory-client/models/get_check_response.rb +3 -2
- data/lib/ory-client/models/get_relation_tuples_response.rb +3 -2
- data/lib/ory-client/models/{inline_response2001.rb → get_version200_response.rb} +6 -5
- data/lib/ory-client/models/health_not_ready_status.rb +3 -2
- data/lib/ory-client/models/health_status.rb +3 -2
- data/lib/ory-client/models/identity.rb +3 -2
- data/lib/ory-client/models/identity_credentials.rb +3 -2
- data/lib/ory-client/models/identity_credentials_oidc.rb +3 -2
- data/lib/ory-client/models/identity_credentials_oidc_provider.rb +3 -2
- data/lib/ory-client/models/identity_credentials_password.rb +3 -2
- data/lib/ory-client/models/identity_credentials_type.rb +2 -2
- data/lib/ory-client/models/identity_schema.rb +4 -13
- data/lib/ory-client/models/identity_schema_container.rb +229 -0
- data/lib/ory-client/models/identity_schema_location.rb +3 -2
- data/lib/ory-client/models/identity_schema_preset.rb +3 -2
- data/lib/ory-client/models/identity_schema_validation_result.rb +3 -2
- data/lib/ory-client/models/identity_state.rb +2 -2
- data/lib/ory-client/models/internal_relation_tuple.rb +3 -2
- data/lib/ory-client/models/invite_payload.rb +3 -2
- data/lib/ory-client/models/{inline_response200.rb → is_alive200_response.rb} +6 -5
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +3 -2
- data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +3 -2
- data/lib/ory-client/models/{inline_response503.rb → is_ready503_response.rb} +6 -5
- data/lib/ory-client/models/json_error.rb +3 -2
- data/lib/ory-client/models/json_patch.rb +14 -3
- data/lib/ory-client/models/keto_namespace.rb +3 -2
- data/lib/ory-client/models/needs_privileged_session_error.rb +3 -2
- data/lib/ory-client/models/normalized_project.rb +3 -2
- data/lib/ory-client/models/normalized_project_revision.rb +3 -2
- data/lib/ory-client/models/normalized_project_revision_hook.rb +3 -2
- data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +3 -2
- data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +3 -2
- data/lib/ory-client/models/null_plan.rb +2 -2
- data/lib/ory-client/models/pagination.rb +4 -3
- data/lib/ory-client/models/patch_delta.rb +3 -2
- data/lib/ory-client/models/project.rb +3 -2
- data/lib/ory-client/models/project_host.rb +3 -2
- data/lib/ory-client/models/project_invite.rb +3 -2
- data/lib/ory-client/models/project_metadata.rb +3 -2
- data/lib/ory-client/models/project_service_identity.rb +3 -2
- data/lib/ory-client/models/project_service_permission.rb +3 -2
- data/lib/ory-client/models/project_services.rb +3 -2
- data/lib/ory-client/models/provision_mock_subscription_payload.rb +3 -2
- data/lib/ory-client/models/quota_custom_domains.rb +237 -0
- data/lib/ory-client/models/quota_project_member_seats.rb +3 -2
- data/lib/ory-client/models/recovery_address.rb +3 -2
- data/lib/ory-client/models/relation_query.rb +3 -2
- data/lib/ory-client/models/revoked_sessions.rb +3 -2
- data/lib/ory-client/models/schema_patch.rb +3 -2
- data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +3 -2
- data/lib/ory-client/models/self_service_error.rb +3 -2
- data/lib/ory-client/models/self_service_flow_expired_error.rb +3 -2
- data/lib/ory-client/models/self_service_login_flow.rb +3 -2
- data/lib/ory-client/models/self_service_logout_url.rb +3 -2
- data/lib/ory-client/models/self_service_recovery_flow.rb +3 -2
- data/lib/ory-client/models/self_service_recovery_flow_state.rb +2 -2
- data/lib/ory-client/models/self_service_recovery_link.rb +3 -2
- data/lib/ory-client/models/self_service_registration_flow.rb +3 -2
- data/lib/ory-client/models/self_service_settings_flow.rb +3 -2
- data/lib/ory-client/models/self_service_settings_flow_state.rb +2 -2
- data/lib/ory-client/models/self_service_verification_flow.rb +3 -2
- data/lib/ory-client/models/self_service_verification_flow_state.rb +2 -2
- data/lib/ory-client/models/session.rb +3 -2
- data/lib/ory-client/models/session_authentication_method.rb +3 -2
- data/lib/ory-client/models/session_device.rb +3 -2
- data/lib/ory-client/models/settings_profile_form_config.rb +3 -2
- data/lib/ory-client/models/stripe_customer_response.rb +3 -2
- data/lib/ory-client/models/subject_set.rb +3 -2
- data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +3 -2
- data/lib/ory-client/models/submit_self_service_login_flow_body.rb +4 -4
- data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +9 -3
- data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +4 -4
- data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +4 -4
- data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +4 -4
- data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +4 -4
- data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +3 -2
- data/lib/ory-client/models/subscription.rb +4 -2
- data/lib/ory-client/models/successful_project_update.rb +3 -2
- data/lib/ory-client/models/successful_self_service_login_without_browser.rb +3 -2
- data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +3 -2
- data/lib/ory-client/models/token_pagination.rb +264 -0
- data/lib/ory-client/models/token_pagination_headers.rb +230 -0
- data/lib/ory-client/models/ui_container.rb +3 -2
- data/lib/ory-client/models/ui_node.rb +3 -2
- data/lib/ory-client/models/ui_node_anchor_attributes.rb +3 -2
- data/lib/ory-client/models/ui_node_attributes.rb +4 -4
- data/lib/ory-client/models/ui_node_image_attributes.rb +3 -2
- data/lib/ory-client/models/ui_node_input_attributes.rb +49 -3
- data/lib/ory-client/models/ui_node_meta.rb +3 -2
- data/lib/ory-client/models/ui_node_script_attributes.rb +3 -2
- data/lib/ory-client/models/ui_node_text_attributes.rb +3 -2
- data/lib/ory-client/models/ui_text.rb +3 -2
- data/lib/ory-client/models/update_custom_hostname_body.rb +3 -2
- data/lib/ory-client/models/update_project.rb +3 -2
- data/lib/ory-client/models/update_subscription_payload.rb +3 -2
- data/lib/ory-client/models/verifiable_identity_address.rb +3 -7
- data/lib/ory-client/models/version.rb +3 -2
- data/lib/ory-client/models/warning.rb +3 -2
- data/lib/ory-client/version.rb +3 -3
- data/lib/ory-client.rb +9 -5
- data/ory-client.gemspec +2 -2
- data/spec/api/metadata_api_spec.rb +5 -5
- data/spec/api/read_api_spec.rb +2 -2
- data/spec/api/v0alpha2_api_spec.rb +26 -13
- data/spec/api/write_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/active_project_spec.rb +2 -2
- data/spec/models/admin_create_identity_body_spec.rb +2 -2
- data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +2 -2
- data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +2 -2
- data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +2 -2
- data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +2 -2
- data/spec/models/admin_create_identity_import_credentials_password_spec.rb +2 -2
- data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +2 -2
- data/spec/models/admin_identity_import_credentials_spec.rb +2 -2
- data/spec/models/admin_update_identity_body_spec.rb +8 -2
- data/spec/models/api_token_spec.rb +2 -2
- data/spec/models/authenticator_assurance_level_spec.rb +2 -2
- data/spec/models/cloud_account_spec.rb +2 -2
- data/spec/models/cname_settings_spec.rb +2 -2
- data/spec/models/create_custom_hostname_body_spec.rb +2 -2
- data/spec/models/create_project_body_spec.rb +2 -2
- data/spec/models/create_subscription_payload_spec.rb +2 -2
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +2 -2
- data/spec/models/expand_tree_spec.rb +2 -2
- data/spec/models/generic_error_content_spec.rb +2 -2
- data/spec/models/generic_error_spec.rb +2 -2
- data/spec/models/get_check_response_spec.rb +2 -2
- data/spec/models/get_relation_tuples_response_spec.rb +2 -2
- data/spec/models/{inline_response2001_spec.rb → get_version200_response_spec.rb} +8 -8
- data/spec/models/health_not_ready_status_spec.rb +2 -2
- data/spec/models/health_status_spec.rb +2 -2
- data/spec/models/identity_credentials_oidc_provider_spec.rb +2 -2
- data/spec/models/identity_credentials_oidc_spec.rb +2 -2
- data/spec/models/identity_credentials_password_spec.rb +2 -2
- data/spec/models/identity_credentials_spec.rb +2 -2
- data/spec/models/identity_credentials_type_spec.rb +2 -2
- data/spec/models/identity_schema_container_spec.rb +40 -0
- data/spec/models/identity_schema_location_spec.rb +2 -2
- data/spec/models/identity_schema_preset_spec.rb +2 -2
- data/spec/models/identity_schema_spec.rb +2 -8
- data/spec/models/identity_schema_validation_result_spec.rb +2 -2
- data/spec/models/identity_spec.rb +2 -2
- data/spec/models/identity_state_spec.rb +2 -2
- data/spec/models/internal_relation_tuple_spec.rb +2 -2
- data/spec/models/invite_payload_spec.rb +2 -2
- data/spec/models/{inline_response200_spec.rb → is_alive200_response_spec.rb} +8 -8
- data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +2 -2
- data/spec/models/is_owner_for_project_by_slug_spec.rb +2 -2
- data/spec/models/{inline_response503_spec.rb → is_ready503_response_spec.rb} +8 -8
- data/spec/models/json_error_spec.rb +2 -2
- data/spec/models/json_patch_spec.rb +8 -2
- data/spec/models/keto_namespace_spec.rb +2 -2
- data/spec/models/needs_privileged_session_error_spec.rb +2 -2
- data/spec/models/normalized_project_revision_hook_spec.rb +2 -2
- data/spec/models/normalized_project_revision_identity_schema_spec.rb +2 -2
- data/spec/models/normalized_project_revision_spec.rb +2 -2
- data/spec/models/normalized_project_revision_third_party_provider_spec.rb +2 -2
- data/spec/models/normalized_project_spec.rb +2 -2
- data/spec/models/null_plan_spec.rb +2 -2
- data/spec/models/pagination_spec.rb +2 -2
- data/spec/models/patch_delta_spec.rb +2 -2
- data/spec/models/project_host_spec.rb +2 -2
- data/spec/models/project_invite_spec.rb +2 -2
- data/spec/models/project_metadata_spec.rb +2 -2
- data/spec/models/project_service_identity_spec.rb +2 -2
- data/spec/models/project_service_permission_spec.rb +2 -2
- data/spec/models/project_services_spec.rb +2 -2
- data/spec/models/project_spec.rb +2 -2
- data/spec/models/provision_mock_subscription_payload_spec.rb +2 -2
- data/spec/models/quota_custom_domains_spec.rb +46 -0
- data/spec/models/quota_project_member_seats_spec.rb +2 -2
- data/spec/models/recovery_address_spec.rb +2 -2
- data/spec/models/relation_query_spec.rb +2 -2
- data/spec/models/revoked_sessions_spec.rb +2 -2
- data/spec/models/schema_patch_spec.rb +2 -2
- data/spec/models/self_service_browser_location_change_required_error_spec.rb +2 -2
- data/spec/models/self_service_error_spec.rb +2 -2
- data/spec/models/self_service_flow_expired_error_spec.rb +2 -2
- data/spec/models/self_service_login_flow_spec.rb +2 -2
- data/spec/models/self_service_logout_url_spec.rb +2 -2
- data/spec/models/self_service_recovery_flow_spec.rb +2 -2
- data/spec/models/self_service_recovery_flow_state_spec.rb +2 -2
- data/spec/models/self_service_recovery_link_spec.rb +2 -2
- data/spec/models/self_service_registration_flow_spec.rb +2 -2
- data/spec/models/self_service_settings_flow_spec.rb +2 -2
- data/spec/models/self_service_settings_flow_state_spec.rb +2 -2
- data/spec/models/self_service_verification_flow_spec.rb +2 -2
- data/spec/models/self_service_verification_flow_state_spec.rb +2 -2
- data/spec/models/session_authentication_method_spec.rb +2 -2
- data/spec/models/session_device_spec.rb +2 -2
- data/spec/models/session_spec.rb +2 -2
- data/spec/models/settings_profile_form_config_spec.rb +2 -2
- data/spec/models/stripe_customer_response_spec.rb +2 -2
- data/spec/models/subject_set_spec.rb +2 -2
- data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +2 -2
- data/spec/models/submit_self_service_recovery_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_registration_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_verification_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +2 -2
- data/spec/models/subscription_spec.rb +2 -2
- data/spec/models/successful_project_update_spec.rb +2 -2
- data/spec/models/successful_self_service_login_without_browser_spec.rb +2 -2
- data/spec/models/successful_self_service_registration_without_browser_spec.rb +2 -2
- data/spec/models/token_pagination_headers_spec.rb +40 -0
- data/spec/models/token_pagination_spec.rb +40 -0
- data/spec/models/ui_container_spec.rb +2 -2
- data/spec/models/ui_node_anchor_attributes_spec.rb +2 -2
- data/spec/models/ui_node_attributes_spec.rb +2 -2
- data/spec/models/ui_node_image_attributes_spec.rb +2 -2
- data/spec/models/ui_node_input_attributes_spec.rb +12 -2
- data/spec/models/ui_node_meta_spec.rb +2 -2
- data/spec/models/ui_node_script_attributes_spec.rb +2 -2
- data/spec/models/ui_node_spec.rb +2 -2
- data/spec/models/ui_node_text_attributes_spec.rb +2 -2
- data/spec/models/ui_text_spec.rb +2 -2
- data/spec/models/update_custom_hostname_body_spec.rb +2 -2
- data/spec/models/update_project_spec.rb +2 -2
- data/spec/models/update_subscription_payload_spec.rb +2 -2
- data/spec/models/verifiable_identity_address_spec.rb +2 -2
- data/spec/models/version_spec.rb +2 -2
- data/spec/models/warning_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/Makefile +2 -2
- metadata +30 -14
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -406,7 +406,7 @@ module OryClient
|
|
406
406
|
# Lists all identities. Does not support search at the moment. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
|
407
407
|
# @param [Hash] opts the optional parameters
|
408
408
|
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
409
|
-
# @option opts [Integer] :page Pagination Page (default to 1)
|
409
|
+
# @option opts [Integer] :page Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. (default to 1)
|
410
410
|
# @return [Array<Identity>]
|
411
411
|
def admin_list_identities(opts = {})
|
412
412
|
data, _status_code, _headers = admin_list_identities_with_http_info(opts)
|
@@ -416,8 +416,8 @@ module OryClient
|
|
416
416
|
# List Identities
|
417
417
|
# Lists all identities. Does not support search at the moment. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
|
418
418
|
# @param [Hash] opts the optional parameters
|
419
|
-
# @option opts [Integer] :per_page Items per Page This is the number of items per page.
|
420
|
-
# @option opts [Integer] :page Pagination Page
|
419
|
+
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
420
|
+
# @option opts [Integer] :page Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. (default to 1)
|
421
421
|
# @return [Array<(Array<Identity>, Integer, Hash)>] Array<Identity> data, response status code and response headers
|
422
422
|
def admin_list_identities_with_http_info(opts = {})
|
423
423
|
if @api_client.config.debugging
|
@@ -482,7 +482,7 @@ module OryClient
|
|
482
482
|
# @param id [String] ID is the identity's ID.
|
483
483
|
# @param [Hash] opts the optional parameters
|
484
484
|
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
485
|
-
# @option opts [Integer] :page Pagination Page (default to 1)
|
485
|
+
# @option opts [Integer] :page Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. (default to 1)
|
486
486
|
# @option opts [Boolean] :active Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.
|
487
487
|
# @return [Array<Session>]
|
488
488
|
def admin_list_identity_sessions(id, opts = {})
|
@@ -494,8 +494,8 @@ module OryClient
|
|
494
494
|
# This endpoint is useful for: Listing all sessions that belong to an Identity in an administrative context.
|
495
495
|
# @param id [String] ID is the identity's ID.
|
496
496
|
# @param [Hash] opts the optional parameters
|
497
|
-
# @option opts [Integer] :per_page Items per Page This is the number of items per page.
|
498
|
-
# @option opts [Integer] :page Pagination Page
|
497
|
+
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
498
|
+
# @option opts [Integer] :page Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. (default to 1)
|
499
499
|
# @option opts [Boolean] :active Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.
|
500
500
|
# @return [Array<(Array<Session>, Integer, Hash)>] Array<Session> data, response status code and response headers
|
501
501
|
def admin_list_identity_sessions_with_http_info(id, opts = {})
|
@@ -561,6 +561,76 @@ module OryClient
|
|
561
561
|
return data, status_code, headers
|
562
562
|
end
|
563
563
|
|
564
|
+
# Partially updates an Identity's field using [JSON Patch](https://jsonpatch.com/)
|
565
|
+
# NOTE: The fields `id`, `stateChangedAt` and `credentials` are not updateable. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
|
566
|
+
# @param id [String] ID must be set to the ID of identity you want to update
|
567
|
+
# @param [Hash] opts the optional parameters
|
568
|
+
# @option opts [Array<JsonPatch>] :json_patch
|
569
|
+
# @return [Identity]
|
570
|
+
def admin_patch_identity(id, opts = {})
|
571
|
+
data, _status_code, _headers = admin_patch_identity_with_http_info(id, opts)
|
572
|
+
data
|
573
|
+
end
|
574
|
+
|
575
|
+
# Partially updates an Identity's field using [JSON Patch](https://jsonpatch.com/)
|
576
|
+
# NOTE: The fields `id`, `stateChangedAt` and `credentials` are not updateable. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
|
577
|
+
# @param id [String] ID must be set to the ID of identity you want to update
|
578
|
+
# @param [Hash] opts the optional parameters
|
579
|
+
# @option opts [Array<JsonPatch>] :json_patch
|
580
|
+
# @return [Array<(Identity, Integer, Hash)>] Identity data, response status code and response headers
|
581
|
+
def admin_patch_identity_with_http_info(id, opts = {})
|
582
|
+
if @api_client.config.debugging
|
583
|
+
@api_client.config.logger.debug 'Calling API: V0alpha2Api.admin_patch_identity ...'
|
584
|
+
end
|
585
|
+
# verify the required parameter 'id' is set
|
586
|
+
if @api_client.config.client_side_validation && id.nil?
|
587
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.admin_patch_identity"
|
588
|
+
end
|
589
|
+
# resource path
|
590
|
+
local_var_path = '/admin/identities/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
591
|
+
|
592
|
+
# query parameters
|
593
|
+
query_params = opts[:query_params] || {}
|
594
|
+
|
595
|
+
# header parameters
|
596
|
+
header_params = opts[:header_params] || {}
|
597
|
+
# HTTP header 'Accept' (if needed)
|
598
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
599
|
+
# HTTP header 'Content-Type'
|
600
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
601
|
+
if !content_type.nil?
|
602
|
+
header_params['Content-Type'] = content_type
|
603
|
+
end
|
604
|
+
|
605
|
+
# form parameters
|
606
|
+
form_params = opts[:form_params] || {}
|
607
|
+
|
608
|
+
# http body (model)
|
609
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'json_patch'])
|
610
|
+
|
611
|
+
# return_type
|
612
|
+
return_type = opts[:debug_return_type] || 'Identity'
|
613
|
+
|
614
|
+
# auth_names
|
615
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
616
|
+
|
617
|
+
new_options = opts.merge(
|
618
|
+
:operation => :"V0alpha2Api.admin_patch_identity",
|
619
|
+
:header_params => header_params,
|
620
|
+
:query_params => query_params,
|
621
|
+
:form_params => form_params,
|
622
|
+
:body => post_body,
|
623
|
+
:auth_names => auth_names,
|
624
|
+
:return_type => return_type
|
625
|
+
)
|
626
|
+
|
627
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
628
|
+
if @api_client.config.debugging
|
629
|
+
@api_client.config.logger.debug "API called: V0alpha2Api#admin_patch_identity\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
630
|
+
end
|
631
|
+
return data, status_code, headers
|
632
|
+
end
|
633
|
+
|
564
634
|
# Update an Identity
|
565
635
|
# This endpoint updates an identity. The full identity payload (except credentials) is expected. This endpoint does not support patching. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
|
566
636
|
# @param id [String] ID must be set to the ID of identity you want to update
|
@@ -758,23 +828,23 @@ module OryClient
|
|
758
828
|
# Get a JSON Schema
|
759
829
|
# @param id [String] ID must be set to the ID of schema you want to get
|
760
830
|
# @param [Hash] opts the optional parameters
|
761
|
-
# @return [
|
762
|
-
def
|
763
|
-
data, _status_code, _headers =
|
831
|
+
# @return [IdentitySchema]
|
832
|
+
def get_identity_schema(id, opts = {})
|
833
|
+
data, _status_code, _headers = get_identity_schema_with_http_info(id, opts)
|
764
834
|
data
|
765
835
|
end
|
766
836
|
|
767
837
|
# Get a JSON Schema
|
768
838
|
# @param id [String] ID must be set to the ID of schema you want to get
|
769
839
|
# @param [Hash] opts the optional parameters
|
770
|
-
# @return [Array<(
|
771
|
-
def
|
840
|
+
# @return [Array<(IdentitySchema, Integer, Hash)>] IdentitySchema data, response status code and response headers
|
841
|
+
def get_identity_schema_with_http_info(id, opts = {})
|
772
842
|
if @api_client.config.debugging
|
773
|
-
@api_client.config.logger.debug 'Calling API: V0alpha2Api.
|
843
|
+
@api_client.config.logger.debug 'Calling API: V0alpha2Api.get_identity_schema ...'
|
774
844
|
end
|
775
845
|
# verify the required parameter 'id' is set
|
776
846
|
if @api_client.config.client_side_validation && id.nil?
|
777
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.
|
847
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.get_identity_schema"
|
778
848
|
end
|
779
849
|
# resource path
|
780
850
|
local_var_path = '/schemas/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
@@ -794,13 +864,13 @@ module OryClient
|
|
794
864
|
post_body = opts[:debug_body]
|
795
865
|
|
796
866
|
# return_type
|
797
|
-
return_type = opts[:debug_return_type] || '
|
867
|
+
return_type = opts[:debug_return_type] || 'IdentitySchema'
|
798
868
|
|
799
869
|
# auth_names
|
800
870
|
auth_names = opts[:debug_auth_names] || []
|
801
871
|
|
802
872
|
new_options = opts.merge(
|
803
|
-
:operation => :"V0alpha2Api.
|
873
|
+
:operation => :"V0alpha2Api.get_identity_schema",
|
804
874
|
:header_params => header_params,
|
805
875
|
:query_params => query_params,
|
806
876
|
:form_params => form_params,
|
@@ -811,7 +881,7 @@ module OryClient
|
|
811
881
|
|
812
882
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
813
883
|
if @api_client.config.debugging
|
814
|
-
@api_client.config.logger.debug "API called: V0alpha2Api#
|
884
|
+
@api_client.config.logger.debug "API called: V0alpha2Api#get_identity_schema\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
815
885
|
end
|
816
886
|
return data, status_code, headers
|
817
887
|
end
|
@@ -1948,7 +2018,7 @@ module OryClient
|
|
1948
2018
|
end
|
1949
2019
|
|
1950
2020
|
# Initialize Verification Flow for APIs, Services, Apps, ...
|
1951
|
-
# This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on. To fetch an existing verification flow call `/self-service/verification/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/
|
2021
|
+
# This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on. To fetch an existing verification flow call `/self-service/verification/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
1952
2022
|
# @param [Hash] opts the optional parameters
|
1953
2023
|
# @return [SelfServiceVerificationFlow]
|
1954
2024
|
def initialize_self_service_verification_flow_without_browser(opts = {})
|
@@ -1957,7 +2027,7 @@ module OryClient
|
|
1957
2027
|
end
|
1958
2028
|
|
1959
2029
|
# Initialize Verification Flow for APIs, Services, Apps, ...
|
1960
|
-
# This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on. To fetch an existing verification flow call `/self-service/verification/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/
|
2030
|
+
# This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on. To fetch an existing verification flow call `/self-service/verification/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
1961
2031
|
# @param [Hash] opts the optional parameters
|
1962
2032
|
# @return [Array<(SelfServiceVerificationFlow, Integer, Hash)>] SelfServiceVerificationFlow data, response status code and response headers
|
1963
2033
|
def initialize_self_service_verification_flow_without_browser_with_http_info(opts = {})
|
@@ -2007,7 +2077,7 @@ module OryClient
|
|
2007
2077
|
# Get all Identity Schemas
|
2008
2078
|
# @param [Hash] opts the optional parameters
|
2009
2079
|
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
2010
|
-
# @option opts [Integer] :page Pagination Page (default to 1)
|
2080
|
+
# @option opts [Integer] :page Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. (default to 1)
|
2011
2081
|
# @return [Array<IdentitySchema>]
|
2012
2082
|
def list_identity_schemas(opts = {})
|
2013
2083
|
data, _status_code, _headers = list_identity_schemas_with_http_info(opts)
|
@@ -2016,8 +2086,8 @@ module OryClient
|
|
2016
2086
|
|
2017
2087
|
# Get all Identity Schemas
|
2018
2088
|
# @param [Hash] opts the optional parameters
|
2019
|
-
# @option opts [Integer] :per_page Items per Page This is the number of items per page.
|
2020
|
-
# @option opts [Integer] :page Pagination Page
|
2089
|
+
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
2090
|
+
# @option opts [Integer] :page Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. (default to 1)
|
2021
2091
|
# @return [Array<(Array<IdentitySchema>, Integer, Hash)>] Array<IdentitySchema> data, response status code and response headers
|
2022
2092
|
def list_identity_schemas_with_http_info(opts = {})
|
2023
2093
|
if @api_client.config.debugging
|
@@ -2140,7 +2210,7 @@ module OryClient
|
|
2140
2210
|
# @option opts [String] :x_session_token Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
|
2141
2211
|
# @option opts [String] :cookie Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
|
2142
2212
|
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
2143
|
-
# @option opts [Integer] :page Pagination Page (default to 1)
|
2213
|
+
# @option opts [Integer] :page Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. (default to 1)
|
2144
2214
|
# @return [Array<Session>]
|
2145
2215
|
def list_sessions(opts = {})
|
2146
2216
|
data, _status_code, _headers = list_sessions_with_http_info(opts)
|
@@ -2152,8 +2222,8 @@ module OryClient
|
|
2152
2222
|
# @param [Hash] opts the optional parameters
|
2153
2223
|
# @option opts [String] :x_session_token Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
|
2154
2224
|
# @option opts [String] :cookie Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
|
2155
|
-
# @option opts [Integer] :per_page Items per Page This is the number of items per page.
|
2156
|
-
# @option opts [Integer] :page Pagination Page
|
2225
|
+
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
2226
|
+
# @option opts [Integer] :page Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. (default to 1)
|
2157
2227
|
# @return [Array<(Array<Session>, Integer, Hash)>] Array<Session> data, response status code and response headers
|
2158
2228
|
def list_sessions_with_http_info(opts = {})
|
2159
2229
|
if @api_client.config.debugging
|
@@ -2215,8 +2285,8 @@ module OryClient
|
|
2215
2285
|
return data, status_code, headers
|
2216
2286
|
end
|
2217
2287
|
|
2218
|
-
# Patch an Ory Cloud Project Configuration
|
2219
|
-
# This endpoints allows you to patch individual Ory Cloud Project configuration keys for Ory's services (identity, permission, ...). The configuration format is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed.
|
2288
|
+
# Patch an Ory Cloud Project Configuration`
|
2289
|
+
# Deprecated: Use the `patchProjectWithRevision` endpoint instead to specify the exact revision the patch was generated for. This endpoints allows you to patch individual Ory Cloud Project configuration keys for Ory's services (identity, permission, ...). The configuration format is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed.
|
2220
2290
|
# @param project_id [String] Project ID The project's ID.
|
2221
2291
|
# @param [Hash] opts the optional parameters
|
2222
2292
|
# @option opts [Array<JsonPatch>] :json_patch
|
@@ -2226,8 +2296,8 @@ module OryClient
|
|
2226
2296
|
data
|
2227
2297
|
end
|
2228
2298
|
|
2229
|
-
# Patch an Ory Cloud Project Configuration
|
2230
|
-
# This endpoints allows you to patch individual Ory Cloud Project configuration keys for Ory's services (identity, permission, ...). The configuration format is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed.
|
2299
|
+
# Patch an Ory Cloud Project Configuration`
|
2300
|
+
# Deprecated: Use the `patchProjectWithRevision` endpoint instead to specify the exact revision the patch was generated for. This endpoints allows you to patch individual Ory Cloud Project configuration keys for Ory's services (identity, permission, ...). The configuration format is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed.
|
2231
2301
|
# @param project_id [String] Project ID The project's ID.
|
2232
2302
|
# @param [Hash] opts the optional parameters
|
2233
2303
|
# @option opts [Array<JsonPatch>] :json_patch
|
@@ -2627,7 +2697,7 @@ module OryClient
|
|
2627
2697
|
# Complete Self-Service Logout
|
2628
2698
|
# This endpoint logs out an identity in a self-service manner. If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`. If the `Accept` HTTP header is set to `application/json`, a 204 No Content response will be sent on successful logout instead. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).
|
2629
2699
|
# @param [Hash] opts the optional parameters
|
2630
|
-
# @option opts [String] :token A Valid Logout Token If you do not have a logout token because you only have a session cookie, call `/self-service/logout/
|
2700
|
+
# @option opts [String] :token A Valid Logout Token If you do not have a logout token because you only have a session cookie, call `/self-service/logout/browser` to generate a URL for this endpoint.
|
2631
2701
|
# @option opts [String] :return_to The URL to return to after the logout was completed.
|
2632
2702
|
# @return [nil]
|
2633
2703
|
def submit_self_service_logout_flow(opts = {})
|
@@ -2638,7 +2708,7 @@ module OryClient
|
|
2638
2708
|
# Complete Self-Service Logout
|
2639
2709
|
# This endpoint logs out an identity in a self-service manner. If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`. If the `Accept` HTTP header is set to `application/json`, a 204 No Content response will be sent on successful logout instead. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).
|
2640
2710
|
# @param [Hash] opts the optional parameters
|
2641
|
-
# @option opts [String] :token A Valid Logout Token If you do not have a logout token because you only have a session cookie, call `/self-service/logout/
|
2711
|
+
# @option opts [String] :token A Valid Logout Token If you do not have a logout token because you only have a session cookie, call `/self-service/logout/browser` to generate a URL for this endpoint.
|
2642
2712
|
# @option opts [String] :return_to The URL to return to after the logout was completed.
|
2643
2713
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
2644
2714
|
def submit_self_service_logout_flow_with_http_info(opts = {})
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -93,6 +93,7 @@ module OryClient
|
|
93
93
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
94
94
|
query_params = opts[:query_params] || {}
|
95
95
|
form_params = opts[:form_params] || {}
|
96
|
+
follow_location = opts[:follow_location] || true
|
96
97
|
|
97
98
|
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
98
99
|
|
@@ -109,7 +110,8 @@ module OryClient
|
|
109
110
|
:ssl_verifyhost => _verify_ssl_host,
|
110
111
|
:sslcert => @config.cert_file,
|
111
112
|
:sslkey => @config.key_file,
|
112
|
-
:verbose => @config.debugging
|
113
|
+
:verbose => @config.debugging,
|
114
|
+
:followlocation => follow_location
|
113
115
|
}
|
114
116
|
|
115
117
|
# set custom cert, if provided
|
data/lib/ory-client/api_error.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -133,6 +133,7 @@ module OryClient
|
|
133
133
|
# https://github.com/typhoeus/ethon/blob/master/lib/ethon/easy/queryable.rb#L96
|
134
134
|
attr_accessor :params_encoding
|
135
135
|
|
136
|
+
|
136
137
|
attr_accessor :inject_format
|
137
138
|
|
138
139
|
attr_accessor :force_ending_format
|
@@ -150,10 +151,10 @@ module OryClient
|
|
150
151
|
@client_side_validation = true
|
151
152
|
@verify_ssl = true
|
152
153
|
@verify_ssl_host = true
|
153
|
-
@params_encoding = nil
|
154
154
|
@cert_file = nil
|
155
155
|
@key_file = nil
|
156
156
|
@timeout = 0
|
157
|
+
@params_encoding = nil
|
157
158
|
@debugging = false
|
158
159
|
@inject_format = false
|
159
160
|
@force_ending_format = false
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -109,6 +109,7 @@ module OryClient
|
|
109
109
|
# @return [Object] Returns the model itself
|
110
110
|
def build_from_hash(attributes)
|
111
111
|
return nil unless attributes.is_a?(Hash)
|
112
|
+
attributes = attributes.transform_keys(&:to_sym)
|
112
113
|
self.class.openapi_types.each_pair do |key, type|
|
113
114
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
114
115
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -192,6 +192,7 @@ module OryClient
|
|
192
192
|
# @return [Object] Returns the model itself
|
193
193
|
def build_from_hash(attributes)
|
194
194
|
return nil unless attributes.is_a?(Hash)
|
195
|
+
attributes = attributes.transform_keys(&:to_sym)
|
195
196
|
self.class.openapi_types.each_pair do |key, type|
|
196
197
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
197
198
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -107,6 +107,7 @@ module OryClient
|
|
107
107
|
# @return [Object] Returns the model itself
|
108
108
|
def build_from_hash(attributes)
|
109
109
|
return nil unless attributes.is_a?(Hash)
|
110
|
+
attributes = attributes.transform_keys(&:to_sym)
|
110
111
|
self.class.openapi_types.each_pair do |key, type|
|
111
112
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
112
113
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -119,6 +119,7 @@ module OryClient
|
|
119
119
|
# @return [Object] Returns the model itself
|
120
120
|
def build_from_hash(attributes)
|
121
121
|
return nil unless attributes.is_a?(Hash)
|
122
|
+
attributes = attributes.transform_keys(&:to_sym)
|
122
123
|
self.class.openapi_types.each_pair do |key, type|
|
123
124
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
124
125
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -128,6 +128,7 @@ module OryClient
|
|
128
128
|
# @return [Object] Returns the model itself
|
129
129
|
def build_from_hash(attributes)
|
130
130
|
return nil unless attributes.is_a?(Hash)
|
131
|
+
attributes = attributes.transform_keys(&:to_sym)
|
131
132
|
self.class.openapi_types.each_pair do |key, type|
|
132
133
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
133
134
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -107,6 +107,7 @@ module OryClient
|
|
107
107
|
# @return [Object] Returns the model itself
|
108
108
|
def build_from_hash(attributes)
|
109
109
|
return nil unless attributes.is_a?(Hash)
|
110
|
+
attributes = attributes.transform_keys(&:to_sym)
|
110
111
|
self.class.openapi_types.each_pair do |key, type|
|
111
112
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
112
113
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -118,6 +118,7 @@ module OryClient
|
|
118
118
|
# @return [Object] Returns the model itself
|
119
119
|
def build_from_hash(attributes)
|
120
120
|
return nil unless attributes.is_a?(Hash)
|
121
|
+
attributes = attributes.transform_keys(&:to_sym)
|
121
122
|
self.class.openapi_types.each_pair do |key, type|
|
122
123
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
123
124
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -139,6 +139,7 @@ module OryClient
|
|
139
139
|
# @return [Object] Returns the model itself
|
140
140
|
def build_from_hash(attributes)
|
141
141
|
return nil unless attributes.is_a?(Hash)
|
142
|
+
attributes = attributes.transform_keys(&:to_sym)
|
142
143
|
self.class.openapi_types.each_pair do |key, type|
|
143
144
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
144
145
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -116,6 +116,7 @@ module OryClient
|
|
116
116
|
# @return [Object] Returns the model itself
|
117
117
|
def build_from_hash(attributes)
|
118
118
|
return nil unless attributes.is_a?(Hash)
|
119
|
+
attributes = attributes.transform_keys(&:to_sym)
|
119
120
|
self.class.openapi_types.each_pair do |key, type|
|
120
121
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
121
122
|
self.send("#{key}=", nil)
|