ory-client 0.0.1.alpha45 → 0.0.1.alpha49
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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e581b4981fe99fcc0eeef7a49167049c8791828c46df93bf13e8ddc630c6bab5
|
4
|
+
data.tar.gz: d7933a7937ef474067145400a479b3496dbd2b25bdeb2fa942ad096f659522e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c6998af05cb3a2729730827bdf98eb0b7e779034e2b880277675600d010ae2c76e491af42041aee162d3e1f986dd136d17a8cc3deb057da0e2c3b064bfb6c70
|
7
|
+
data.tar.gz: 7810c1ca823f07607b0cf00826f075cd8ce47cf4b800937a35c9cbc77a8a58af4de758b32f68705f65172958534b3406c2cc42dafcfc4b2a394ed60cf5f155a0
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ory-client (0.0.1.
|
4
|
+
ory-client (0.0.1.alpha49)
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -35,7 +35,7 @@ GEM
|
|
35
35
|
rspec-mocks (~> 3.10.0)
|
36
36
|
rspec-core (3.10.1)
|
37
37
|
rspec-support (~> 3.10.0)
|
38
|
-
rspec-expectations (3.10.
|
38
|
+
rspec-expectations (3.10.2)
|
39
39
|
diff-lcs (>= 1.2.0, < 2.0)
|
40
40
|
rspec-support (~> 3.10.0)
|
41
41
|
rspec-mocks (3.10.2)
|
data/README.md
CHANGED
@@ -8,8 +8,8 @@ with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
|
8
8
|
|
9
9
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
10
10
|
|
11
|
-
- API version: v0.0.1-alpha.
|
12
|
-
- Package version: v0.0.1-alpha.
|
11
|
+
- API version: v0.0.1-alpha.49
|
12
|
+
- Package version: v0.0.1-alpha.49
|
13
13
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
14
14
|
|
15
15
|
## Installation
|
@@ -25,16 +25,16 @@ gem build ory-client.gemspec
|
|
25
25
|
Then either install the gem locally:
|
26
26
|
|
27
27
|
```shell
|
28
|
-
gem install ./ory-client-v0.0.1-alpha.
|
28
|
+
gem install ./ory-client-v0.0.1-alpha.49.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./ory-client-v0.0.1-alpha.
|
31
|
+
(for development, run `gem install --dev ./ory-client-v0.0.1-alpha.49.gem` to install the development dependencies)
|
32
32
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
34
34
|
|
35
35
|
Finally add this to the Gemfile:
|
36
36
|
|
37
|
-
gem 'ory-client', '~> v0.0.1-alpha.
|
37
|
+
gem 'ory-client', '~> v0.0.1-alpha.49'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -89,6 +89,7 @@ Class | Method | HTTP request | Description
|
|
89
89
|
*OryClient::V0alpha2Api* | [**admin_delete_identity_sessions**](docs/V0alpha2Api.md#admin_delete_identity_sessions) | **DELETE** /api/kratos/admin/identities/{id}/sessions | Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
|
90
90
|
*OryClient::V0alpha2Api* | [**admin_get_identity**](docs/V0alpha2Api.md#admin_get_identity) | **GET** /api/kratos/admin/identities/{id} | Get an Identity
|
91
91
|
*OryClient::V0alpha2Api* | [**admin_list_identities**](docs/V0alpha2Api.md#admin_list_identities) | **GET** /api/kratos/admin/identities | List Identities
|
92
|
+
*OryClient::V0alpha2Api* | [**admin_list_identity_sessions**](docs/V0alpha2Api.md#admin_list_identity_sessions) | **GET** /api/kratos/admin/identities/{id}/sessions | This endpoint returns all sessions that belong to the given Identity.
|
92
93
|
*OryClient::V0alpha2Api* | [**admin_update_identity**](docs/V0alpha2Api.md#admin_update_identity) | **PUT** /api/kratos/admin/identities/{id} | Update an Identity
|
93
94
|
*OryClient::V0alpha2Api* | [**create_self_service_logout_flow_url_for_browsers**](docs/V0alpha2Api.md#create_self_service_logout_flow_url_for_browsers) | **GET** /api/kratos/public/self-service/logout/browser | Create a Logout URL for Browsers
|
94
95
|
*OryClient::V0alpha2Api* | [**get_json_schema**](docs/V0alpha2Api.md#get_json_schema) | **GET** /api/kratos/public/schemas/{id} |
|
@@ -110,6 +111,9 @@ Class | Method | HTTP request | Description
|
|
110
111
|
*OryClient::V0alpha2Api* | [**initialize_self_service_verification_flow_for_browsers**](docs/V0alpha2Api.md#initialize_self_service_verification_flow_for_browsers) | **GET** /api/kratos/public/self-service/verification/browser | Initialize Verification Flow for Browser Clients
|
111
112
|
*OryClient::V0alpha2Api* | [**initialize_self_service_verification_flow_without_browser**](docs/V0alpha2Api.md#initialize_self_service_verification_flow_without_browser) | **GET** /api/kratos/public/self-service/verification/api | Initialize Verification Flow for APIs, Services, Apps, ...
|
112
113
|
*OryClient::V0alpha2Api* | [**list_identity_schemas**](docs/V0alpha2Api.md#list_identity_schemas) | **GET** /api/kratos/public/schemas |
|
114
|
+
*OryClient::V0alpha2Api* | [**list_sessions**](docs/V0alpha2Api.md#list_sessions) | **GET** /api/kratos/public/sessions | 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.
|
115
|
+
*OryClient::V0alpha2Api* | [**revoke_session**](docs/V0alpha2Api.md#revoke_session) | **DELETE** /api/kratos/public/sessions/{id} | Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
|
116
|
+
*OryClient::V0alpha2Api* | [**revoke_sessions**](docs/V0alpha2Api.md#revoke_sessions) | **DELETE** /api/kratos/public/sessions | Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
|
113
117
|
*OryClient::V0alpha2Api* | [**submit_self_service_login_flow**](docs/V0alpha2Api.md#submit_self_service_login_flow) | **POST** /api/kratos/public/self-service/login | Submit a Login Flow
|
114
118
|
*OryClient::V0alpha2Api* | [**submit_self_service_logout_flow**](docs/V0alpha2Api.md#submit_self_service_logout_flow) | **GET** /api/kratos/public/self-service/logout | Complete Self-Service Logout
|
115
119
|
*OryClient::V0alpha2Api* | [**submit_self_service_logout_flow_without_browser**](docs/V0alpha2Api.md#submit_self_service_logout_flow_without_browser) | **DELETE** /api/kratos/public/self-service/logout/api | Perform Logout for APIs, Services, Apps, ...
|
@@ -151,6 +155,7 @@ Class | Method | HTTP request | Description
|
|
151
155
|
- [OryClient::JsonError](docs/JsonError.md)
|
152
156
|
- [OryClient::NeedsPrivilegedSessionError](docs/NeedsPrivilegedSessionError.md)
|
153
157
|
- [OryClient::NullPlan](docs/NullPlan.md)
|
158
|
+
- [OryClient::Pagination](docs/Pagination.md)
|
154
159
|
- [OryClient::Project](docs/Project.md)
|
155
160
|
- [OryClient::ProjectHost](docs/ProjectHost.md)
|
156
161
|
- [OryClient::ProjectLookupSecretConfig](docs/ProjectLookupSecretConfig.md)
|
@@ -166,6 +171,7 @@ Class | Method | HTTP request | Description
|
|
166
171
|
- [OryClient::RecoveryAddress](docs/RecoveryAddress.md)
|
167
172
|
- [OryClient::RedirectionConfig](docs/RedirectionConfig.md)
|
168
173
|
- [OryClient::RedirectionField](docs/RedirectionField.md)
|
174
|
+
- [OryClient::RevokedSessions](docs/RevokedSessions.md)
|
169
175
|
- [OryClient::SchemaPatch](docs/SchemaPatch.md)
|
170
176
|
- [OryClient::SelfServiceBrowserLocationChangeRequiredError](docs/SelfServiceBrowserLocationChangeRequiredError.md)
|
171
177
|
- [OryClient::SelfServiceError](docs/SelfServiceError.md)
|
data/docs/Pagination.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# OryClient::Pagination
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **page** | **Integer** | Pagination Page | [optional][default to 0] |
|
8
|
+
| **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'ory-client'
|
14
|
+
|
15
|
+
instance = OryClient::Pagination.new(
|
16
|
+
page: null,
|
17
|
+
per_page: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# OryClient::RevokedSessions
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **count** | **Integer** | The number of sessions that were revoked. | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-client'
|
13
|
+
|
14
|
+
instance = OryClient::RevokedSessions.new(
|
15
|
+
count: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -9,6 +9,7 @@
|
|
9
9
|
| **id** | **String** | A unique identifier | |
|
10
10
|
| **integrity** | **String** | The script's integrity hash | |
|
11
11
|
| **node_type** | **String** | | |
|
12
|
+
| **nonce** | **String** | Nonce for CSP A nonce you may want to use to improve your Content Security Policy. You do not have to use this value but if you want to improve your CSP policies you may use it. You can also choose to use your own nonce value! | |
|
12
13
|
| **referrerpolicy** | **String** | The script referrer policy | |
|
13
14
|
| **src** | **String** | The script source | |
|
14
15
|
| **type** | **String** | The script MIME type | |
|
@@ -24,6 +25,7 @@ instance = OryClient::UiNodeScriptAttributes.new(
|
|
24
25
|
id: null,
|
25
26
|
integrity: null,
|
26
27
|
node_type: null,
|
28
|
+
nonce: null,
|
27
29
|
referrerpolicy: null,
|
28
30
|
src: null,
|
29
31
|
type: null
|
data/docs/V0alpha2Api.md
CHANGED
@@ -10,6 +10,7 @@ All URIs are relative to *https://playground.projects.oryapis.com*
|
|
10
10
|
| [**admin_delete_identity_sessions**](V0alpha2Api.md#admin_delete_identity_sessions) | **DELETE** /api/kratos/admin/identities/{id}/sessions | Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity. |
|
11
11
|
| [**admin_get_identity**](V0alpha2Api.md#admin_get_identity) | **GET** /api/kratos/admin/identities/{id} | Get an Identity |
|
12
12
|
| [**admin_list_identities**](V0alpha2Api.md#admin_list_identities) | **GET** /api/kratos/admin/identities | List Identities |
|
13
|
+
| [**admin_list_identity_sessions**](V0alpha2Api.md#admin_list_identity_sessions) | **GET** /api/kratos/admin/identities/{id}/sessions | This endpoint returns all sessions that belong to the given Identity. |
|
13
14
|
| [**admin_update_identity**](V0alpha2Api.md#admin_update_identity) | **PUT** /api/kratos/admin/identities/{id} | Update an Identity |
|
14
15
|
| [**create_self_service_logout_flow_url_for_browsers**](V0alpha2Api.md#create_self_service_logout_flow_url_for_browsers) | **GET** /api/kratos/public/self-service/logout/browser | Create a Logout URL for Browsers |
|
15
16
|
| [**get_json_schema**](V0alpha2Api.md#get_json_schema) | **GET** /api/kratos/public/schemas/{id} | |
|
@@ -31,6 +32,9 @@ All URIs are relative to *https://playground.projects.oryapis.com*
|
|
31
32
|
| [**initialize_self_service_verification_flow_for_browsers**](V0alpha2Api.md#initialize_self_service_verification_flow_for_browsers) | **GET** /api/kratos/public/self-service/verification/browser | Initialize Verification Flow for Browser Clients |
|
32
33
|
| [**initialize_self_service_verification_flow_without_browser**](V0alpha2Api.md#initialize_self_service_verification_flow_without_browser) | **GET** /api/kratos/public/self-service/verification/api | Initialize Verification Flow for APIs, Services, Apps, ... |
|
33
34
|
| [**list_identity_schemas**](V0alpha2Api.md#list_identity_schemas) | **GET** /api/kratos/public/schemas | |
|
35
|
+
| [**list_sessions**](V0alpha2Api.md#list_sessions) | **GET** /api/kratos/public/sessions | 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. |
|
36
|
+
| [**revoke_session**](V0alpha2Api.md#revoke_session) | **DELETE** /api/kratos/public/sessions/{id} | Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted. |
|
37
|
+
| [**revoke_sessions**](V0alpha2Api.md#revoke_sessions) | **DELETE** /api/kratos/public/sessions | Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted. |
|
34
38
|
| [**submit_self_service_login_flow**](V0alpha2Api.md#submit_self_service_login_flow) | **POST** /api/kratos/public/self-service/login | Submit a Login Flow |
|
35
39
|
| [**submit_self_service_logout_flow**](V0alpha2Api.md#submit_self_service_logout_flow) | **GET** /api/kratos/public/self-service/logout | Complete Self-Service Logout |
|
36
40
|
| [**submit_self_service_logout_flow_without_browser**](V0alpha2Api.md#submit_self_service_logout_flow_without_browser) | **DELETE** /api/kratos/public/self-service/logout/api | Perform Logout for APIs, Services, Apps, ... |
|
@@ -448,7 +452,7 @@ end
|
|
448
452
|
|
449
453
|
| Name | Type | Description | Notes |
|
450
454
|
| ---- | ---- | ----------- | ----- |
|
451
|
-
| **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to
|
455
|
+
| **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
|
452
456
|
| **page** | **Integer** | Pagination Page | [optional][default to 0] |
|
453
457
|
|
454
458
|
### Return type
|
@@ -465,6 +469,83 @@ end
|
|
465
469
|
- **Accept**: application/json
|
466
470
|
|
467
471
|
|
472
|
+
## admin_list_identity_sessions
|
473
|
+
|
474
|
+
> <Array<Session>> admin_list_identity_sessions(id, opts)
|
475
|
+
|
476
|
+
This endpoint returns all sessions that belong to the given Identity.
|
477
|
+
|
478
|
+
This endpoint is useful for: Listing all sessions that belong to an Identity in an administrative context.
|
479
|
+
|
480
|
+
### Examples
|
481
|
+
|
482
|
+
```ruby
|
483
|
+
require 'time'
|
484
|
+
require 'ory-client'
|
485
|
+
# setup authorization
|
486
|
+
OryClient.configure do |config|
|
487
|
+
# Configure Bearer authorization: oryAccessToken
|
488
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
489
|
+
end
|
490
|
+
|
491
|
+
api_instance = OryClient::V0alpha2Api.new
|
492
|
+
id = 'id_example' # String | ID is the identity's ID.
|
493
|
+
opts = {
|
494
|
+
per_page: 789, # Integer | Items per Page This is the number of items per page.
|
495
|
+
page: 789, # Integer | Pagination Page
|
496
|
+
active: true # Boolean | Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.
|
497
|
+
}
|
498
|
+
|
499
|
+
begin
|
500
|
+
# This endpoint returns all sessions that belong to the given Identity.
|
501
|
+
result = api_instance.admin_list_identity_sessions(id, opts)
|
502
|
+
p result
|
503
|
+
rescue OryClient::ApiError => e
|
504
|
+
puts "Error when calling V0alpha2Api->admin_list_identity_sessions: #{e}"
|
505
|
+
end
|
506
|
+
```
|
507
|
+
|
508
|
+
#### Using the admin_list_identity_sessions_with_http_info variant
|
509
|
+
|
510
|
+
This returns an Array which contains the response data, status code and headers.
|
511
|
+
|
512
|
+
> <Array(<Array<Session>>, Integer, Hash)> admin_list_identity_sessions_with_http_info(id, opts)
|
513
|
+
|
514
|
+
```ruby
|
515
|
+
begin
|
516
|
+
# This endpoint returns all sessions that belong to the given Identity.
|
517
|
+
data, status_code, headers = api_instance.admin_list_identity_sessions_with_http_info(id, opts)
|
518
|
+
p status_code # => 2xx
|
519
|
+
p headers # => { ... }
|
520
|
+
p data # => <Array<Session>>
|
521
|
+
rescue OryClient::ApiError => e
|
522
|
+
puts "Error when calling V0alpha2Api->admin_list_identity_sessions_with_http_info: #{e}"
|
523
|
+
end
|
524
|
+
```
|
525
|
+
|
526
|
+
### Parameters
|
527
|
+
|
528
|
+
| Name | Type | Description | Notes |
|
529
|
+
| ---- | ---- | ----------- | ----- |
|
530
|
+
| **id** | **String** | ID is the identity's ID. | |
|
531
|
+
| **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
|
532
|
+
| **page** | **Integer** | Pagination Page | [optional][default to 0] |
|
533
|
+
| **active** | **Boolean** | Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned. | [optional] |
|
534
|
+
|
535
|
+
### Return type
|
536
|
+
|
537
|
+
[**Array<Session>**](Session.md)
|
538
|
+
|
539
|
+
### Authorization
|
540
|
+
|
541
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
542
|
+
|
543
|
+
### HTTP request headers
|
544
|
+
|
545
|
+
- **Content-Type**: Not defined
|
546
|
+
- **Accept**: application/json
|
547
|
+
|
548
|
+
|
468
549
|
## admin_update_identity
|
469
550
|
|
470
551
|
> <Identity> admin_update_identity(id, opts)
|
@@ -1839,7 +1920,7 @@ end
|
|
1839
1920
|
|
1840
1921
|
| Name | Type | Description | Notes |
|
1841
1922
|
| ---- | ---- | ----------- | ----- |
|
1842
|
-
| **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to
|
1923
|
+
| **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
|
1843
1924
|
| **page** | **Integer** | Pagination Page | [optional][default to 0] |
|
1844
1925
|
|
1845
1926
|
### Return type
|
@@ -1856,6 +1937,209 @@ No authorization required
|
|
1856
1937
|
- **Accept**: application/json
|
1857
1938
|
|
1858
1939
|
|
1940
|
+
## list_sessions
|
1941
|
+
|
1942
|
+
> <Array<Session>> list_sessions(opts)
|
1943
|
+
|
1944
|
+
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.
|
1945
|
+
|
1946
|
+
This endpoint is useful for: Displaying all other sessions that belong to the logged-in user
|
1947
|
+
|
1948
|
+
### Examples
|
1949
|
+
|
1950
|
+
```ruby
|
1951
|
+
require 'time'
|
1952
|
+
require 'ory-client'
|
1953
|
+
|
1954
|
+
api_instance = OryClient::V0alpha2Api.new
|
1955
|
+
opts = {
|
1956
|
+
x_session_token: 'x_session_token_example', # String | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
|
1957
|
+
cookie: 'cookie_example', # String | 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.
|
1958
|
+
per_page: 789, # Integer | Items per Page This is the number of items per page.
|
1959
|
+
page: 789 # Integer | Pagination Page
|
1960
|
+
}
|
1961
|
+
|
1962
|
+
begin
|
1963
|
+
# 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.
|
1964
|
+
result = api_instance.list_sessions(opts)
|
1965
|
+
p result
|
1966
|
+
rescue OryClient::ApiError => e
|
1967
|
+
puts "Error when calling V0alpha2Api->list_sessions: #{e}"
|
1968
|
+
end
|
1969
|
+
```
|
1970
|
+
|
1971
|
+
#### Using the list_sessions_with_http_info variant
|
1972
|
+
|
1973
|
+
This returns an Array which contains the response data, status code and headers.
|
1974
|
+
|
1975
|
+
> <Array(<Array<Session>>, Integer, Hash)> list_sessions_with_http_info(opts)
|
1976
|
+
|
1977
|
+
```ruby
|
1978
|
+
begin
|
1979
|
+
# 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.
|
1980
|
+
data, status_code, headers = api_instance.list_sessions_with_http_info(opts)
|
1981
|
+
p status_code # => 2xx
|
1982
|
+
p headers # => { ... }
|
1983
|
+
p data # => <Array<Session>>
|
1984
|
+
rescue OryClient::ApiError => e
|
1985
|
+
puts "Error when calling V0alpha2Api->list_sessions_with_http_info: #{e}"
|
1986
|
+
end
|
1987
|
+
```
|
1988
|
+
|
1989
|
+
### Parameters
|
1990
|
+
|
1991
|
+
| Name | Type | Description | Notes |
|
1992
|
+
| ---- | ---- | ----------- | ----- |
|
1993
|
+
| **x_session_token** | **String** | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. | [optional] |
|
1994
|
+
| **cookie** | **String** | 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. | [optional] |
|
1995
|
+
| **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
|
1996
|
+
| **page** | **Integer** | Pagination Page | [optional][default to 0] |
|
1997
|
+
|
1998
|
+
### Return type
|
1999
|
+
|
2000
|
+
[**Array<Session>**](Session.md)
|
2001
|
+
|
2002
|
+
### Authorization
|
2003
|
+
|
2004
|
+
No authorization required
|
2005
|
+
|
2006
|
+
### HTTP request headers
|
2007
|
+
|
2008
|
+
- **Content-Type**: Not defined
|
2009
|
+
- **Accept**: application/json
|
2010
|
+
|
2011
|
+
|
2012
|
+
## revoke_session
|
2013
|
+
|
2014
|
+
> revoke_session(id)
|
2015
|
+
|
2016
|
+
Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
|
2017
|
+
|
2018
|
+
This endpoint is useful for: To forcefully logout the current user from another device or session
|
2019
|
+
|
2020
|
+
### Examples
|
2021
|
+
|
2022
|
+
```ruby
|
2023
|
+
require 'time'
|
2024
|
+
require 'ory-client'
|
2025
|
+
|
2026
|
+
api_instance = OryClient::V0alpha2Api.new
|
2027
|
+
id = 'id_example' # String | ID is the session's ID.
|
2028
|
+
|
2029
|
+
begin
|
2030
|
+
# Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
|
2031
|
+
api_instance.revoke_session(id)
|
2032
|
+
rescue OryClient::ApiError => e
|
2033
|
+
puts "Error when calling V0alpha2Api->revoke_session: #{e}"
|
2034
|
+
end
|
2035
|
+
```
|
2036
|
+
|
2037
|
+
#### Using the revoke_session_with_http_info variant
|
2038
|
+
|
2039
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
2040
|
+
|
2041
|
+
> <Array(nil, Integer, Hash)> revoke_session_with_http_info(id)
|
2042
|
+
|
2043
|
+
```ruby
|
2044
|
+
begin
|
2045
|
+
# Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
|
2046
|
+
data, status_code, headers = api_instance.revoke_session_with_http_info(id)
|
2047
|
+
p status_code # => 2xx
|
2048
|
+
p headers # => { ... }
|
2049
|
+
p data # => nil
|
2050
|
+
rescue OryClient::ApiError => e
|
2051
|
+
puts "Error when calling V0alpha2Api->revoke_session_with_http_info: #{e}"
|
2052
|
+
end
|
2053
|
+
```
|
2054
|
+
|
2055
|
+
### Parameters
|
2056
|
+
|
2057
|
+
| Name | Type | Description | Notes |
|
2058
|
+
| ---- | ---- | ----------- | ----- |
|
2059
|
+
| **id** | **String** | ID is the session's ID. | |
|
2060
|
+
|
2061
|
+
### Return type
|
2062
|
+
|
2063
|
+
nil (empty response body)
|
2064
|
+
|
2065
|
+
### Authorization
|
2066
|
+
|
2067
|
+
No authorization required
|
2068
|
+
|
2069
|
+
### HTTP request headers
|
2070
|
+
|
2071
|
+
- **Content-Type**: Not defined
|
2072
|
+
- **Accept**: application/json
|
2073
|
+
|
2074
|
+
|
2075
|
+
## revoke_sessions
|
2076
|
+
|
2077
|
+
> <RevokedSessions> revoke_sessions(opts)
|
2078
|
+
|
2079
|
+
Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
|
2080
|
+
|
2081
|
+
This endpoint is useful for: To forcefully logout the current user from all other devices and sessions
|
2082
|
+
|
2083
|
+
### Examples
|
2084
|
+
|
2085
|
+
```ruby
|
2086
|
+
require 'time'
|
2087
|
+
require 'ory-client'
|
2088
|
+
|
2089
|
+
api_instance = OryClient::V0alpha2Api.new
|
2090
|
+
opts = {
|
2091
|
+
x_session_token: 'x_session_token_example', # String | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
|
2092
|
+
cookie: 'cookie_example' # String | 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.
|
2093
|
+
}
|
2094
|
+
|
2095
|
+
begin
|
2096
|
+
# Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
|
2097
|
+
result = api_instance.revoke_sessions(opts)
|
2098
|
+
p result
|
2099
|
+
rescue OryClient::ApiError => e
|
2100
|
+
puts "Error when calling V0alpha2Api->revoke_sessions: #{e}"
|
2101
|
+
end
|
2102
|
+
```
|
2103
|
+
|
2104
|
+
#### Using the revoke_sessions_with_http_info variant
|
2105
|
+
|
2106
|
+
This returns an Array which contains the response data, status code and headers.
|
2107
|
+
|
2108
|
+
> <Array(<RevokedSessions>, Integer, Hash)> revoke_sessions_with_http_info(opts)
|
2109
|
+
|
2110
|
+
```ruby
|
2111
|
+
begin
|
2112
|
+
# Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
|
2113
|
+
data, status_code, headers = api_instance.revoke_sessions_with_http_info(opts)
|
2114
|
+
p status_code # => 2xx
|
2115
|
+
p headers # => { ... }
|
2116
|
+
p data # => <RevokedSessions>
|
2117
|
+
rescue OryClient::ApiError => e
|
2118
|
+
puts "Error when calling V0alpha2Api->revoke_sessions_with_http_info: #{e}"
|
2119
|
+
end
|
2120
|
+
```
|
2121
|
+
|
2122
|
+
### Parameters
|
2123
|
+
|
2124
|
+
| Name | Type | Description | Notes |
|
2125
|
+
| ---- | ---- | ----------- | ----- |
|
2126
|
+
| **x_session_token** | **String** | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. | [optional] |
|
2127
|
+
| **cookie** | **String** | 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. | [optional] |
|
2128
|
+
|
2129
|
+
### Return type
|
2130
|
+
|
2131
|
+
[**RevokedSessions**](RevokedSessions.md)
|
2132
|
+
|
2133
|
+
### Authorization
|
2134
|
+
|
2135
|
+
No authorization required
|
2136
|
+
|
2137
|
+
### HTTP request headers
|
2138
|
+
|
2139
|
+
- **Content-Type**: Not defined
|
2140
|
+
- **Accept**: application/json
|
2141
|
+
|
2142
|
+
|
1859
2143
|
## submit_self_service_login_flow
|
1860
2144
|
|
1861
2145
|
> <SuccessfulSelfServiceLoginWithoutBrowser> submit_self_service_login_flow(flow, opts)
|
@@ -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.49
|
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.49
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|