ory-client 0.0.1.alpha129 → 0.0.1.alpha132
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 +60 -65
- data/docs/CreateProjectBody.md +18 -0
- data/docs/GenericError.md +6 -10
- data/docs/GenericErrorContent.md +26 -0
- data/docs/{IdentityPreset.md → IdentitySchemaPreset.md} +2 -2
- data/docs/JsonPatch.md +22 -0
- data/docs/MetadataApi.md +3 -3
- data/docs/NormalizedProject.md +34 -0
- data/docs/{ProjectRevision.md → NormalizedProjectRevision.md} +45 -7
- data/docs/{ProjectRevisionHook.md → NormalizedProjectRevisionHook.md} +4 -2
- data/docs/{ProjectRevisionIdentitySchema.md → NormalizedProjectRevisionIdentitySchema.md} +2 -2
- data/docs/{ProjectRevisionThirdPartyLoginProvider.md → NormalizedProjectRevisionThirdPartyProvider.md} +2 -2
- data/docs/Project.md +7 -13
- data/docs/ProjectServiceIdentity.md +18 -0
- data/docs/{UpdateProjectConfigConfig.md → ProjectServices.md} +3 -3
- data/docs/{SuccessfulProjectConfigUpdate.md → SuccessfulProjectUpdate.md} +4 -4
- data/docs/UpdateProject.md +20 -0
- data/docs/V0alpha2Api.md +43 -43
- data/lib/ory-client/api/metadata_api.rb +4 -4
- data/lib/ory-client/api/v0alpha2_api.rb +48 -48
- data/lib/ory-client/api_client.rb +1 -1
- data/lib/ory-client/api_error.rb +1 -1
- data/lib/ory-client/configuration.rb +1 -1
- data/lib/ory-client/models/active_project.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_body.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +1 -1
- data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
- data/lib/ory-client/models/admin_identity_import_credentials.rb +1 -1
- data/lib/ory-client/models/admin_update_identity_body.rb +1 -1
- data/lib/ory-client/models/api_token.rb +1 -1
- data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
- data/lib/ory-client/models/cloud_account.rb +1 -1
- data/lib/ory-client/models/cname_settings.rb +1 -1
- data/lib/ory-client/models/create_custom_hostname_body.rb +1 -1
- data/lib/ory-client/models/{inline_object.rb → create_project_body.rb} +15 -15
- data/lib/ory-client/models/create_subscription_payload.rb +1 -1
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
- data/lib/ory-client/models/generic_error.rb +8 -29
- data/lib/ory-client/models/generic_error_content.rb +260 -0
- data/lib/ory-client/models/health_not_ready_status.rb +1 -1
- data/lib/ory-client/models/health_status.rb +1 -1
- data/lib/ory-client/models/identity.rb +1 -1
- data/lib/ory-client/models/identity_credentials.rb +1 -1
- data/lib/ory-client/models/identity_credentials_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_type.rb +1 -1
- data/lib/ory-client/models/identity_schema.rb +1 -1
- data/lib/ory-client/models/identity_schema_location.rb +1 -1
- data/lib/ory-client/models/{identity_preset.rb → identity_schema_preset.rb} +4 -4
- data/lib/ory-client/models/identity_schema_validation_result.rb +1 -1
- data/lib/ory-client/models/identity_state.rb +1 -1
- data/lib/ory-client/models/inline_response200.rb +1 -1
- data/lib/ory-client/models/inline_response2001.rb +1 -1
- data/lib/ory-client/models/inline_response503.rb +1 -1
- data/lib/ory-client/models/invite_payload.rb +1 -1
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
- data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +1 -1
- data/lib/ory-client/models/json_error.rb +1 -1
- data/lib/ory-client/models/json_patch.rb +285 -0
- data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
- data/lib/ory-client/models/normalized_project.rb +372 -0
- data/lib/ory-client/models/{project_revision.rb → normalized_project_revision.rb} +200 -10
- data/lib/ory-client/models/{project_revision_hook.rb → normalized_project_revision_hook.rb} +15 -5
- data/lib/ory-client/models/{project_revision_identity_schema.rb → normalized_project_revision_identity_schema.rb} +4 -4
- data/lib/ory-client/models/{project_revision_third_party_login_provider.rb → normalized_project_revision_third_party_provider.rb} +4 -4
- data/lib/ory-client/models/null_plan.rb +1 -1
- data/lib/ory-client/models/pagination.rb +1 -1
- data/lib/ory-client/models/project.rb +38 -80
- data/lib/ory-client/models/project_host.rb +1 -1
- data/lib/ory-client/models/project_invite.rb +1 -1
- data/lib/ory-client/models/project_service_identity.rb +223 -0
- data/lib/ory-client/models/{update_project_config_config.rb → project_services.rb} +5 -6
- data/lib/ory-client/models/project_slug.rb +1 -1
- data/lib/ory-client/models/quota_project_member_seats.rb +1 -1
- data/lib/ory-client/models/recovery_address.rb +1 -1
- data/lib/ory-client/models/revoked_sessions.rb +1 -1
- data/lib/ory-client/models/schema_patch.rb +1 -1
- data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +1 -1
- data/lib/ory-client/models/self_service_error.rb +1 -1
- data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
- data/lib/ory-client/models/self_service_login_flow.rb +1 -1
- data/lib/ory-client/models/self_service_logout_url.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_flow.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_flow_state.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_link.rb +1 -1
- data/lib/ory-client/models/self_service_registration_flow.rb +1 -1
- data/lib/ory-client/models/self_service_settings_flow.rb +1 -1
- data/lib/ory-client/models/self_service_settings_flow_state.rb +1 -1
- data/lib/ory-client/models/self_service_verification_flow.rb +1 -1
- data/lib/ory-client/models/self_service_verification_flow_state.rb +1 -1
- data/lib/ory-client/models/session.rb +1 -1
- data/lib/ory-client/models/session_authentication_method.rb +1 -1
- data/lib/ory-client/models/session_device.rb +1 -1
- data/lib/ory-client/models/settings_profile_form_config.rb +1 -1
- data/lib/ory-client/models/stripe_customer_response.rb +1 -1
- data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
- data/lib/ory-client/models/subscription.rb +1 -1
- data/lib/ory-client/models/{successful_project_config_update.rb → successful_project_update.rb} +14 -4
- data/lib/ory-client/models/successful_self_service_login_without_browser.rb +1 -1
- data/lib/ory-client/models/successful_self_service_registration_without_browser.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_image_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_input_attributes.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_custom_hostname_body.rb +1 -1
- data/lib/ory-client/models/update_project.rb +238 -0
- data/lib/ory-client/models/update_subscription_payload.rb +1 -1
- data/lib/ory-client/models/verifiable_identity_address.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/version.rb +2 -2
- data/lib/ory-client.rb +14 -10
- data/ory-client.gemspec +1 -1
- data/spec/api/metadata_api_spec.rb +1 -1
- data/spec/api/v0alpha2_api_spec.rb +5 -5
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/active_project_spec.rb +1 -1
- data/spec/models/admin_create_identity_body_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_password_spec.rb +1 -1
- data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
- data/spec/models/admin_identity_import_credentials_spec.rb +1 -1
- data/spec/models/admin_update_identity_body_spec.rb +1 -1
- data/spec/models/api_token_spec.rb +1 -1
- data/spec/models/authenticator_assurance_level_spec.rb +1 -1
- data/spec/models/cloud_account_spec.rb +1 -1
- data/spec/models/cname_settings_spec.rb +1 -1
- data/spec/models/create_custom_hostname_body_spec.rb +1 -1
- data/spec/models/{inline_object_spec.rb → create_project_body_spec.rb} +8 -8
- data/spec/models/create_subscription_payload_spec.rb +1 -1
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
- data/spec/models/generic_error_content_spec.rb +58 -0
- data/spec/models/generic_error_spec.rb +1 -13
- 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_oidc_provider_spec.rb +1 -1
- data/spec/models/identity_credentials_oidc_spec.rb +1 -1
- data/spec/models/identity_credentials_password_spec.rb +1 -1
- data/spec/models/identity_credentials_spec.rb +1 -1
- data/spec/models/identity_credentials_type_spec.rb +1 -1
- data/spec/models/identity_schema_location_spec.rb +1 -1
- data/spec/models/{identity_preset_spec.rb → identity_schema_preset_spec.rb} +7 -7
- data/spec/models/identity_schema_spec.rb +1 -1
- data/spec/models/identity_schema_validation_result_spec.rb +1 -1
- data/spec/models/identity_spec.rb +1 -1
- data/spec/models/identity_state_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/inline_response503_spec.rb +1 -1
- data/spec/models/invite_payload_spec.rb +1 -1
- data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +1 -1
- data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
- data/spec/models/json_error_spec.rb +1 -1
- data/spec/models/json_patch_spec.rb +50 -0
- data/spec/models/needs_privileged_session_error_spec.rb +1 -1
- data/spec/models/{project_revision_hook_spec.rb → normalized_project_revision_hook_spec.rb} +13 -7
- data/spec/models/{project_revision_identity_schema_spec.rb → normalized_project_revision_identity_schema_spec.rb} +7 -7
- data/spec/models/{project_revision_spec.rb → normalized_project_revision_spec.rb} +121 -7
- data/spec/models/{project_revision_third_party_login_provider_spec.rb → normalized_project_revision_third_party_provider_spec.rb} +7 -7
- data/spec/models/normalized_project_spec.rb +86 -0
- data/spec/models/null_plan_spec.rb +1 -1
- data/spec/models/pagination_spec.rb +1 -1
- data/spec/models/project_host_spec.rb +1 -1
- data/spec/models/project_invite_spec.rb +1 -1
- data/spec/models/project_service_identity_spec.rb +34 -0
- data/spec/models/{update_project_config_config_spec.rb → project_services_spec.rb} +7 -7
- data/spec/models/project_slug_spec.rb +1 -1
- data/spec/models/project_spec.rb +5 -23
- data/spec/models/quota_project_member_seats_spec.rb +1 -1
- data/spec/models/recovery_address_spec.rb +1 -1
- data/spec/models/revoked_sessions_spec.rb +1 -1
- data/spec/models/schema_patch_spec.rb +1 -1
- data/spec/models/self_service_browser_location_change_required_error_spec.rb +1 -1
- data/spec/models/self_service_error_spec.rb +1 -1
- data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
- data/spec/models/self_service_login_flow_spec.rb +1 -1
- data/spec/models/self_service_logout_url_spec.rb +1 -1
- data/spec/models/self_service_recovery_flow_spec.rb +1 -1
- data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
- data/spec/models/self_service_recovery_link_spec.rb +1 -1
- data/spec/models/self_service_registration_flow_spec.rb +1 -1
- data/spec/models/self_service_settings_flow_spec.rb +1 -1
- data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
- data/spec/models/self_service_verification_flow_spec.rb +1 -1
- data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
- data/spec/models/session_authentication_method_spec.rb +1 -1
- data/spec/models/session_device_spec.rb +1 -1
- data/spec/models/session_spec.rb +1 -1
- data/spec/models/settings_profile_form_config_spec.rb +1 -1
- data/spec/models/stripe_customer_response_spec.rb +1 -1
- data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
- data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +1 -1
- data/spec/models/{successful_project_config_update_spec.rb → successful_project_update_spec.rb} +7 -7
- data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
- data/spec/models/successful_self_service_registration_without_browser_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_image_attributes_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_custom_hostname_body_spec.rb +1 -1
- data/spec/models/update_project_spec.rb +40 -0
- data/spec/models/update_subscription_payload_spec.rb +1 -1
- data/spec/models/verifiable_identity_address_spec.rb +1 -1
- data/spec/models/version_spec.rb +1 -1
- data/spec/models/warning_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- 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.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/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.3/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +2 -2
- metadata +55 -39
- data/docs/InlineObject.md +0 -18
- data/docs/V0alpha0Api.md +0 -712
- data/lib/ory-client/api/v0alpha0_api.rb +0 -662
- data/spec/api/v0alpha0_api_spec.rb +0 -156
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -39,7 +39,7 @@ module OryClient
|
|
39
39
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.admin_create_identity ...'
|
40
40
|
end
|
41
41
|
# resource path
|
42
|
-
local_var_path = '/
|
42
|
+
local_var_path = '/admin/identities'
|
43
43
|
|
44
44
|
# query parameters
|
45
45
|
query_params = opts[:query_params] || {}
|
@@ -103,7 +103,7 @@ module OryClient
|
|
103
103
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.admin_create_self_service_recovery_link ...'
|
104
104
|
end
|
105
105
|
# resource path
|
106
|
-
local_var_path = '/
|
106
|
+
local_var_path = '/admin/recovery/link'
|
107
107
|
|
108
108
|
# query parameters
|
109
109
|
query_params = opts[:query_params] || {}
|
@@ -171,7 +171,7 @@ module OryClient
|
|
171
171
|
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.admin_delete_identity"
|
172
172
|
end
|
173
173
|
# resource path
|
174
|
-
local_var_path = '/
|
174
|
+
local_var_path = '/admin/identities/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
175
175
|
|
176
176
|
# query parameters
|
177
177
|
query_params = opts[:query_params] || {}
|
@@ -234,7 +234,7 @@ module OryClient
|
|
234
234
|
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.admin_delete_identity_sessions"
|
235
235
|
end
|
236
236
|
# resource path
|
237
|
-
local_var_path = '/
|
237
|
+
local_var_path = '/admin/identities/{id}/sessions'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
238
238
|
|
239
239
|
# query parameters
|
240
240
|
query_params = opts[:query_params] || {}
|
@@ -299,7 +299,7 @@ module OryClient
|
|
299
299
|
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.admin_get_identity"
|
300
300
|
end
|
301
301
|
# resource path
|
302
|
-
local_var_path = '/
|
302
|
+
local_var_path = '/admin/identities/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
303
303
|
|
304
304
|
# query parameters
|
305
305
|
query_params = opts[:query_params] || {}
|
@@ -373,7 +373,7 @@ module OryClient
|
|
373
373
|
end
|
374
374
|
|
375
375
|
# resource path
|
376
|
-
local_var_path = '/
|
376
|
+
local_var_path = '/admin/identities'
|
377
377
|
|
378
378
|
# query parameters
|
379
379
|
query_params = opts[:query_params] || {}
|
@@ -456,7 +456,7 @@ module OryClient
|
|
456
456
|
end
|
457
457
|
|
458
458
|
# resource path
|
459
|
-
local_var_path = '/
|
459
|
+
local_var_path = '/admin/identities/{id}/sessions'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
460
460
|
|
461
461
|
# query parameters
|
462
462
|
query_params = opts[:query_params] || {}
|
@@ -524,7 +524,7 @@ module OryClient
|
|
524
524
|
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.admin_update_identity"
|
525
525
|
end
|
526
526
|
# resource path
|
527
|
-
local_var_path = '/
|
527
|
+
local_var_path = '/admin/identities/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
528
528
|
|
529
529
|
# query parameters
|
530
530
|
query_params = opts[:query_params] || {}
|
@@ -588,7 +588,7 @@ module OryClient
|
|
588
588
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.create_self_service_logout_flow_url_for_browsers ...'
|
589
589
|
end
|
590
590
|
# resource path
|
591
|
-
local_var_path = '/
|
591
|
+
local_var_path = '/self-service/logout/browser'
|
592
592
|
|
593
593
|
# query parameters
|
594
594
|
query_params = opts[:query_params] || {}
|
@@ -650,7 +650,7 @@ module OryClient
|
|
650
650
|
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.get_json_schema"
|
651
651
|
end
|
652
652
|
# resource path
|
653
|
-
local_var_path = '/
|
653
|
+
local_var_path = '/schemas/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
654
654
|
|
655
655
|
# query parameters
|
656
656
|
query_params = opts[:query_params] || {}
|
@@ -713,7 +713,7 @@ module OryClient
|
|
713
713
|
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.get_self_service_error"
|
714
714
|
end
|
715
715
|
# resource path
|
716
|
-
local_var_path = '/
|
716
|
+
local_var_path = '/self-service/errors'
|
717
717
|
|
718
718
|
# query parameters
|
719
719
|
query_params = opts[:query_params] || {}
|
@@ -779,7 +779,7 @@ module OryClient
|
|
779
779
|
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.get_self_service_login_flow"
|
780
780
|
end
|
781
781
|
# resource path
|
782
|
-
local_var_path = '/
|
782
|
+
local_var_path = '/self-service/login/flows'
|
783
783
|
|
784
784
|
# query parameters
|
785
785
|
query_params = opts[:query_params] || {}
|
@@ -821,7 +821,7 @@ module OryClient
|
|
821
821
|
end
|
822
822
|
|
823
823
|
# Get Recovery Flow
|
824
|
-
# This endpoint returns a recovery flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getSelfServiceRecoveryFlow(req.header('Cookie'), req.query['flow']) res.render('recovery', flow) }) ``` More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery
|
824
|
+
# This endpoint returns a recovery flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getSelfServiceRecoveryFlow(req.header('Cookie'), req.query['flow']) res.render('recovery', flow) }) ``` More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
825
825
|
# @param id [String] The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`).
|
826
826
|
# @param [Hash] opts the optional parameters
|
827
827
|
# @option opts [String] :cookie HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here.
|
@@ -832,7 +832,7 @@ module OryClient
|
|
832
832
|
end
|
833
833
|
|
834
834
|
# Get Recovery Flow
|
835
|
-
# This endpoint returns a recovery flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getSelfServiceRecoveryFlow(req.header('Cookie'), req.query['flow']) res.render('recovery', flow) }) ``` More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery
|
835
|
+
# This endpoint returns a recovery flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getSelfServiceRecoveryFlow(req.header('Cookie'), req.query['flow']) res.render('recovery', flow) }) ``` More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
836
836
|
# @param id [String] The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`).
|
837
837
|
# @param [Hash] opts the optional parameters
|
838
838
|
# @option opts [String] :cookie HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here.
|
@@ -846,7 +846,7 @@ module OryClient
|
|
846
846
|
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.get_self_service_recovery_flow"
|
847
847
|
end
|
848
848
|
# resource path
|
849
|
-
local_var_path = '/
|
849
|
+
local_var_path = '/self-service/recovery/flows'
|
850
850
|
|
851
851
|
# query parameters
|
852
852
|
query_params = opts[:query_params] || {}
|
@@ -913,7 +913,7 @@ module OryClient
|
|
913
913
|
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.get_self_service_registration_flow"
|
914
914
|
end
|
915
915
|
# resource path
|
916
|
-
local_var_path = '/
|
916
|
+
local_var_path = '/self-service/registration/flows'
|
917
917
|
|
918
918
|
# query parameters
|
919
919
|
query_params = opts[:query_params] || {}
|
@@ -982,7 +982,7 @@ module OryClient
|
|
982
982
|
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.get_self_service_settings_flow"
|
983
983
|
end
|
984
984
|
# resource path
|
985
|
-
local_var_path = '/
|
985
|
+
local_var_path = '/self-service/settings/flows'
|
986
986
|
|
987
987
|
# query parameters
|
988
988
|
query_params = opts[:query_params] || {}
|
@@ -1050,7 +1050,7 @@ module OryClient
|
|
1050
1050
|
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.get_self_service_verification_flow"
|
1051
1051
|
end
|
1052
1052
|
# resource path
|
1053
|
-
local_var_path = '/
|
1053
|
+
local_var_path = '/self-service/verification/flows'
|
1054
1054
|
|
1055
1055
|
# query parameters
|
1056
1056
|
query_params = opts[:query_params] || {}
|
@@ -1109,7 +1109,7 @@ module OryClient
|
|
1109
1109
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.get_web_authn_java_script ...'
|
1110
1110
|
end
|
1111
1111
|
# resource path
|
1112
|
-
local_var_path = '
|
1112
|
+
local_var_path = '/.well-known/ory/webauthn.js'
|
1113
1113
|
|
1114
1114
|
# query parameters
|
1115
1115
|
query_params = opts[:query_params] || {}
|
@@ -1172,7 +1172,7 @@ module OryClient
|
|
1172
1172
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.initialize_self_service_login_flow_for_browsers ...'
|
1173
1173
|
end
|
1174
1174
|
# resource path
|
1175
|
-
local_var_path = '/
|
1175
|
+
local_var_path = '/self-service/login/browser'
|
1176
1176
|
|
1177
1177
|
# query parameters
|
1178
1178
|
query_params = opts[:query_params] || {}
|
@@ -1238,7 +1238,7 @@ module OryClient
|
|
1238
1238
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.initialize_self_service_login_flow_without_browser ...'
|
1239
1239
|
end
|
1240
1240
|
# resource path
|
1241
|
-
local_var_path = '/
|
1241
|
+
local_var_path = '/self-service/login/api'
|
1242
1242
|
|
1243
1243
|
# query parameters
|
1244
1244
|
query_params = opts[:query_params] || {}
|
@@ -1281,7 +1281,7 @@ module OryClient
|
|
1281
1281
|
end
|
1282
1282
|
|
1283
1283
|
# Initialize Recovery Flow for Browsers
|
1284
|
-
# This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to `selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists, the browser is returned to the configured return URL. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects or a 400 bad request error if the user is already authenticated. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery
|
1284
|
+
# This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to `selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists, the browser is returned to the configured return URL. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects or a 400 bad request error if the user is already authenticated. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
1285
1285
|
# @param [Hash] opts the optional parameters
|
1286
1286
|
# @option opts [String] :return_to The URL to return the browser to after the flow was completed.
|
1287
1287
|
# @return [SelfServiceRecoveryFlow]
|
@@ -1291,7 +1291,7 @@ module OryClient
|
|
1291
1291
|
end
|
1292
1292
|
|
1293
1293
|
# Initialize Recovery Flow for Browsers
|
1294
|
-
# This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to `selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists, the browser is returned to the configured return URL. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects or a 400 bad request error if the user is already authenticated. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery
|
1294
|
+
# This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to `selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists, the browser is returned to the configured return URL. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects or a 400 bad request error if the user is already authenticated. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
1295
1295
|
# @param [Hash] opts the optional parameters
|
1296
1296
|
# @option opts [String] :return_to The URL to return the browser to after the flow was completed.
|
1297
1297
|
# @return [Array<(SelfServiceRecoveryFlow, Integer, Hash)>] SelfServiceRecoveryFlow data, response status code and response headers
|
@@ -1300,7 +1300,7 @@ module OryClient
|
|
1300
1300
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.initialize_self_service_recovery_flow_for_browsers ...'
|
1301
1301
|
end
|
1302
1302
|
# resource path
|
1303
|
-
local_var_path = '/
|
1303
|
+
local_var_path = '/self-service/recovery/browser'
|
1304
1304
|
|
1305
1305
|
# query parameters
|
1306
1306
|
query_params = opts[:query_params] || {}
|
@@ -1341,7 +1341,7 @@ module OryClient
|
|
1341
1341
|
end
|
1342
1342
|
|
1343
1343
|
# Initialize Recovery Flow for APIs, Services, Apps, ...
|
1344
|
-
# This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error. To fetch an existing recovery flow call `/self-service/recovery/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 Account Recovery Documentation](../self-service/flows/account-recovery
|
1344
|
+
# This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error. To fetch an existing recovery flow call `/self-service/recovery/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 Account Recovery Documentation](../self-service/flows/account-recovery).
|
1345
1345
|
# @param [Hash] opts the optional parameters
|
1346
1346
|
# @return [SelfServiceRecoveryFlow]
|
1347
1347
|
def initialize_self_service_recovery_flow_without_browser(opts = {})
|
@@ -1350,7 +1350,7 @@ module OryClient
|
|
1350
1350
|
end
|
1351
1351
|
|
1352
1352
|
# Initialize Recovery Flow for APIs, Services, Apps, ...
|
1353
|
-
# This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error. To fetch an existing recovery flow call `/self-service/recovery/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 Account Recovery Documentation](../self-service/flows/account-recovery
|
1353
|
+
# This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error. To fetch an existing recovery flow call `/self-service/recovery/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 Account Recovery Documentation](../self-service/flows/account-recovery).
|
1354
1354
|
# @param [Hash] opts the optional parameters
|
1355
1355
|
# @return [Array<(SelfServiceRecoveryFlow, Integer, Hash)>] SelfServiceRecoveryFlow data, response status code and response headers
|
1356
1356
|
def initialize_self_service_recovery_flow_without_browser_with_http_info(opts = {})
|
@@ -1358,7 +1358,7 @@ module OryClient
|
|
1358
1358
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.initialize_self_service_recovery_flow_without_browser ...'
|
1359
1359
|
end
|
1360
1360
|
# resource path
|
1361
|
-
local_var_path = '/
|
1361
|
+
local_var_path = '/self-service/recovery/api'
|
1362
1362
|
|
1363
1363
|
# query parameters
|
1364
1364
|
query_params = opts[:query_params] || {}
|
@@ -1417,7 +1417,7 @@ module OryClient
|
|
1417
1417
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.initialize_self_service_registration_flow_for_browsers ...'
|
1418
1418
|
end
|
1419
1419
|
# resource path
|
1420
|
-
local_var_path = '/
|
1420
|
+
local_var_path = '/self-service/registration/browser'
|
1421
1421
|
|
1422
1422
|
# query parameters
|
1423
1423
|
query_params = opts[:query_params] || {}
|
@@ -1475,7 +1475,7 @@ module OryClient
|
|
1475
1475
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.initialize_self_service_registration_flow_without_browser ...'
|
1476
1476
|
end
|
1477
1477
|
# resource path
|
1478
|
-
local_var_path = '/
|
1478
|
+
local_var_path = '/self-service/registration/api'
|
1479
1479
|
|
1480
1480
|
# query parameters
|
1481
1481
|
query_params = opts[:query_params] || {}
|
@@ -1534,7 +1534,7 @@ module OryClient
|
|
1534
1534
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.initialize_self_service_settings_flow_for_browsers ...'
|
1535
1535
|
end
|
1536
1536
|
# resource path
|
1537
|
-
local_var_path = '/
|
1537
|
+
local_var_path = '/self-service/settings/browser'
|
1538
1538
|
|
1539
1539
|
# query parameters
|
1540
1540
|
query_params = opts[:query_params] || {}
|
@@ -1594,7 +1594,7 @@ module OryClient
|
|
1594
1594
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.initialize_self_service_settings_flow_without_browser ...'
|
1595
1595
|
end
|
1596
1596
|
# resource path
|
1597
|
-
local_var_path = '/
|
1597
|
+
local_var_path = '/self-service/settings/api'
|
1598
1598
|
|
1599
1599
|
# query parameters
|
1600
1600
|
query_params = opts[:query_params] || {}
|
@@ -1654,7 +1654,7 @@ module OryClient
|
|
1654
1654
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.initialize_self_service_verification_flow_for_browsers ...'
|
1655
1655
|
end
|
1656
1656
|
# resource path
|
1657
|
-
local_var_path = '/
|
1657
|
+
local_var_path = '/self-service/verification/browser'
|
1658
1658
|
|
1659
1659
|
# query parameters
|
1660
1660
|
query_params = opts[:query_params] || {}
|
@@ -1712,7 +1712,7 @@ module OryClient
|
|
1712
1712
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.initialize_self_service_verification_flow_without_browser ...'
|
1713
1713
|
end
|
1714
1714
|
# resource path
|
1715
|
-
local_var_path = '/
|
1715
|
+
local_var_path = '/self-service/verification/api'
|
1716
1716
|
|
1717
1717
|
# query parameters
|
1718
1718
|
query_params = opts[:query_params] || {}
|
@@ -1783,7 +1783,7 @@ module OryClient
|
|
1783
1783
|
end
|
1784
1784
|
|
1785
1785
|
# resource path
|
1786
|
-
local_var_path = '/
|
1786
|
+
local_var_path = '/schemas'
|
1787
1787
|
|
1788
1788
|
# query parameters
|
1789
1789
|
query_params = opts[:query_params] || {}
|
@@ -1862,7 +1862,7 @@ module OryClient
|
|
1862
1862
|
end
|
1863
1863
|
|
1864
1864
|
# resource path
|
1865
|
-
local_var_path = '/
|
1865
|
+
local_var_path = '/sessions'
|
1866
1866
|
|
1867
1867
|
# query parameters
|
1868
1868
|
query_params = opts[:query_params] || {}
|
@@ -1929,7 +1929,7 @@ module OryClient
|
|
1929
1929
|
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.revoke_session"
|
1930
1930
|
end
|
1931
1931
|
# resource path
|
1932
|
-
local_var_path = '/
|
1932
|
+
local_var_path = '/sessions/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
1933
1933
|
|
1934
1934
|
# query parameters
|
1935
1935
|
query_params = opts[:query_params] || {}
|
@@ -1990,7 +1990,7 @@ module OryClient
|
|
1990
1990
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.revoke_sessions ...'
|
1991
1991
|
end
|
1992
1992
|
# resource path
|
1993
|
-
local_var_path = '/
|
1993
|
+
local_var_path = '/sessions'
|
1994
1994
|
|
1995
1995
|
# query parameters
|
1996
1996
|
query_params = opts[:query_params] || {}
|
@@ -2059,7 +2059,7 @@ module OryClient
|
|
2059
2059
|
fail ArgumentError, "Missing the required parameter 'flow' when calling V0alpha2Api.submit_self_service_login_flow"
|
2060
2060
|
end
|
2061
2061
|
# resource path
|
2062
|
-
local_var_path = '/
|
2062
|
+
local_var_path = '/self-service/login'
|
2063
2063
|
|
2064
2064
|
# query parameters
|
2065
2065
|
query_params = opts[:query_params] || {}
|
@@ -2127,7 +2127,7 @@ module OryClient
|
|
2127
2127
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.submit_self_service_logout_flow ...'
|
2128
2128
|
end
|
2129
2129
|
# resource path
|
2130
|
-
local_var_path = '/
|
2130
|
+
local_var_path = '/self-service/logout'
|
2131
2131
|
|
2132
2132
|
# query parameters
|
2133
2133
|
query_params = opts[:query_params] || {}
|
@@ -2192,7 +2192,7 @@ module OryClient
|
|
2192
2192
|
fail ArgumentError, "Missing the required parameter 'submit_self_service_logout_flow_without_browser_body' when calling V0alpha2Api.submit_self_service_logout_flow_without_browser"
|
2193
2193
|
end
|
2194
2194
|
# resource path
|
2195
|
-
local_var_path = '/
|
2195
|
+
local_var_path = '/self-service/logout/api'
|
2196
2196
|
|
2197
2197
|
# query parameters
|
2198
2198
|
query_params = opts[:query_params] || {}
|
@@ -2237,7 +2237,7 @@ module OryClient
|
|
2237
2237
|
end
|
2238
2238
|
|
2239
2239
|
# Complete Recovery Flow
|
2240
|
-
# Use this endpoint to complete a recovery flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid. and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a recovery link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with a new Recovery Flow ID which contains an error message that the recovery link was invalid. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery
|
2240
|
+
# Use this endpoint to complete a recovery flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid. and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a recovery link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with a new Recovery Flow ID which contains an error message that the recovery link was invalid. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
2241
2241
|
# @param flow [String] The Recovery Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`).
|
2242
2242
|
# @param [Hash] opts the optional parameters
|
2243
2243
|
# @option opts [String] :token Recovery Token The recovery token which completes the recovery request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.
|
@@ -2249,7 +2249,7 @@ module OryClient
|
|
2249
2249
|
end
|
2250
2250
|
|
2251
2251
|
# Complete Recovery Flow
|
2252
|
-
# Use this endpoint to complete a recovery flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid. and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a recovery link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with a new Recovery Flow ID which contains an error message that the recovery link was invalid. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery
|
2252
|
+
# Use this endpoint to complete a recovery flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid. and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a recovery link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with a new Recovery Flow ID which contains an error message that the recovery link was invalid. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
2253
2253
|
# @param flow [String] The Recovery Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`).
|
2254
2254
|
# @param [Hash] opts the optional parameters
|
2255
2255
|
# @option opts [String] :token Recovery Token The recovery token which completes the recovery request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.
|
@@ -2264,7 +2264,7 @@ module OryClient
|
|
2264
2264
|
fail ArgumentError, "Missing the required parameter 'flow' when calling V0alpha2Api.submit_self_service_recovery_flow"
|
2265
2265
|
end
|
2266
2266
|
# resource path
|
2267
|
-
local_var_path = '/
|
2267
|
+
local_var_path = '/self-service/recovery'
|
2268
2268
|
|
2269
2269
|
# query parameters
|
2270
2270
|
query_params = opts[:query_params] || {}
|
@@ -2336,7 +2336,7 @@ module OryClient
|
|
2336
2336
|
fail ArgumentError, "Missing the required parameter 'flow' when calling V0alpha2Api.submit_self_service_registration_flow"
|
2337
2337
|
end
|
2338
2338
|
# resource path
|
2339
|
-
local_var_path = '/
|
2339
|
+
local_var_path = '/self-service/registration'
|
2340
2340
|
|
2341
2341
|
# query parameters
|
2342
2342
|
query_params = opts[:query_params] || {}
|
@@ -2409,7 +2409,7 @@ module OryClient
|
|
2409
2409
|
fail ArgumentError, "Missing the required parameter 'flow' when calling V0alpha2Api.submit_self_service_settings_flow"
|
2410
2410
|
end
|
2411
2411
|
# resource path
|
2412
|
-
local_var_path = '/
|
2412
|
+
local_var_path = '/self-service/settings'
|
2413
2413
|
|
2414
2414
|
# query parameters
|
2415
2415
|
query_params = opts[:query_params] || {}
|
@@ -2483,7 +2483,7 @@ module OryClient
|
|
2483
2483
|
fail ArgumentError, "Missing the required parameter 'flow' when calling V0alpha2Api.submit_self_service_verification_flow"
|
2484
2484
|
end
|
2485
2485
|
# resource path
|
2486
|
-
local_var_path = '/
|
2486
|
+
local_var_path = '/self-service/verification'
|
2487
2487
|
|
2488
2488
|
# query parameters
|
2489
2489
|
query_params = opts[:query_params] || {}
|
@@ -2551,7 +2551,7 @@ module OryClient
|
|
2551
2551
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.to_session ...'
|
2552
2552
|
end
|
2553
2553
|
# resource path
|
2554
|
-
local_var_path = '/
|
2554
|
+
local_var_path = '/sessions/whoami'
|
2555
2555
|
|
2556
2556
|
# query parameters
|
2557
2557
|
query_params = opts[:query_params] || {}
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
data/lib/ory-client/api_error.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.132
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|