ory-client 0.0.1.alpha44 → 0.0.1.alpha48
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +11 -5
- data/docs/Pagination.md +20 -0
- data/docs/RevokedSessions.md +18 -0
- data/docs/UiNodeScriptAttributes.md +2 -0
- data/docs/V0alpha2Api.md +286 -2
- data/lib/ory-client/api/metadata_api.rb +1 -1
- data/lib/ory-client/api/v0alpha0_api.rb +1 -1
- data/lib/ory-client/api/v0alpha2_api.rb +298 -7
- 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_self_service_recovery_link_body.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/cname_settings.rb +1 -1
- data/lib/ory-client/models/create_custom_hostname_body.rb +1 -1
- 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 +1 -1
- data/lib/ory-client/models/health_not_ready_status.rb +1 -1
- data/lib/ory-client/models/health_status.rb +1 -1
- data/lib/ory-client/models/identity.rb +1 -1
- data/lib/ory-client/models/identity_credentials.rb +1 -1
- data/lib/ory-client/models/identity_credentials_type.rb +1 -1
- data/lib/ory-client/models/identity_preset.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_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/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/needs_privileged_session_error.rb +1 -1
- data/lib/ory-client/models/null_plan.rb +1 -1
- data/lib/ory-client/models/pagination.rb +272 -0
- data/lib/ory-client/models/project.rb +1 -1
- data/lib/ory-client/models/project_host.rb +1 -1
- data/lib/ory-client/models/project_lookup_secret_config.rb +1 -1
- data/lib/ory-client/models/project_oidc_config.rb +1 -1
- data/lib/ory-client/models/project_password_config.rb +1 -1
- data/lib/ory-client/models/project_patch.rb +1 -1
- data/lib/ory-client/models/project_recovery_config.rb +1 -1
- data/lib/ory-client/models/project_revision.rb +1 -1
- data/lib/ory-client/models/project_slug.rb +1 -1
- data/lib/ory-client/models/project_totp_config.rb +1 -1
- data/lib/ory-client/models/project_verification_config.rb +1 -1
- data/lib/ory-client/models/project_web_authn_config.rb +1 -1
- data/lib/ory-client/models/recovery_address.rb +1 -1
- data/lib/ory-client/models/redirection_config.rb +1 -1
- data/lib/ory-client/models/redirection_field.rb +1 -1
- data/lib/ory-client/models/revoked_sessions.rb +219 -0
- 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_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_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_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 +17 -2
- 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_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/version.rb +2 -2
- data/lib/ory-client.rb +3 -1
- data/ory-client.gemspec +1 -1
- data/spec/api/metadata_api_spec.rb +1 -1
- data/spec/api/v0alpha0_api_spec.rb +1 -1
- data/spec/api/v0alpha2_api_spec.rb +56 -1
- 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_self_service_recovery_link_body_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/cname_settings_spec.rb +1 -1
- data/spec/models/create_custom_hostname_body_spec.rb +1 -1
- 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_spec.rb +1 -1
- data/spec/models/health_not_ready_status_spec.rb +1 -1
- data/spec/models/health_status_spec.rb +1 -1
- data/spec/models/identity_credentials_spec.rb +1 -1
- data/spec/models/identity_credentials_type_spec.rb +1 -1
- data/spec/models/identity_preset_spec.rb +1 -1
- data/spec/models/identity_schema_location_spec.rb +1 -1
- 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/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/needs_privileged_session_error_spec.rb +1 -1
- data/spec/models/null_plan_spec.rb +1 -1
- data/spec/models/pagination_spec.rb +40 -0
- data/spec/models/project_host_spec.rb +1 -1
- data/spec/models/project_lookup_secret_config_spec.rb +1 -1
- data/spec/models/project_oidc_config_spec.rb +1 -1
- data/spec/models/project_password_config_spec.rb +1 -1
- data/spec/models/project_patch_spec.rb +1 -1
- data/spec/models/project_recovery_config_spec.rb +1 -1
- data/spec/models/project_revision_spec.rb +1 -1
- data/spec/models/project_slug_spec.rb +1 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/models/project_totp_config_spec.rb +1 -1
- data/spec/models/project_verification_config_spec.rb +1 -1
- data/spec/models/project_web_authn_config_spec.rb +1 -1
- data/spec/models/recovery_address_spec.rb +1 -1
- data/spec/models/redirection_config_spec.rb +1 -1
- data/spec/models/redirection_field_spec.rb +1 -1
- data/spec/models/revoked_sessions_spec.rb +34 -0
- 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_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_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_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 +7 -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_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/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.10.2.gem +0 -0
- 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/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/Changelog.md +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/README.md +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/expectation_target.rb +3 -5
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/fail_with.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/failure_aggregator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/handler.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/aliased_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/all.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/be.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/be_between.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/be_within.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/change.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/compound.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/count_expectation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/cover.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/eq.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/eql.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/equal.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/exist.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/has.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/include.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/match.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/operators.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/output.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/raise_error.rb +9 -3
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/throw_symbol.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/yield.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/composable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/dsl.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/english_phrasing.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/fail_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/generated_descriptions.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/matcher_delegator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/matcher_protocol.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-expectations-3.10.1.gemspec → rspec-expectations-3.10.2.gemspec} +8 -8
- metadata +66 -58
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.10.1.gem +0 -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -336,7 +336,7 @@ module OryClient
|
|
336
336
|
# List Identities
|
337
337
|
# 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).
|
338
338
|
# @param [Hash] opts the optional parameters
|
339
|
-
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to
|
339
|
+
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
340
340
|
# @option opts [Integer] :page Pagination Page (default to 0)
|
341
341
|
# @return [Array<Identity>]
|
342
342
|
def admin_list_identities(opts = {})
|
@@ -354,8 +354,8 @@ module OryClient
|
|
354
354
|
if @api_client.config.debugging
|
355
355
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.admin_list_identities ...'
|
356
356
|
end
|
357
|
-
if @api_client.config.client_side_validation && !opts[:'per_page'].nil? && opts[:'per_page'] >
|
358
|
-
fail ArgumentError, 'invalid value for "opts[:"per_page"]" when calling V0alpha2Api.admin_list_identities, must be smaller than or equal to
|
357
|
+
if @api_client.config.client_side_validation && !opts[:'per_page'].nil? && opts[:'per_page'] > 1000
|
358
|
+
fail ArgumentError, 'invalid value for "opts[:"per_page"]" when calling V0alpha2Api.admin_list_identities, must be smaller than or equal to 1000.'
|
359
359
|
end
|
360
360
|
|
361
361
|
if @api_client.config.client_side_validation && !opts[:'per_page'].nil? && opts[:'per_page'] < 1
|
@@ -408,6 +408,90 @@ module OryClient
|
|
408
408
|
return data, status_code, headers
|
409
409
|
end
|
410
410
|
|
411
|
+
# This endpoint returns all sessions that belong to the given Identity.
|
412
|
+
# This endpoint is useful for: Listing all sessions that belong to an Identity in an administrative context.
|
413
|
+
# @param id [String] ID is the identity's ID.
|
414
|
+
# @param [Hash] opts the optional parameters
|
415
|
+
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
416
|
+
# @option opts [Integer] :page Pagination Page (default to 0)
|
417
|
+
# @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.
|
418
|
+
# @return [Array<Session>]
|
419
|
+
def admin_list_identity_sessions(id, opts = {})
|
420
|
+
data, _status_code, _headers = admin_list_identity_sessions_with_http_info(id, opts)
|
421
|
+
data
|
422
|
+
end
|
423
|
+
|
424
|
+
# This endpoint returns all sessions that belong to the given Identity.
|
425
|
+
# This endpoint is useful for: Listing all sessions that belong to an Identity in an administrative context.
|
426
|
+
# @param id [String] ID is the identity's ID.
|
427
|
+
# @param [Hash] opts the optional parameters
|
428
|
+
# @option opts [Integer] :per_page Items per Page This is the number of items per page.
|
429
|
+
# @option opts [Integer] :page Pagination Page
|
430
|
+
# @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.
|
431
|
+
# @return [Array<(Array<Session>, Integer, Hash)>] Array<Session> data, response status code and response headers
|
432
|
+
def admin_list_identity_sessions_with_http_info(id, opts = {})
|
433
|
+
if @api_client.config.debugging
|
434
|
+
@api_client.config.logger.debug 'Calling API: V0alpha2Api.admin_list_identity_sessions ...'
|
435
|
+
end
|
436
|
+
# verify the required parameter 'id' is set
|
437
|
+
if @api_client.config.client_side_validation && id.nil?
|
438
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.admin_list_identity_sessions"
|
439
|
+
end
|
440
|
+
if @api_client.config.client_side_validation && !opts[:'per_page'].nil? && opts[:'per_page'] > 1000
|
441
|
+
fail ArgumentError, 'invalid value for "opts[:"per_page"]" when calling V0alpha2Api.admin_list_identity_sessions, must be smaller than or equal to 1000.'
|
442
|
+
end
|
443
|
+
|
444
|
+
if @api_client.config.client_side_validation && !opts[:'per_page'].nil? && opts[:'per_page'] < 1
|
445
|
+
fail ArgumentError, 'invalid value for "opts[:"per_page"]" when calling V0alpha2Api.admin_list_identity_sessions, must be greater than or equal to 1.'
|
446
|
+
end
|
447
|
+
|
448
|
+
if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] < 0
|
449
|
+
fail ArgumentError, 'invalid value for "opts[:"page"]" when calling V0alpha2Api.admin_list_identity_sessions, must be greater than or equal to 0.'
|
450
|
+
end
|
451
|
+
|
452
|
+
# resource path
|
453
|
+
local_var_path = '/api/kratos/admin/identities/{id}/sessions'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
454
|
+
|
455
|
+
# query parameters
|
456
|
+
query_params = opts[:query_params] || {}
|
457
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
458
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
459
|
+
query_params[:'active'] = opts[:'active'] if !opts[:'active'].nil?
|
460
|
+
|
461
|
+
# header parameters
|
462
|
+
header_params = opts[:header_params] || {}
|
463
|
+
# HTTP header 'Accept' (if needed)
|
464
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
465
|
+
|
466
|
+
# form parameters
|
467
|
+
form_params = opts[:form_params] || {}
|
468
|
+
|
469
|
+
# http body (model)
|
470
|
+
post_body = opts[:debug_body]
|
471
|
+
|
472
|
+
# return_type
|
473
|
+
return_type = opts[:debug_return_type] || 'Array<Session>'
|
474
|
+
|
475
|
+
# auth_names
|
476
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
477
|
+
|
478
|
+
new_options = opts.merge(
|
479
|
+
:operation => :"V0alpha2Api.admin_list_identity_sessions",
|
480
|
+
:header_params => header_params,
|
481
|
+
:query_params => query_params,
|
482
|
+
:form_params => form_params,
|
483
|
+
:body => post_body,
|
484
|
+
:auth_names => auth_names,
|
485
|
+
:return_type => return_type
|
486
|
+
)
|
487
|
+
|
488
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
489
|
+
if @api_client.config.debugging
|
490
|
+
@api_client.config.logger.debug "API called: V0alpha2Api#admin_list_identity_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
491
|
+
end
|
492
|
+
return data, status_code, headers
|
493
|
+
end
|
494
|
+
|
411
495
|
# Update an Identity
|
412
496
|
# This endpoint updates an identity. It is NOT possible to set an identity's credentials (password, ...) using this method! A way to achieve that will be introduced in the future. 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).
|
413
497
|
# @param id [String] ID must be set to the ID of identity you want to update
|
@@ -1660,7 +1744,7 @@ module OryClient
|
|
1660
1744
|
|
1661
1745
|
# Get all Identity Schemas
|
1662
1746
|
# @param [Hash] opts the optional parameters
|
1663
|
-
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to
|
1747
|
+
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
1664
1748
|
# @option opts [Integer] :page Pagination Page (default to 0)
|
1665
1749
|
# @return [Array<IdentitySchema>]
|
1666
1750
|
def list_identity_schemas(opts = {})
|
@@ -1677,8 +1761,8 @@ module OryClient
|
|
1677
1761
|
if @api_client.config.debugging
|
1678
1762
|
@api_client.config.logger.debug 'Calling API: V0alpha2Api.list_identity_schemas ...'
|
1679
1763
|
end
|
1680
|
-
if @api_client.config.client_side_validation && !opts[:'per_page'].nil? && opts[:'per_page'] >
|
1681
|
-
fail ArgumentError, 'invalid value for "opts[:"per_page"]" when calling V0alpha2Api.list_identity_schemas, must be smaller than or equal to
|
1764
|
+
if @api_client.config.client_side_validation && !opts[:'per_page'].nil? && opts[:'per_page'] > 1000
|
1765
|
+
fail ArgumentError, 'invalid value for "opts[:"per_page"]" when calling V0alpha2Api.list_identity_schemas, must be smaller than or equal to 1000.'
|
1682
1766
|
end
|
1683
1767
|
|
1684
1768
|
if @api_client.config.client_side_validation && !opts[:'per_page'].nil? && opts[:'per_page'] < 1
|
@@ -1731,6 +1815,213 @@ module OryClient
|
|
1731
1815
|
return data, status_code, headers
|
1732
1816
|
end
|
1733
1817
|
|
1818
|
+
# This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint.
|
1819
|
+
# This endpoint is useful for: Displaying all other sessions that belong to the logged-in user
|
1820
|
+
# @param [Hash] opts the optional parameters
|
1821
|
+
# @option opts [String] :x_session_token Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
|
1822
|
+
# @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.
|
1823
|
+
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
1824
|
+
# @option opts [Integer] :page Pagination Page (default to 0)
|
1825
|
+
# @return [Array<Session>]
|
1826
|
+
def list_sessions(opts = {})
|
1827
|
+
data, _status_code, _headers = list_sessions_with_http_info(opts)
|
1828
|
+
data
|
1829
|
+
end
|
1830
|
+
|
1831
|
+
# This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint.
|
1832
|
+
# This endpoint is useful for: Displaying all other sessions that belong to the logged-in user
|
1833
|
+
# @param [Hash] opts the optional parameters
|
1834
|
+
# @option opts [String] :x_session_token Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
|
1835
|
+
# @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.
|
1836
|
+
# @option opts [Integer] :per_page Items per Page This is the number of items per page.
|
1837
|
+
# @option opts [Integer] :page Pagination Page
|
1838
|
+
# @return [Array<(Array<Session>, Integer, Hash)>] Array<Session> data, response status code and response headers
|
1839
|
+
def list_sessions_with_http_info(opts = {})
|
1840
|
+
if @api_client.config.debugging
|
1841
|
+
@api_client.config.logger.debug 'Calling API: V0alpha2Api.list_sessions ...'
|
1842
|
+
end
|
1843
|
+
if @api_client.config.client_side_validation && !opts[:'per_page'].nil? && opts[:'per_page'] > 1000
|
1844
|
+
fail ArgumentError, 'invalid value for "opts[:"per_page"]" when calling V0alpha2Api.list_sessions, must be smaller than or equal to 1000.'
|
1845
|
+
end
|
1846
|
+
|
1847
|
+
if @api_client.config.client_side_validation && !opts[:'per_page'].nil? && opts[:'per_page'] < 1
|
1848
|
+
fail ArgumentError, 'invalid value for "opts[:"per_page"]" when calling V0alpha2Api.list_sessions, must be greater than or equal to 1.'
|
1849
|
+
end
|
1850
|
+
|
1851
|
+
if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] < 0
|
1852
|
+
fail ArgumentError, 'invalid value for "opts[:"page"]" when calling V0alpha2Api.list_sessions, must be greater than or equal to 0.'
|
1853
|
+
end
|
1854
|
+
|
1855
|
+
# resource path
|
1856
|
+
local_var_path = '/api/kratos/public/sessions'
|
1857
|
+
|
1858
|
+
# query parameters
|
1859
|
+
query_params = opts[:query_params] || {}
|
1860
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
1861
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
1862
|
+
|
1863
|
+
# header parameters
|
1864
|
+
header_params = opts[:header_params] || {}
|
1865
|
+
# HTTP header 'Accept' (if needed)
|
1866
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1867
|
+
header_params[:'X-Session-Token'] = opts[:'x_session_token'] if !opts[:'x_session_token'].nil?
|
1868
|
+
header_params[:'Cookie'] = opts[:'cookie'] if !opts[:'cookie'].nil?
|
1869
|
+
|
1870
|
+
# form parameters
|
1871
|
+
form_params = opts[:form_params] || {}
|
1872
|
+
|
1873
|
+
# http body (model)
|
1874
|
+
post_body = opts[:debug_body]
|
1875
|
+
|
1876
|
+
# return_type
|
1877
|
+
return_type = opts[:debug_return_type] || 'Array<Session>'
|
1878
|
+
|
1879
|
+
# auth_names
|
1880
|
+
auth_names = opts[:debug_auth_names] || []
|
1881
|
+
|
1882
|
+
new_options = opts.merge(
|
1883
|
+
:operation => :"V0alpha2Api.list_sessions",
|
1884
|
+
:header_params => header_params,
|
1885
|
+
:query_params => query_params,
|
1886
|
+
:form_params => form_params,
|
1887
|
+
:body => post_body,
|
1888
|
+
:auth_names => auth_names,
|
1889
|
+
:return_type => return_type
|
1890
|
+
)
|
1891
|
+
|
1892
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1893
|
+
if @api_client.config.debugging
|
1894
|
+
@api_client.config.logger.debug "API called: V0alpha2Api#list_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1895
|
+
end
|
1896
|
+
return data, status_code, headers
|
1897
|
+
end
|
1898
|
+
|
1899
|
+
# Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
|
1900
|
+
# This endpoint is useful for: To forcefully logout the current user from another device or session
|
1901
|
+
# @param id [String] ID is the session's ID.
|
1902
|
+
# @param [Hash] opts the optional parameters
|
1903
|
+
# @return [nil]
|
1904
|
+
def revoke_session(id, opts = {})
|
1905
|
+
revoke_session_with_http_info(id, opts)
|
1906
|
+
nil
|
1907
|
+
end
|
1908
|
+
|
1909
|
+
# Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
|
1910
|
+
# This endpoint is useful for: To forcefully logout the current user from another device or session
|
1911
|
+
# @param id [String] ID is the session's ID.
|
1912
|
+
# @param [Hash] opts the optional parameters
|
1913
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1914
|
+
def revoke_session_with_http_info(id, opts = {})
|
1915
|
+
if @api_client.config.debugging
|
1916
|
+
@api_client.config.logger.debug 'Calling API: V0alpha2Api.revoke_session ...'
|
1917
|
+
end
|
1918
|
+
# verify the required parameter 'id' is set
|
1919
|
+
if @api_client.config.client_side_validation && id.nil?
|
1920
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling V0alpha2Api.revoke_session"
|
1921
|
+
end
|
1922
|
+
# resource path
|
1923
|
+
local_var_path = '/api/kratos/public/sessions/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
1924
|
+
|
1925
|
+
# query parameters
|
1926
|
+
query_params = opts[:query_params] || {}
|
1927
|
+
|
1928
|
+
# header parameters
|
1929
|
+
header_params = opts[:header_params] || {}
|
1930
|
+
# HTTP header 'Accept' (if needed)
|
1931
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1932
|
+
|
1933
|
+
# form parameters
|
1934
|
+
form_params = opts[:form_params] || {}
|
1935
|
+
|
1936
|
+
# http body (model)
|
1937
|
+
post_body = opts[:debug_body]
|
1938
|
+
|
1939
|
+
# return_type
|
1940
|
+
return_type = opts[:debug_return_type]
|
1941
|
+
|
1942
|
+
# auth_names
|
1943
|
+
auth_names = opts[:debug_auth_names] || []
|
1944
|
+
|
1945
|
+
new_options = opts.merge(
|
1946
|
+
:operation => :"V0alpha2Api.revoke_session",
|
1947
|
+
:header_params => header_params,
|
1948
|
+
:query_params => query_params,
|
1949
|
+
:form_params => form_params,
|
1950
|
+
:body => post_body,
|
1951
|
+
:auth_names => auth_names,
|
1952
|
+
:return_type => return_type
|
1953
|
+
)
|
1954
|
+
|
1955
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
1956
|
+
if @api_client.config.debugging
|
1957
|
+
@api_client.config.logger.debug "API called: V0alpha2Api#revoke_session\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1958
|
+
end
|
1959
|
+
return data, status_code, headers
|
1960
|
+
end
|
1961
|
+
|
1962
|
+
# Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
|
1963
|
+
# This endpoint is useful for: To forcefully logout the current user from all other devices and sessions
|
1964
|
+
# @param [Hash] opts the optional parameters
|
1965
|
+
# @option opts [String] :x_session_token Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
|
1966
|
+
# @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.
|
1967
|
+
# @return [RevokedSessions]
|
1968
|
+
def revoke_sessions(opts = {})
|
1969
|
+
data, _status_code, _headers = revoke_sessions_with_http_info(opts)
|
1970
|
+
data
|
1971
|
+
end
|
1972
|
+
|
1973
|
+
# Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
|
1974
|
+
# This endpoint is useful for: To forcefully logout the current user from all other devices and sessions
|
1975
|
+
# @param [Hash] opts the optional parameters
|
1976
|
+
# @option opts [String] :x_session_token Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
|
1977
|
+
# @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.
|
1978
|
+
# @return [Array<(RevokedSessions, Integer, Hash)>] RevokedSessions data, response status code and response headers
|
1979
|
+
def revoke_sessions_with_http_info(opts = {})
|
1980
|
+
if @api_client.config.debugging
|
1981
|
+
@api_client.config.logger.debug 'Calling API: V0alpha2Api.revoke_sessions ...'
|
1982
|
+
end
|
1983
|
+
# resource path
|
1984
|
+
local_var_path = '/api/kratos/public/sessions'
|
1985
|
+
|
1986
|
+
# query parameters
|
1987
|
+
query_params = opts[:query_params] || {}
|
1988
|
+
|
1989
|
+
# header parameters
|
1990
|
+
header_params = opts[:header_params] || {}
|
1991
|
+
# HTTP header 'Accept' (if needed)
|
1992
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1993
|
+
header_params[:'X-Session-Token'] = opts[:'x_session_token'] if !opts[:'x_session_token'].nil?
|
1994
|
+
header_params[:'Cookie'] = opts[:'cookie'] if !opts[:'cookie'].nil?
|
1995
|
+
|
1996
|
+
# form parameters
|
1997
|
+
form_params = opts[:form_params] || {}
|
1998
|
+
|
1999
|
+
# http body (model)
|
2000
|
+
post_body = opts[:debug_body]
|
2001
|
+
|
2002
|
+
# return_type
|
2003
|
+
return_type = opts[:debug_return_type] || 'RevokedSessions'
|
2004
|
+
|
2005
|
+
# auth_names
|
2006
|
+
auth_names = opts[:debug_auth_names] || []
|
2007
|
+
|
2008
|
+
new_options = opts.merge(
|
2009
|
+
:operation => :"V0alpha2Api.revoke_sessions",
|
2010
|
+
:header_params => header_params,
|
2011
|
+
:query_params => query_params,
|
2012
|
+
:form_params => form_params,
|
2013
|
+
:body => post_body,
|
2014
|
+
:auth_names => auth_names,
|
2015
|
+
:return_type => return_type
|
2016
|
+
)
|
2017
|
+
|
2018
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
2019
|
+
if @api_client.config.debugging
|
2020
|
+
@api_client.config.logger.debug "API called: V0alpha2Api#revoke_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2021
|
+
end
|
2022
|
+
return data, status_code, headers
|
2023
|
+
end
|
2024
|
+
|
1734
2025
|
# Submit a Login Flow
|
1735
2026
|
# :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 302 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 302 redirect to the login UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
|
1736
2027
|
# @param flow [String] The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`).
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -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.48
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|