ory-client 0.0.1.alpha58 → 0.0.1.alpha69
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +16 -15
- data/docs/CloudAccount.md +22 -0
- data/docs/Identity.md +1 -1
- data/docs/IdentitySchema.md +6 -0
- data/docs/InvitePayload.md +18 -0
- data/docs/Project.md +2 -0
- data/docs/ProjectInvite.md +34 -0
- data/docs/ProjectRevision.md +127 -53
- data/docs/ProjectRevisionHook.md +46 -0
- data/docs/ProjectRevisionIdentitySchema.md +36 -0
- data/docs/ProjectRevisionThirdPartyLoginProvider.md +54 -0
- data/docs/QuotaProjectMemberSeats.md +22 -0
- data/docs/SuccessfulProjectConfigUpdate.md +20 -0
- data/docs/UiNodeInputAttributes.md +1 -1
- data/docs/UpdateProjectConfigConfig.md +18 -0
- data/docs/V0alpha0Api.md +78 -4
- data/docs/Warning.md +20 -0
- data/lib/ory-client/api/metadata_api.rb +2 -2
- data/lib/ory-client/api/v0alpha0_api.rb +86 -10
- data/lib/ory-client/api/v0alpha2_api.rb +38 -11
- data/lib/ory-client/api_client.rb +5 -5
- data/lib/ory-client/api_error.rb +2 -2
- data/lib/ory-client/configuration.rb +4 -3
- data/lib/ory-client/models/active_project.rb +2 -2
- data/lib/ory-client/models/admin_create_identity_body.rb +2 -2
- data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +2 -2
- data/lib/ory-client/models/admin_update_identity_body.rb +2 -2
- data/lib/ory-client/models/api_token.rb +2 -2
- data/lib/ory-client/models/authenticator_assurance_level.rb +2 -2
- data/lib/ory-client/models/{project_totp_config.rb → cloud_account.rb} +27 -20
- data/lib/ory-client/models/cname_settings.rb +2 -2
- data/lib/ory-client/models/create_custom_hostname_body.rb +2 -2
- data/lib/ory-client/models/create_subscription_payload.rb +2 -2
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +2 -2
- data/lib/ory-client/models/generic_error.rb +2 -2
- data/lib/ory-client/models/health_not_ready_status.rb +2 -2
- data/lib/ory-client/models/health_status.rb +2 -2
- data/lib/ory-client/models/identity.rb +3 -3
- data/lib/ory-client/models/identity_credentials.rb +2 -2
- data/lib/ory-client/models/identity_credentials_type.rb +2 -2
- data/lib/ory-client/models/identity_preset.rb +2 -2
- data/lib/ory-client/models/identity_schema.rb +43 -3
- data/lib/ory-client/models/identity_schema_location.rb +2 -2
- data/lib/ory-client/models/identity_schema_validation_result.rb +2 -2
- data/lib/ory-client/models/identity_state.rb +2 -2
- data/lib/ory-client/models/inline_response200.rb +2 -2
- data/lib/ory-client/models/inline_response2001.rb +2 -2
- data/lib/ory-client/models/inline_response503.rb +2 -2
- data/lib/ory-client/models/{project_recovery_config.rb → invite_payload.rb} +12 -13
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +2 -2
- data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +2 -2
- data/lib/ory-client/models/json_error.rb +2 -2
- data/lib/ory-client/models/needs_privileged_session_error.rb +2 -2
- data/lib/ory-client/models/null_plan.rb +2 -2
- data/lib/ory-client/models/pagination.rb +2 -2
- data/lib/ory-client/models/project.rb +19 -3
- data/lib/ory-client/models/project_host.rb +2 -2
- data/lib/ory-client/models/{project_web_authn_config.rb → project_invite.rb} +117 -41
- data/lib/ory-client/models/project_revision.rb +556 -218
- data/lib/ory-client/models/project_revision_hook.rb +367 -0
- data/lib/ory-client/models/{redirection_config.rb → project_revision_identity_schema.rb} +78 -56
- data/lib/ory-client/models/{project_oidc_config.rb → project_revision_third_party_login_provider.rb} +90 -33
- data/lib/ory-client/models/project_slug.rb +2 -2
- data/lib/ory-client/models/{redirection_field.rb → quota_project_member_seats.rb} +24 -33
- data/lib/ory-client/models/recovery_address.rb +2 -2
- data/lib/ory-client/models/revoked_sessions.rb +2 -2
- data/lib/ory-client/models/schema_patch.rb +2 -2
- data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +2 -2
- data/lib/ory-client/models/self_service_error.rb +2 -2
- data/lib/ory-client/models/self_service_flow_expired_error.rb +2 -2
- data/lib/ory-client/models/self_service_login_flow.rb +2 -2
- data/lib/ory-client/models/self_service_logout_url.rb +2 -2
- data/lib/ory-client/models/self_service_recovery_flow.rb +2 -2
- data/lib/ory-client/models/self_service_recovery_flow_state.rb +2 -2
- data/lib/ory-client/models/self_service_recovery_link.rb +2 -2
- data/lib/ory-client/models/self_service_registration_flow.rb +2 -2
- data/lib/ory-client/models/self_service_settings_flow.rb +2 -2
- data/lib/ory-client/models/self_service_settings_flow_state.rb +2 -2
- data/lib/ory-client/models/self_service_verification_flow.rb +2 -2
- data/lib/ory-client/models/self_service_verification_flow_state.rb +2 -2
- data/lib/ory-client/models/session.rb +2 -2
- data/lib/ory-client/models/session_authentication_method.rb +2 -2
- data/lib/ory-client/models/session_device.rb +2 -2
- data/lib/ory-client/models/settings_profile_form_config.rb +2 -2
- data/lib/ory-client/models/stripe_customer_response.rb +2 -2
- data/lib/ory-client/models/submit_self_service_login_flow_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +2 -2
- data/lib/ory-client/models/subscription.rb +2 -2
- data/lib/ory-client/models/{project_verification_config.rb → successful_project_config_update.rb} +21 -20
- data/lib/ory-client/models/successful_self_service_login_without_browser.rb +2 -2
- data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +2 -2
- data/lib/ory-client/models/ui_container.rb +2 -2
- data/lib/ory-client/models/ui_node.rb +2 -2
- data/lib/ory-client/models/ui_node_anchor_attributes.rb +2 -2
- data/lib/ory-client/models/ui_node_attributes.rb +2 -2
- data/lib/ory-client/models/ui_node_image_attributes.rb +2 -2
- data/lib/ory-client/models/ui_node_input_attributes.rb +3 -3
- data/lib/ory-client/models/ui_node_meta.rb +2 -2
- data/lib/ory-client/models/ui_node_script_attributes.rb +2 -2
- data/lib/ory-client/models/ui_node_text_attributes.rb +2 -2
- data/lib/ory-client/models/ui_text.rb +2 -2
- data/lib/ory-client/models/update_custom_hostname_body.rb +2 -2
- data/lib/ory-client/models/{project_lookup_secret_config.rb → update_project_config_config.rb} +18 -13
- data/lib/ory-client/models/update_subscription_payload.rb +2 -2
- data/lib/ory-client/models/verifiable_identity_address.rb +2 -2
- data/lib/ory-client/models/version.rb +2 -2
- data/lib/ory-client/models/{project_password_config.rb → warning.rb} +18 -20
- data/lib/ory-client/version.rb +3 -3
- data/lib/ory-client.rb +12 -12
- data/ory-client.gemspec +2 -2
- data/spec/api/metadata_api_spec.rb +2 -2
- data/spec/api/v0alpha0_api_spec.rb +17 -4
- data/spec/api/v0alpha2_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +4 -4
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/active_project_spec.rb +2 -2
- data/spec/models/admin_create_identity_body_spec.rb +2 -2
- data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +2 -2
- data/spec/models/admin_update_identity_body_spec.rb +2 -2
- data/spec/models/api_token_spec.rb +2 -2
- data/spec/models/authenticator_assurance_level_spec.rb +2 -2
- data/spec/models/{project_password_config_spec.rb → cloud_account_spec.rb} +16 -10
- data/spec/models/cname_settings_spec.rb +2 -2
- data/spec/models/create_custom_hostname_body_spec.rb +2 -2
- data/spec/models/create_subscription_payload_spec.rb +2 -2
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +2 -2
- data/spec/models/generic_error_spec.rb +2 -2
- data/spec/models/health_not_ready_status_spec.rb +2 -2
- data/spec/models/health_status_spec.rb +2 -2
- data/spec/models/identity_credentials_spec.rb +2 -2
- data/spec/models/identity_credentials_type_spec.rb +2 -2
- data/spec/models/identity_preset_spec.rb +2 -2
- data/spec/models/identity_schema_location_spec.rb +2 -2
- data/spec/models/identity_schema_spec.rb +20 -2
- data/spec/models/identity_schema_validation_result_spec.rb +2 -2
- data/spec/models/identity_spec.rb +2 -2
- data/spec/models/identity_state_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/inline_response503_spec.rb +2 -2
- data/spec/models/{project_recovery_config_spec.rb → invite_payload_spec.rb} +9 -9
- data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +2 -2
- data/spec/models/is_owner_for_project_by_slug_spec.rb +2 -2
- data/spec/models/json_error_spec.rb +2 -2
- data/spec/models/needs_privileged_session_error_spec.rb +2 -2
- data/spec/models/null_plan_spec.rb +2 -2
- data/spec/models/pagination_spec.rb +2 -2
- data/spec/models/project_host_spec.rb +2 -2
- data/spec/models/{redirection_config_spec.rb → project_invite_spec.rb} +22 -16
- data/spec/models/{project_oidc_config_spec.rb → project_revision_hook_spec.rb} +32 -20
- data/spec/models/project_revision_identity_schema_spec.rb +88 -0
- data/spec/models/project_revision_spec.rb +253 -31
- data/spec/models/{project_patch_spec.rb → project_revision_third_party_login_provider_spec.rb} +27 -45
- data/spec/models/project_slug_spec.rb +2 -2
- data/spec/models/project_spec.rb +8 -2
- data/spec/models/{redirection_field_spec.rb → quota_project_member_seats_spec.rb} +11 -17
- data/spec/models/recovery_address_spec.rb +2 -2
- data/spec/models/revoked_sessions_spec.rb +2 -2
- data/spec/models/schema_patch_spec.rb +2 -2
- data/spec/models/self_service_browser_location_change_required_error_spec.rb +2 -2
- data/spec/models/self_service_error_spec.rb +2 -2
- data/spec/models/self_service_flow_expired_error_spec.rb +2 -2
- data/spec/models/self_service_login_flow_spec.rb +2 -2
- data/spec/models/self_service_logout_url_spec.rb +2 -2
- data/spec/models/self_service_recovery_flow_spec.rb +2 -2
- data/spec/models/self_service_recovery_flow_state_spec.rb +2 -2
- data/spec/models/self_service_recovery_link_spec.rb +2 -2
- data/spec/models/self_service_registration_flow_spec.rb +2 -2
- data/spec/models/self_service_settings_flow_spec.rb +2 -2
- data/spec/models/self_service_settings_flow_state_spec.rb +2 -2
- data/spec/models/self_service_verification_flow_spec.rb +2 -2
- data/spec/models/self_service_verification_flow_state_spec.rb +2 -2
- data/spec/models/session_authentication_method_spec.rb +2 -2
- data/spec/models/session_device_spec.rb +2 -2
- data/spec/models/session_spec.rb +2 -2
- data/spec/models/settings_profile_form_config_spec.rb +2 -2
- data/spec/models/stripe_customer_response_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +2 -2
- data/spec/models/submit_self_service_recovery_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_registration_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_verification_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +2 -2
- data/spec/models/subscription_spec.rb +2 -2
- data/spec/models/{project_verification_config_spec.rb → successful_project_config_update_spec.rb} +10 -10
- data/spec/models/successful_self_service_login_without_browser_spec.rb +2 -2
- data/spec/models/successful_self_service_registration_without_browser_spec.rb +2 -2
- data/spec/models/ui_container_spec.rb +2 -2
- data/spec/models/ui_node_anchor_attributes_spec.rb +2 -2
- data/spec/models/ui_node_attributes_spec.rb +2 -2
- data/spec/models/ui_node_image_attributes_spec.rb +2 -2
- data/spec/models/ui_node_input_attributes_spec.rb +2 -2
- data/spec/models/ui_node_meta_spec.rb +2 -2
- data/spec/models/ui_node_script_attributes_spec.rb +2 -2
- data/spec/models/ui_node_spec.rb +2 -2
- data/spec/models/ui_node_text_attributes_spec.rb +2 -2
- data/spec/models/ui_text_spec.rb +2 -2
- data/spec/models/update_custom_hostname_body_spec.rb +2 -2
- data/spec/models/{project_lookup_secret_config_spec.rb → update_project_config_config_spec.rb} +9 -9
- data/spec/models/update_subscription_payload_spec.rb +2 -2
- data/spec/models/verifiable_identity_address_spec.rb +2 -2
- data/spec/models/version_spec.rb +2 -2
- data/spec/models/{project_totp_config_spec.rb → warning_spec.rb} +10 -10
- data/spec/spec_helper.rb +2 -2
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.10.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.10.3.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-core-3.10.1 → rspec-core-3.10.2}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/Changelog.md +17 -2
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/README.md +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/exe/rspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/autorun.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/backtrace_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/coordinator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/fork_runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/server.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/shell_command.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/shell_runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/utilities.rb +12 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/configuration_options.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/did_you_mean.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/drb.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/dsl.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/example.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/example_group.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/example_status_persister.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/filter_manager.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/flat_map.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/base_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/console_codes.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/exception_presenter.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/html_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/html_printer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/json_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/protocol.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters.rb +8 -2
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/hooks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/invocations.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/memoized_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/metadata.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/metadata_filter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/null.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/notifications.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/option_parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/ordering.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/output_wrapper.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/pending.rb +8 -16
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/profiler.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/project_initializer/.rspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/project_initializer/spec/spec_helper.rb +2 -4
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/project_initializer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/rake_task.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/reporter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/ruby_project.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/sandbox.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/set.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/shared_context.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/shared_example_group.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/shell_escape.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/warnings.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/world.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/Changelog.md +10 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/argument_list_matcher.rb +17 -3
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/argument_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/example_methods.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/marshal_extension.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/have_received.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/receive.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/message_expectation.rb +2 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/method_double.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/method_reference.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/mutate_const.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/object_reference.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/order_group.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/space.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/standalone.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/targets.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/test_double.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/verifying_double.rb +2 -10
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/verifying_proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks.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-core-3.10.1.gemspec → rspec-core-3.10.2.gemspec} +5 -5
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-mocks-3.10.2.gemspec → rspec-mocks-3.10.3.gemspec} +8 -8
- metadata +174 -174
- data/docs/ProjectLookupSecretConfig.md +0 -18
- data/docs/ProjectOidcConfig.md +0 -42
- data/docs/ProjectPasswordConfig.md +0 -20
- data/docs/ProjectPatch.md +0 -60
- data/docs/ProjectRecoveryConfig.md +0 -18
- data/docs/ProjectTotpConfig.md +0 -20
- data/docs/ProjectVerificationConfig.md +0 -20
- data/docs/ProjectWebAuthnConfig.md +0 -26
- data/docs/RedirectionConfig.md +0 -32
- data/docs/RedirectionField.md +0 -24
- data/lib/ory-client/models/project_patch.rb +0 -502
- data/spec/models/project_web_authn_config_spec.rb +0 -58
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.10.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.10.2.gem +0 -0
@@ -1,502 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Ory APIs
|
3
|
-
|
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
|
-
|
6
|
-
The version of the OpenAPI document: v0.0.1-alpha.58
|
7
|
-
Contact: support@ory.sh
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.2.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
require 'time'
|
15
|
-
|
16
|
-
module OryClient
|
17
|
-
class ProjectPatch
|
18
|
-
# URL of Project API In the future will allow to override Kratos project URL. If set, error is returned. If left empty our hosted URL is used
|
19
|
-
attr_accessor :api_url
|
20
|
-
|
21
|
-
# URL where your application is available. Your users will be redirected to this URL when they successfully complete a login, logout, verification, recovery, or registration flow. More fine-grained redirection patterns are available for the individual flows (login, registration, ...). If left empty, our hosted URL will be used instead. It contains technical information on the identities and is useful when developing a new project or trying out Ory Cloud.
|
22
|
-
attr_accessor :application_url
|
23
|
-
|
24
|
-
# Default Identity Schema URL This represents your Ory Kratos Default Identity Schema. It is your identity's default schema. This allows setting custom fields such as \"address\", specifying whether you want to log in using email or a username, and more. For more information on this topic, please check out the identity documentation. If KratosCustomSchemaID is also added to the payload, it will be preferred and replace the value of DefaultIdentitySchemaURL set by the client. The value of this field can be either any \"https://\" URL - for example a file hosted at GitHub, or a `preset://`-prefixed string. Available presets are: preset://email preset://username preset://basic preset://blank
|
25
|
-
attr_accessor :default_identity_schema_url
|
26
|
-
|
27
|
-
# Self-Service Error UI URL Sets the UI URL for the error UI. If left empty, this will use Ory's hosted pages.
|
28
|
-
attr_accessor :error_ui_url
|
29
|
-
|
30
|
-
# The Custom Schema ID The custom schema ID is a preferred field over DefaultIdentitySchemaURL, meaning it will override the DefaultIdentitySchemaURL with the custom schema's URL instead of accepting it from the client-side. Once this field is set the given custom schema will be associated with this project.
|
31
|
-
attr_accessor :kratos_custom_schema_id
|
32
|
-
|
33
|
-
# Self-Service Login UI URL Sets the UI URL for the login UI. If left empty, this will use Ory's hosted pages.
|
34
|
-
attr_accessor :login_ui_url
|
35
|
-
|
36
|
-
attr_accessor :lookup_secret
|
37
|
-
|
38
|
-
# The project name. Helps you identify your project. in: body
|
39
|
-
attr_accessor :name
|
40
|
-
|
41
|
-
attr_accessor :password
|
42
|
-
|
43
|
-
attr_accessor :recovery
|
44
|
-
|
45
|
-
# Self-Service Login UI URL Sets the UI URL for the recovery UI. If left empty, this will use Ory's hosted pages.
|
46
|
-
attr_accessor :recovery_ui_url
|
47
|
-
|
48
|
-
attr_accessor :redirection_config
|
49
|
-
|
50
|
-
# Self-Service Login UI URL Sets the UI URL for the registration UI. If left empty, this will use Ory's hosted pages.
|
51
|
-
attr_accessor :registration_ui_url
|
52
|
-
|
53
|
-
# Issue Session after Sign Up If set to true, users will receive a session after they successfully signed up. Enabling this option allows account enumeration during registration flows. Read more: https://www.ory.sh/kratos/docs/self-service/flows/user-registration#successful-registration
|
54
|
-
attr_accessor :session_after_sign_up
|
55
|
-
|
56
|
-
# Enable Soft 2FA for Login Sessions
|
57
|
-
attr_accessor :session_soft_2fa
|
58
|
-
|
59
|
-
# Duration in Seconds of how long a Session is Privileged Defines how long a session is considered privileged in seconds. If the session's authenticated_at is older than the value specified here, the user needs to re-authenticate to perform certain actions (e.g. password change).
|
60
|
-
attr_accessor :settings_privileged_session_max_age_seconds
|
61
|
-
|
62
|
-
# Enable Soft 2FA for Self-Service Settings Flows
|
63
|
-
attr_accessor :settings_soft_2fa
|
64
|
-
|
65
|
-
# Self-Service Settings UI URL Sets the UI URL for the settings UI. If left empty, this will use Ory's hosted pages.
|
66
|
-
attr_accessor :settings_ui_url
|
67
|
-
|
68
|
-
attr_accessor :totp
|
69
|
-
|
70
|
-
attr_accessor :verification
|
71
|
-
|
72
|
-
# Self-Service Login UI URL Sets the UI URL for the verification UI. If left empty, this will use Ory's hosted pages.
|
73
|
-
attr_accessor :verification_ui_url
|
74
|
-
|
75
|
-
attr_accessor :webauthn
|
76
|
-
|
77
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
78
|
-
def self.attribute_map
|
79
|
-
{
|
80
|
-
:'api_url' => :'api_url',
|
81
|
-
:'application_url' => :'application_url',
|
82
|
-
:'default_identity_schema_url' => :'default_identity_schema_url',
|
83
|
-
:'error_ui_url' => :'error_ui_url',
|
84
|
-
:'kratos_custom_schema_id' => :'kratos_custom_schema_id',
|
85
|
-
:'login_ui_url' => :'login_ui_url',
|
86
|
-
:'lookup_secret' => :'lookup_secret',
|
87
|
-
:'name' => :'name',
|
88
|
-
:'password' => :'password',
|
89
|
-
:'recovery' => :'recovery',
|
90
|
-
:'recovery_ui_url' => :'recovery_ui_url',
|
91
|
-
:'redirection_config' => :'redirection_config',
|
92
|
-
:'registration_ui_url' => :'registration_ui_url',
|
93
|
-
:'session_after_sign_up' => :'session_after_sign_up',
|
94
|
-
:'session_soft_2fa' => :'session_soft_2fa',
|
95
|
-
:'settings_privileged_session_max_age_seconds' => :'settings_privileged_session_max_age_seconds',
|
96
|
-
:'settings_soft_2fa' => :'settings_soft_2fa',
|
97
|
-
:'settings_ui_url' => :'settings_ui_url',
|
98
|
-
:'totp' => :'totp',
|
99
|
-
:'verification' => :'verification',
|
100
|
-
:'verification_ui_url' => :'verification_ui_url',
|
101
|
-
:'webauthn' => :'webauthn'
|
102
|
-
}
|
103
|
-
end
|
104
|
-
|
105
|
-
# Returns all the JSON keys this model knows about
|
106
|
-
def self.acceptable_attributes
|
107
|
-
attribute_map.values
|
108
|
-
end
|
109
|
-
|
110
|
-
# Attribute type mapping.
|
111
|
-
def self.openapi_types
|
112
|
-
{
|
113
|
-
:'api_url' => :'String',
|
114
|
-
:'application_url' => :'String',
|
115
|
-
:'default_identity_schema_url' => :'String',
|
116
|
-
:'error_ui_url' => :'String',
|
117
|
-
:'kratos_custom_schema_id' => :'String',
|
118
|
-
:'login_ui_url' => :'String',
|
119
|
-
:'lookup_secret' => :'ProjectLookupSecretConfig',
|
120
|
-
:'name' => :'String',
|
121
|
-
:'password' => :'ProjectPasswordConfig',
|
122
|
-
:'recovery' => :'ProjectRecoveryConfig',
|
123
|
-
:'recovery_ui_url' => :'String',
|
124
|
-
:'redirection_config' => :'RedirectionConfig',
|
125
|
-
:'registration_ui_url' => :'String',
|
126
|
-
:'session_after_sign_up' => :'Boolean',
|
127
|
-
:'session_soft_2fa' => :'Boolean',
|
128
|
-
:'settings_privileged_session_max_age_seconds' => :'Integer',
|
129
|
-
:'settings_soft_2fa' => :'Boolean',
|
130
|
-
:'settings_ui_url' => :'String',
|
131
|
-
:'totp' => :'ProjectTotpConfig',
|
132
|
-
:'verification' => :'ProjectVerificationConfig',
|
133
|
-
:'verification_ui_url' => :'String',
|
134
|
-
:'webauthn' => :'ProjectWebAuthnConfig'
|
135
|
-
}
|
136
|
-
end
|
137
|
-
|
138
|
-
# List of attributes with nullable: true
|
139
|
-
def self.openapi_nullable
|
140
|
-
Set.new([
|
141
|
-
])
|
142
|
-
end
|
143
|
-
|
144
|
-
# Initializes the object
|
145
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
146
|
-
def initialize(attributes = {})
|
147
|
-
if (!attributes.is_a?(Hash))
|
148
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::ProjectPatch` initialize method"
|
149
|
-
end
|
150
|
-
|
151
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
152
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
153
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
154
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ProjectPatch`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
155
|
-
end
|
156
|
-
h[k.to_sym] = v
|
157
|
-
}
|
158
|
-
|
159
|
-
if attributes.key?(:'api_url')
|
160
|
-
self.api_url = attributes[:'api_url']
|
161
|
-
end
|
162
|
-
|
163
|
-
if attributes.key?(:'application_url')
|
164
|
-
self.application_url = attributes[:'application_url']
|
165
|
-
end
|
166
|
-
|
167
|
-
if attributes.key?(:'default_identity_schema_url')
|
168
|
-
self.default_identity_schema_url = attributes[:'default_identity_schema_url']
|
169
|
-
end
|
170
|
-
|
171
|
-
if attributes.key?(:'error_ui_url')
|
172
|
-
self.error_ui_url = attributes[:'error_ui_url']
|
173
|
-
end
|
174
|
-
|
175
|
-
if attributes.key?(:'kratos_custom_schema_id')
|
176
|
-
self.kratos_custom_schema_id = attributes[:'kratos_custom_schema_id']
|
177
|
-
end
|
178
|
-
|
179
|
-
if attributes.key?(:'login_ui_url')
|
180
|
-
self.login_ui_url = attributes[:'login_ui_url']
|
181
|
-
end
|
182
|
-
|
183
|
-
if attributes.key?(:'lookup_secret')
|
184
|
-
self.lookup_secret = attributes[:'lookup_secret']
|
185
|
-
end
|
186
|
-
|
187
|
-
if attributes.key?(:'name')
|
188
|
-
self.name = attributes[:'name']
|
189
|
-
end
|
190
|
-
|
191
|
-
if attributes.key?(:'password')
|
192
|
-
self.password = attributes[:'password']
|
193
|
-
end
|
194
|
-
|
195
|
-
if attributes.key?(:'recovery')
|
196
|
-
self.recovery = attributes[:'recovery']
|
197
|
-
end
|
198
|
-
|
199
|
-
if attributes.key?(:'recovery_ui_url')
|
200
|
-
self.recovery_ui_url = attributes[:'recovery_ui_url']
|
201
|
-
end
|
202
|
-
|
203
|
-
if attributes.key?(:'redirection_config')
|
204
|
-
self.redirection_config = attributes[:'redirection_config']
|
205
|
-
end
|
206
|
-
|
207
|
-
if attributes.key?(:'registration_ui_url')
|
208
|
-
self.registration_ui_url = attributes[:'registration_ui_url']
|
209
|
-
end
|
210
|
-
|
211
|
-
if attributes.key?(:'session_after_sign_up')
|
212
|
-
self.session_after_sign_up = attributes[:'session_after_sign_up']
|
213
|
-
end
|
214
|
-
|
215
|
-
if attributes.key?(:'session_soft_2fa')
|
216
|
-
self.session_soft_2fa = attributes[:'session_soft_2fa']
|
217
|
-
end
|
218
|
-
|
219
|
-
if attributes.key?(:'settings_privileged_session_max_age_seconds')
|
220
|
-
self.settings_privileged_session_max_age_seconds = attributes[:'settings_privileged_session_max_age_seconds']
|
221
|
-
end
|
222
|
-
|
223
|
-
if attributes.key?(:'settings_soft_2fa')
|
224
|
-
self.settings_soft_2fa = attributes[:'settings_soft_2fa']
|
225
|
-
end
|
226
|
-
|
227
|
-
if attributes.key?(:'settings_ui_url')
|
228
|
-
self.settings_ui_url = attributes[:'settings_ui_url']
|
229
|
-
end
|
230
|
-
|
231
|
-
if attributes.key?(:'totp')
|
232
|
-
self.totp = attributes[:'totp']
|
233
|
-
end
|
234
|
-
|
235
|
-
if attributes.key?(:'verification')
|
236
|
-
self.verification = attributes[:'verification']
|
237
|
-
end
|
238
|
-
|
239
|
-
if attributes.key?(:'verification_ui_url')
|
240
|
-
self.verification_ui_url = attributes[:'verification_ui_url']
|
241
|
-
end
|
242
|
-
|
243
|
-
if attributes.key?(:'webauthn')
|
244
|
-
self.webauthn = attributes[:'webauthn']
|
245
|
-
end
|
246
|
-
end
|
247
|
-
|
248
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
249
|
-
# @return Array for valid properties with the reasons
|
250
|
-
def list_invalid_properties
|
251
|
-
invalid_properties = Array.new
|
252
|
-
if @error_ui_url.nil?
|
253
|
-
invalid_properties.push('invalid value for "error_ui_url", error_ui_url cannot be nil.')
|
254
|
-
end
|
255
|
-
|
256
|
-
if @login_ui_url.nil?
|
257
|
-
invalid_properties.push('invalid value for "login_ui_url", login_ui_url cannot be nil.')
|
258
|
-
end
|
259
|
-
|
260
|
-
if @lookup_secret.nil?
|
261
|
-
invalid_properties.push('invalid value for "lookup_secret", lookup_secret cannot be nil.')
|
262
|
-
end
|
263
|
-
|
264
|
-
if @password.nil?
|
265
|
-
invalid_properties.push('invalid value for "password", password cannot be nil.')
|
266
|
-
end
|
267
|
-
|
268
|
-
if @recovery.nil?
|
269
|
-
invalid_properties.push('invalid value for "recovery", recovery cannot be nil.')
|
270
|
-
end
|
271
|
-
|
272
|
-
if @recovery_ui_url.nil?
|
273
|
-
invalid_properties.push('invalid value for "recovery_ui_url", recovery_ui_url cannot be nil.')
|
274
|
-
end
|
275
|
-
|
276
|
-
if @registration_ui_url.nil?
|
277
|
-
invalid_properties.push('invalid value for "registration_ui_url", registration_ui_url cannot be nil.')
|
278
|
-
end
|
279
|
-
|
280
|
-
if @session_after_sign_up.nil?
|
281
|
-
invalid_properties.push('invalid value for "session_after_sign_up", session_after_sign_up cannot be nil.')
|
282
|
-
end
|
283
|
-
|
284
|
-
if @session_soft_2fa.nil?
|
285
|
-
invalid_properties.push('invalid value for "session_soft_2fa", session_soft_2fa cannot be nil.')
|
286
|
-
end
|
287
|
-
|
288
|
-
if @settings_privileged_session_max_age_seconds.nil?
|
289
|
-
invalid_properties.push('invalid value for "settings_privileged_session_max_age_seconds", settings_privileged_session_max_age_seconds cannot be nil.')
|
290
|
-
end
|
291
|
-
|
292
|
-
if @settings_soft_2fa.nil?
|
293
|
-
invalid_properties.push('invalid value for "settings_soft_2fa", settings_soft_2fa cannot be nil.')
|
294
|
-
end
|
295
|
-
|
296
|
-
if @settings_ui_url.nil?
|
297
|
-
invalid_properties.push('invalid value for "settings_ui_url", settings_ui_url cannot be nil.')
|
298
|
-
end
|
299
|
-
|
300
|
-
if @totp.nil?
|
301
|
-
invalid_properties.push('invalid value for "totp", totp cannot be nil.')
|
302
|
-
end
|
303
|
-
|
304
|
-
if @verification.nil?
|
305
|
-
invalid_properties.push('invalid value for "verification", verification cannot be nil.')
|
306
|
-
end
|
307
|
-
|
308
|
-
if @verification_ui_url.nil?
|
309
|
-
invalid_properties.push('invalid value for "verification_ui_url", verification_ui_url cannot be nil.')
|
310
|
-
end
|
311
|
-
|
312
|
-
if @webauthn.nil?
|
313
|
-
invalid_properties.push('invalid value for "webauthn", webauthn cannot be nil.')
|
314
|
-
end
|
315
|
-
|
316
|
-
invalid_properties
|
317
|
-
end
|
318
|
-
|
319
|
-
# Check to see if the all the properties in the model are valid
|
320
|
-
# @return true if the model is valid
|
321
|
-
def valid?
|
322
|
-
return false if @error_ui_url.nil?
|
323
|
-
return false if @login_ui_url.nil?
|
324
|
-
return false if @lookup_secret.nil?
|
325
|
-
return false if @password.nil?
|
326
|
-
return false if @recovery.nil?
|
327
|
-
return false if @recovery_ui_url.nil?
|
328
|
-
return false if @registration_ui_url.nil?
|
329
|
-
return false if @session_after_sign_up.nil?
|
330
|
-
return false if @session_soft_2fa.nil?
|
331
|
-
return false if @settings_privileged_session_max_age_seconds.nil?
|
332
|
-
return false if @settings_soft_2fa.nil?
|
333
|
-
return false if @settings_ui_url.nil?
|
334
|
-
return false if @totp.nil?
|
335
|
-
return false if @verification.nil?
|
336
|
-
return false if @verification_ui_url.nil?
|
337
|
-
return false if @webauthn.nil?
|
338
|
-
true
|
339
|
-
end
|
340
|
-
|
341
|
-
# Checks equality by comparing each attribute.
|
342
|
-
# @param [Object] Object to be compared
|
343
|
-
def ==(o)
|
344
|
-
return true if self.equal?(o)
|
345
|
-
self.class == o.class &&
|
346
|
-
api_url == o.api_url &&
|
347
|
-
application_url == o.application_url &&
|
348
|
-
default_identity_schema_url == o.default_identity_schema_url &&
|
349
|
-
error_ui_url == o.error_ui_url &&
|
350
|
-
kratos_custom_schema_id == o.kratos_custom_schema_id &&
|
351
|
-
login_ui_url == o.login_ui_url &&
|
352
|
-
lookup_secret == o.lookup_secret &&
|
353
|
-
name == o.name &&
|
354
|
-
password == o.password &&
|
355
|
-
recovery == o.recovery &&
|
356
|
-
recovery_ui_url == o.recovery_ui_url &&
|
357
|
-
redirection_config == o.redirection_config &&
|
358
|
-
registration_ui_url == o.registration_ui_url &&
|
359
|
-
session_after_sign_up == o.session_after_sign_up &&
|
360
|
-
session_soft_2fa == o.session_soft_2fa &&
|
361
|
-
settings_privileged_session_max_age_seconds == o.settings_privileged_session_max_age_seconds &&
|
362
|
-
settings_soft_2fa == o.settings_soft_2fa &&
|
363
|
-
settings_ui_url == o.settings_ui_url &&
|
364
|
-
totp == o.totp &&
|
365
|
-
verification == o.verification &&
|
366
|
-
verification_ui_url == o.verification_ui_url &&
|
367
|
-
webauthn == o.webauthn
|
368
|
-
end
|
369
|
-
|
370
|
-
# @see the `==` method
|
371
|
-
# @param [Object] Object to be compared
|
372
|
-
def eql?(o)
|
373
|
-
self == o
|
374
|
-
end
|
375
|
-
|
376
|
-
# Calculates hash code according to all attributes.
|
377
|
-
# @return [Integer] Hash code
|
378
|
-
def hash
|
379
|
-
[api_url, application_url, default_identity_schema_url, error_ui_url, kratos_custom_schema_id, login_ui_url, lookup_secret, name, password, recovery, recovery_ui_url, redirection_config, registration_ui_url, session_after_sign_up, session_soft_2fa, settings_privileged_session_max_age_seconds, settings_soft_2fa, settings_ui_url, totp, verification, verification_ui_url, webauthn].hash
|
380
|
-
end
|
381
|
-
|
382
|
-
# Builds the object from hash
|
383
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
384
|
-
# @return [Object] Returns the model itself
|
385
|
-
def self.build_from_hash(attributes)
|
386
|
-
new.build_from_hash(attributes)
|
387
|
-
end
|
388
|
-
|
389
|
-
# Builds the object from hash
|
390
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
391
|
-
# @return [Object] Returns the model itself
|
392
|
-
def build_from_hash(attributes)
|
393
|
-
return nil unless attributes.is_a?(Hash)
|
394
|
-
self.class.openapi_types.each_pair do |key, type|
|
395
|
-
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
396
|
-
self.send("#{key}=", nil)
|
397
|
-
elsif type =~ /\AArray<(.*)>/i
|
398
|
-
# check to ensure the input is an array given that the attribute
|
399
|
-
# is documented as an array but the input is not
|
400
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
401
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
402
|
-
end
|
403
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
404
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
405
|
-
end
|
406
|
-
end
|
407
|
-
|
408
|
-
self
|
409
|
-
end
|
410
|
-
|
411
|
-
# Deserializes the data based on type
|
412
|
-
# @param string type Data type
|
413
|
-
# @param string value Value to be deserialized
|
414
|
-
# @return [Object] Deserialized data
|
415
|
-
def _deserialize(type, value)
|
416
|
-
case type.to_sym
|
417
|
-
when :Time
|
418
|
-
Time.parse(value)
|
419
|
-
when :Date
|
420
|
-
Date.parse(value)
|
421
|
-
when :String
|
422
|
-
value.to_s
|
423
|
-
when :Integer
|
424
|
-
value.to_i
|
425
|
-
when :Float
|
426
|
-
value.to_f
|
427
|
-
when :Boolean
|
428
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
429
|
-
true
|
430
|
-
else
|
431
|
-
false
|
432
|
-
end
|
433
|
-
when :Object
|
434
|
-
# generic object (usually a Hash), return directly
|
435
|
-
value
|
436
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
437
|
-
inner_type = Regexp.last_match[:inner_type]
|
438
|
-
value.map { |v| _deserialize(inner_type, v) }
|
439
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
440
|
-
k_type = Regexp.last_match[:k_type]
|
441
|
-
v_type = Regexp.last_match[:v_type]
|
442
|
-
{}.tap do |hash|
|
443
|
-
value.each do |k, v|
|
444
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
445
|
-
end
|
446
|
-
end
|
447
|
-
else # model
|
448
|
-
# models (e.g. Pet) or oneOf
|
449
|
-
klass = OryClient.const_get(type)
|
450
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
451
|
-
end
|
452
|
-
end
|
453
|
-
|
454
|
-
# Returns the string representation of the object
|
455
|
-
# @return [String] String presentation of the object
|
456
|
-
def to_s
|
457
|
-
to_hash.to_s
|
458
|
-
end
|
459
|
-
|
460
|
-
# to_body is an alias to to_hash (backward compatibility)
|
461
|
-
# @return [Hash] Returns the object in the form of hash
|
462
|
-
def to_body
|
463
|
-
to_hash
|
464
|
-
end
|
465
|
-
|
466
|
-
# Returns the object in the form of hash
|
467
|
-
# @return [Hash] Returns the object in the form of hash
|
468
|
-
def to_hash
|
469
|
-
hash = {}
|
470
|
-
self.class.attribute_map.each_pair do |attr, param|
|
471
|
-
value = self.send(attr)
|
472
|
-
if value.nil?
|
473
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
474
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
475
|
-
end
|
476
|
-
|
477
|
-
hash[param] = _to_hash(value)
|
478
|
-
end
|
479
|
-
hash
|
480
|
-
end
|
481
|
-
|
482
|
-
# Outputs non-array value in the form of hash
|
483
|
-
# For object, use to_hash. Otherwise, just return the value
|
484
|
-
# @param [Object] value Any valid value
|
485
|
-
# @return [Hash] Returns the value in the form of hash
|
486
|
-
def _to_hash(value)
|
487
|
-
if value.is_a?(Array)
|
488
|
-
value.compact.map { |v| _to_hash(v) }
|
489
|
-
elsif value.is_a?(Hash)
|
490
|
-
{}.tap do |hash|
|
491
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
492
|
-
end
|
493
|
-
elsif value.respond_to? :to_hash
|
494
|
-
value.to_hash
|
495
|
-
else
|
496
|
-
value
|
497
|
-
end
|
498
|
-
end
|
499
|
-
|
500
|
-
end
|
501
|
-
|
502
|
-
end
|
@@ -1,58 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Ory APIs
|
3
|
-
|
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
|
-
|
6
|
-
The version of the OpenAPI document: v0.0.1-alpha.58
|
7
|
-
Contact: support@ory.sh
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.2.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for OryClient::ProjectWebAuthnConfig
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe OryClient::ProjectWebAuthnConfig do
|
21
|
-
let(:instance) { OryClient::ProjectWebAuthnConfig.new }
|
22
|
-
|
23
|
-
describe 'test an instance of ProjectWebAuthnConfig' do
|
24
|
-
it 'should create an instance of ProjectWebAuthnConfig' do
|
25
|
-
expect(instance).to be_instance_of(OryClient::ProjectWebAuthnConfig)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
describe 'test attribute "enabled"' do
|
29
|
-
it 'should work' do
|
30
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
describe 'test attribute "rp_display_name"' do
|
35
|
-
it 'should work' do
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test attribute "rp_icon"' do
|
41
|
-
it 'should work' do
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
describe 'test attribute "rp_id"' do
|
47
|
-
it 'should work' do
|
48
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
|
-
describe 'test attribute "rp_origin"' do
|
53
|
-
it 'should work' do
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
end
|
Binary file
|
Binary file
|