ory-kratos-client 0.7.6.alpha7 → 0.8.0.alpha2
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 +57 -40
- data/docs/AdminCreateIdentityBody.md +2 -0
- data/docs/AuthenticatorAssuranceLevel.md +15 -0
- data/docs/ErrorAuthenticatorAssuranceLevelNotSatisfied.md +34 -0
- data/docs/GenericError.md +2 -0
- data/docs/IdentityCredentials.md +1 -1
- data/docs/IdentityCredentialsType.md +15 -0
- data/docs/IdentitySchema.md +20 -0
- data/docs/MetadataApi.md +0 -61
- data/docs/NeedsPrivilegedSessionError.md +34 -0
- data/docs/SelfServiceBrowserLocationChangeRequiredError.md +34 -0
- data/docs/SelfServiceFlowExpiredError.md +36 -0
- data/docs/SelfServiceLoginFlow.md +7 -3
- data/docs/SelfServiceLogoutUrl.md +3 -1
- data/docs/SelfServiceRecoveryFlow.md +2 -0
- data/docs/SelfServiceRegistrationFlow.md +3 -1
- data/docs/SelfServiceSettingsFlow.md +2 -0
- data/docs/SelfServiceVerificationFlow.md +2 -0
- data/docs/Session.md +7 -3
- data/docs/SessionAuthenticationMethod.md +20 -0
- data/docs/SessionDevice.md +18 -0
- data/docs/SubmitSelfServiceLoginFlowBody.md +5 -2
- data/docs/SubmitSelfServiceLoginFlowWithLookupSecretMethodBody.md +22 -0
- data/docs/SubmitSelfServiceLoginFlowWithOidcMethodBody.md +3 -1
- data/docs/SubmitSelfServiceLoginFlowWithTotpMethodBody.md +22 -0
- data/docs/SubmitSelfServiceLoginFlowWithWebAuthnMethodBody.md +22 -0
- data/docs/SubmitSelfServiceRegistrationFlowWithOidcMethodBody.md +3 -1
- data/docs/SubmitSelfServiceSettingsFlowBody.md +5 -2
- data/docs/SubmitSelfServiceSettingsFlowWithLookupMethodBody.md +28 -0
- data/docs/SubmitSelfServiceSettingsFlowWithOidcMethodBody.md +2 -0
- data/docs/SubmitSelfServiceSettingsFlowWithTotpMethodBody.md +24 -0
- data/docs/SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody.md +26 -0
- data/docs/UiNode.md +1 -1
- data/docs/UiNodeAnchorAttributes.md +4 -0
- data/docs/UiNodeAttributes.md +34 -0
- data/docs/UiNodeImageAttributes.md +9 -1
- data/docs/UiNodeInputAttributes.md +4 -0
- data/docs/{Meta.md → UiNodeMeta.md} +2 -2
- data/docs/UiNodeScriptAttributes.md +32 -0
- data/docs/UiNodeTextAttributes.md +4 -0
- data/docs/{V0alpha1Api.md → V0alpha2Api.md} +405 -172
- data/lib/ory-kratos-client/api/metadata_api.rb +1 -56
- data/lib/ory-kratos-client/api/{v0alpha1_api.rb → v0alpha2_api.rb} +372 -149
- data/lib/ory-kratos-client/api_client.rb +1 -1
- data/lib/ory-kratos-client/api_error.rb +1 -1
- data/lib/ory-kratos-client/configuration.rb +1 -1
- data/lib/ory-kratos-client/models/admin_create_identity_body.rb +11 -2
- data/lib/ory-kratos-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
- data/lib/ory-kratos-client/models/admin_update_identity_body.rb +1 -1
- data/lib/ory-kratos-client/models/authenticator_assurance_level.rb +39 -0
- data/lib/ory-kratos-client/models/error_authenticator_assurance_level_not_satisfied.rb +305 -0
- data/lib/ory-kratos-client/models/generic_error.rb +12 -2
- data/lib/ory-kratos-client/models/health_not_ready_status.rb +1 -1
- data/lib/ory-kratos-client/models/health_status.rb +1 -1
- data/lib/ory-kratos-client/models/identity.rb +1 -1
- data/lib/ory-kratos-client/models/identity_credentials.rb +2 -3
- data/lib/ory-kratos-client/models/identity_credentials_type.rb +38 -0
- data/lib/ory-kratos-client/models/{successful_self_service_settings_without_browser.rb → identity_schema.rb} +19 -28
- data/lib/ory-kratos-client/models/identity_state.rb +1 -1
- data/lib/ory-kratos-client/models/inline_response200.rb +1 -1
- data/lib/ory-kratos-client/models/inline_response2001.rb +1 -1
- data/lib/ory-kratos-client/models/inline_response503.rb +1 -1
- data/lib/ory-kratos-client/models/json_error.rb +1 -1
- data/lib/ory-kratos-client/models/needs_privileged_session_error.rb +311 -0
- data/lib/ory-kratos-client/models/recovery_address.rb +1 -1
- data/lib/ory-kratos-client/models/self_service_browser_location_change_required_error.rb +306 -0
- data/lib/ory-kratos-client/models/self_service_error.rb +1 -1
- data/lib/ory-kratos-client/models/self_service_flow_expired_error.rb +316 -0
- data/lib/ory-kratos-client/models/self_service_login_flow.rb +32 -14
- data/lib/ory-kratos-client/models/self_service_logout_url.rb +18 -3
- data/lib/ory-kratos-client/models/self_service_recovery_flow.rb +12 -2
- data/lib/ory-kratos-client/models/self_service_recovery_flow_state.rb +1 -1
- data/lib/ory-kratos-client/models/self_service_recovery_link.rb +1 -1
- data/lib/ory-kratos-client/models/self_service_registration_flow.rb +13 -4
- data/lib/ory-kratos-client/models/self_service_settings_flow.rb +12 -2
- data/lib/ory-kratos-client/models/self_service_settings_flow_state.rb +1 -1
- data/lib/ory-kratos-client/models/self_service_verification_flow.rb +12 -2
- data/lib/ory-kratos-client/models/self_service_verification_flow_state.rb +1 -1
- data/lib/ory-kratos-client/models/session.rb +26 -5
- data/lib/ory-kratos-client/models/session_authentication_method.rb +263 -0
- data/lib/ory-kratos-client/models/session_device.rb +219 -0
- data/lib/ory-kratos-client/models/settings_profile_form_config.rb +1 -1
- data/lib/ory-kratos-client/models/submit_self_service_login_flow_body.rb +5 -3
- data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +249 -0
- data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +16 -6
- data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -1
- data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_totp_method_body.rb +249 -0
- data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +244 -0
- data/lib/ory-kratos-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
- data/lib/ory-kratos-client/models/submit_self_service_recovery_flow_body.rb +1 -1
- data/lib/ory-kratos-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
- data/lib/ory-kratos-client/models/submit_self_service_registration_flow_body.rb +1 -1
- data/lib/ory-kratos-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +16 -6
- data/lib/ory-kratos-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
- data/lib/ory-kratos-client/models/submit_self_service_settings_flow_body.rb +5 -3
- data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +274 -0
- data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +12 -2
- data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
- data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
- data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +254 -0
- data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +264 -0
- data/lib/ory-kratos-client/models/submit_self_service_verification_flow_body.rb +1 -1
- data/lib/ory-kratos-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
- data/lib/ory-kratos-client/models/successful_self_service_login_without_browser.rb +1 -1
- data/lib/ory-kratos-client/models/successful_self_service_registration_without_browser.rb +1 -1
- data/lib/ory-kratos-client/models/ui_container.rb +1 -1
- data/lib/ory-kratos-client/models/ui_node.rb +2 -2
- data/lib/ory-kratos-client/models/ui_node_anchor_attributes.rb +31 -2
- data/lib/ory-kratos-client/models/ui_node_attributes.rb +23 -69
- data/lib/ory-kratos-client/models/ui_node_image_attributes.rb +54 -5
- data/lib/ory-kratos-client/models/ui_node_input_attributes.rb +26 -2
- data/lib/ory-kratos-client/models/{meta.rb → ui_node_meta.rb} +4 -4
- data/lib/ory-kratos-client/models/ui_node_script_attributes.rb +328 -0
- data/lib/ory-kratos-client/models/ui_node_text_attributes.rb +31 -2
- data/lib/ory-kratos-client/models/ui_text.rb +1 -1
- data/lib/ory-kratos-client/models/verifiable_identity_address.rb +1 -1
- data/lib/ory-kratos-client/models/version.rb +1 -1
- data/lib/ory-kratos-client/version.rb +2 -2
- data/lib/ory-kratos-client.rb +19 -4
- data/ory-kratos-client.gemspec +1 -1
- data/spec/api/metadata_api_spec.rb +1 -12
- data/spec/api/{v0alpha1_api_spec.rb → v0alpha2_api_spec.rb} +67 -22
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/admin_create_identity_body_spec.rb +7 -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/authenticator_assurance_level_spec.rb +28 -0
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +82 -0
- data/spec/models/generic_error_spec.rb +7 -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 +28 -0
- data/spec/models/{successful_self_service_settings_without_browser_spec.rb → identity_schema_spec.rb} +9 -9
- 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/json_error_spec.rb +1 -1
- data/spec/models/needs_privileged_session_error_spec.rb +82 -0
- data/spec/models/recovery_address_spec.rb +1 -1
- data/spec/models/self_service_browser_location_change_required_error_spec.rb +82 -0
- data/spec/models/self_service_error_spec.rb +1 -1
- data/spec/models/self_service_flow_expired_error_spec.rb +88 -0
- data/spec/models/self_service_login_flow_spec.rb +16 -4
- data/spec/models/self_service_logout_url_spec.rb +7 -1
- data/spec/models/self_service_recovery_flow_spec.rb +7 -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 +7 -1
- data/spec/models/self_service_settings_flow_spec.rb +7 -1
- data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
- data/spec/models/self_service_verification_flow_spec.rb +7 -1
- data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
- data/spec/models/session_authentication_method_spec.rb +44 -0
- data/spec/models/session_device_spec.rb +34 -0
- data/spec/models/session_spec.rb +13 -1
- data/spec/models/settings_profile_form_config_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 +46 -0
- data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +7 -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 +46 -0
- data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +46 -0
- 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 +7 -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 +64 -0
- data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +7 -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 +52 -0
- data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +58 -0
- 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/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 +13 -1
- data/spec/models/ui_node_attributes_spec.rb +13 -1
- data/spec/models/ui_node_image_attributes_spec.rb +25 -1
- data/spec/models/ui_node_input_attributes_spec.rb +13 -1
- data/spec/models/{meta_spec.rb → ui_node_meta_spec.rb} +7 -7
- data/spec/models/ui_node_script_attributes_spec.rb +76 -0
- data/spec/models/ui_node_spec.rb +1 -1
- data/spec/models/ui_node_text_attributes_spec.rb +13 -1
- data/spec/models/ui_text_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/ethon-0.15.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.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.4/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.1 → psych-4.0.2}/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.1 → psych-4.0.2}/gem_make.out +6 -6
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.1 → psych-4.0.2}/mkmf.log +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.1 → psych-4.0.2}/psych.so +0 -0
- 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/{ethon-0.14.0 → ethon-0.15.0}/.github/workflows/ruby.yml +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/.rspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/CHANGELOG.md +5 -1
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/Guardfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/LICENSE +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/Rakefile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/ethon.gemspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curl.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/classes.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/codes.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/constants.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/form_options.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/functions.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/infos.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/messages.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/options.rb +33 -2
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/settings.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/callbacks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/debug_info.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/features.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/form.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/header.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/actionable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/custom.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/delete.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/get.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/head.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/options.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/patch.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/post.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/postable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/put.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/putable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/informations.rb +19 -1
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/mirror.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/operations.rb +1 -15
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/options.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/params.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/queryable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/response_callbacks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/util.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/ethon_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/global_init.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/invalid_option.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/invalid_value.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/multi_add.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/multi_fdset.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/multi_remove.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/multi_timeout.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/select.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/libc.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/loggable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/multi/operations.rb +45 -8
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/multi/options.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/multi/stack.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/multi.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/benchmarks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/memory_leaks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/perf_spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/support/memory_test_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/support/os_memory_leak_tracker.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/support/ruby_object_leak_tracker.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/curl_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/callbacks_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/debug_info_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/features_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/form_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/header_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/custom_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/delete_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/get_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/head_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/options_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/patch_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/post_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/put_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/informations_spec.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/mirror_spec.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/operations_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/options_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/queryable_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/response_callbacks_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/util_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/libc_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/loggable_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/multi/operations_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/multi/options_spec.rb +182 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/multi/stack_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/multi_spec.rb +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/support/localhost_server.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/support/server.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/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.1 → psych-4.0.2}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/LICENSE +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/Mavenfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/Rakefile +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/bin/console +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/bin/setup +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/api.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/depend +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/dumper.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/emitter.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/loader.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1/lib → psych-4.0.2/ext/psych}/psych.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_emitter.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_emitter.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_emitter.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_parser.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_parser.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_to_ruby.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_to_ruby.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_to_ruby.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_yaml_tree.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_yaml_tree.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_yaml_tree.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/reader.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/scanner.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/writer.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/LICENSE +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/api.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/config.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/dumper.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/emitter.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/loader.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/parser.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/reader.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/scanner.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/writer.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/yaml.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/yaml_private.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/class_loader.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/coder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/core_ext.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/exception.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/handler.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/handlers/document_stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/handlers/recorder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/json/ruby_events.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/json/stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/json/tree_builder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/json/yaml_events.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/nodes/alias.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/nodes/document.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/nodes/mapping.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/nodes/node.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/nodes/scalar.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/nodes/sequence.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/nodes/stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/nodes.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/omap.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/scalar_scanner.rb +8 -9
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/set.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/streaming.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/syntax_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/tree_builder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/versions.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/visitors/depth_first.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/visitors/emitter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/visitors/json_tree.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/visitors/to_ruby.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/visitors/visitor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/visitors/yaml_tree.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/visitors.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/y.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1/ext/psych → psych-4.0.2/lib}/psych.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/psych.gemspec +0 -0
- data/vendor/bundle/ruby/2.5.0/specifications/{ethon-0.14.0.gemspec → ethon-0.15.0.gemspec} +3 -3
- data/vendor/bundle/ruby/2.5.0/specifications/{psych-4.0.1.gemspec → psych-4.0.2.gemspec} +3 -3
- metadata +271 -211
- data/docs/SuccessfulSelfServiceSettingsWithoutBrowser.md +0 -20
- data/vendor/bundle/ruby/2.5.0/cache/ethon-0.14.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/spec/ethon/multi/options_spec.rb +0 -69
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/spec/ethon/multi_spec.rb +0 -22
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -18,12 +18,19 @@ module OryKratosClient
|
|
18
18
|
# The link's href (destination) URL. format: uri
|
19
19
|
attr_accessor :href
|
20
20
|
|
21
|
+
# A unique identifier
|
22
|
+
attr_accessor :id
|
23
|
+
|
24
|
+
attr_accessor :node_type
|
25
|
+
|
21
26
|
attr_accessor :title
|
22
27
|
|
23
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
29
|
def self.attribute_map
|
25
30
|
{
|
26
31
|
:'href' => :'href',
|
32
|
+
:'id' => :'id',
|
33
|
+
:'node_type' => :'node_type',
|
27
34
|
:'title' => :'title'
|
28
35
|
}
|
29
36
|
end
|
@@ -37,6 +44,8 @@ module OryKratosClient
|
|
37
44
|
def self.openapi_types
|
38
45
|
{
|
39
46
|
:'href' => :'String',
|
47
|
+
:'id' => :'String',
|
48
|
+
:'node_type' => :'String',
|
40
49
|
:'title' => :'UiText'
|
41
50
|
}
|
42
51
|
end
|
@@ -66,6 +75,14 @@ module OryKratosClient
|
|
66
75
|
self.href = attributes[:'href']
|
67
76
|
end
|
68
77
|
|
78
|
+
if attributes.key?(:'id')
|
79
|
+
self.id = attributes[:'id']
|
80
|
+
end
|
81
|
+
|
82
|
+
if attributes.key?(:'node_type')
|
83
|
+
self.node_type = attributes[:'node_type']
|
84
|
+
end
|
85
|
+
|
69
86
|
if attributes.key?(:'title')
|
70
87
|
self.title = attributes[:'title']
|
71
88
|
end
|
@@ -79,6 +96,14 @@ module OryKratosClient
|
|
79
96
|
invalid_properties.push('invalid value for "href", href cannot be nil.')
|
80
97
|
end
|
81
98
|
|
99
|
+
if @id.nil?
|
100
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
101
|
+
end
|
102
|
+
|
103
|
+
if @node_type.nil?
|
104
|
+
invalid_properties.push('invalid value for "node_type", node_type cannot be nil.')
|
105
|
+
end
|
106
|
+
|
82
107
|
if @title.nil?
|
83
108
|
invalid_properties.push('invalid value for "title", title cannot be nil.')
|
84
109
|
end
|
@@ -90,6 +115,8 @@ module OryKratosClient
|
|
90
115
|
# @return true if the model is valid
|
91
116
|
def valid?
|
92
117
|
return false if @href.nil?
|
118
|
+
return false if @id.nil?
|
119
|
+
return false if @node_type.nil?
|
93
120
|
return false if @title.nil?
|
94
121
|
true
|
95
122
|
end
|
@@ -100,6 +127,8 @@ module OryKratosClient
|
|
100
127
|
return true if self.equal?(o)
|
101
128
|
self.class == o.class &&
|
102
129
|
href == o.href &&
|
130
|
+
id == o.id &&
|
131
|
+
node_type == o.node_type &&
|
103
132
|
title == o.title
|
104
133
|
end
|
105
134
|
|
@@ -112,7 +141,7 @@ module OryKratosClient
|
|
112
141
|
# Calculates hash code according to all attributes.
|
113
142
|
# @return [Integer] Hash code
|
114
143
|
def hash
|
115
|
-
[href, title].hash
|
144
|
+
[href, id, node_type, title].hash
|
116
145
|
end
|
117
146
|
|
118
147
|
# Builds the object from hash
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -22,84 +22,38 @@ module OryKratosClient
|
|
22
22
|
:'UiNodeAnchorAttributes',
|
23
23
|
:'UiNodeImageAttributes',
|
24
24
|
:'UiNodeInputAttributes',
|
25
|
+
:'UiNodeScriptAttributes',
|
25
26
|
:'UiNodeTextAttributes'
|
26
27
|
]
|
27
28
|
end
|
28
29
|
|
30
|
+
# Discriminator's property name (OpenAPI v3)
|
31
|
+
def openapi_discriminator_name
|
32
|
+
:'node_type'
|
33
|
+
end
|
34
|
+
|
35
|
+
# Discriminator's mapping (OpenAPI v3)
|
36
|
+
def openapi_discriminator_mapping
|
37
|
+
{
|
38
|
+
:'anchor' => :'UiNodeAnchorAttributes',
|
39
|
+
:'image' => :'UiNodeImageAttributes',
|
40
|
+
:'input' => :'UiNodeInputAttributes',
|
41
|
+
:'script' => :'UiNodeScriptAttributes',
|
42
|
+
:'text' => :'UiNodeTextAttributes'
|
43
|
+
}
|
44
|
+
end
|
45
|
+
|
29
46
|
# Builds the object
|
30
47
|
# @param [Mixed] Data to be matched against the list of oneOf items
|
31
48
|
# @return [Object] Returns the model or the data itself
|
32
49
|
def build(data)
|
33
|
-
|
34
|
-
|
35
|
-
# - We do not attempt to check whether exactly one item matches.
|
36
|
-
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
37
|
-
# due to the way the deserialization is made in the base_object template (it just casts without verifying).
|
38
|
-
# - TODO: scalar values are defacto behaving as if they were nullable.
|
39
|
-
# - TODO: logging when debugging is set.
|
40
|
-
openapi_one_of.each do |klass|
|
41
|
-
begin
|
42
|
-
next if klass == :AnyType # "nullable: true"
|
43
|
-
typed_data = find_and_cast_into_type(klass, data)
|
44
|
-
return typed_data if typed_data
|
45
|
-
rescue # rescue all errors so we keep iterating even if the current item lookup raises
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
openapi_one_of.include?(:AnyType) ? data : nil
|
50
|
-
end
|
51
|
-
|
52
|
-
private
|
53
|
-
|
54
|
-
SchemaMismatchError = Class.new(StandardError)
|
55
|
-
|
56
|
-
# Note: 'File' is missing here because in the regular case we get the data _after_ a call to JSON.parse.
|
57
|
-
def find_and_cast_into_type(klass, data)
|
58
|
-
return if data.nil?
|
50
|
+
discriminator_value = data[openapi_discriminator_name]
|
51
|
+
return nil unless discriminator_value
|
59
52
|
|
60
|
-
|
61
|
-
|
62
|
-
return data if data.instance_of?(TrueClass) || data.instance_of?(FalseClass)
|
63
|
-
when 'Float'
|
64
|
-
return data if data.instance_of?(Float)
|
65
|
-
when 'Integer'
|
66
|
-
return data if data.instance_of?(Integer)
|
67
|
-
when 'Time'
|
68
|
-
return Time.parse(data)
|
69
|
-
when 'Date'
|
70
|
-
return Date.parse(data)
|
71
|
-
when 'String'
|
72
|
-
return data if data.instance_of?(String)
|
73
|
-
when 'Object' # "type: object"
|
74
|
-
return data if data.instance_of?(Hash)
|
75
|
-
when /\AArray<(?<sub_type>.+)>\z/ # "type: array"
|
76
|
-
if data.instance_of?(Array)
|
77
|
-
sub_type = Regexp.last_match[:sub_type]
|
78
|
-
return data.map { |item| find_and_cast_into_type(sub_type, item) }
|
79
|
-
end
|
80
|
-
when /\AHash<String, (?<sub_type>.+)>\z/ # "type: object" with "additionalProperties: { ... }"
|
81
|
-
if data.instance_of?(Hash) && data.keys.all? { |k| k.instance_of?(Symbol) || k.instance_of?(String) }
|
82
|
-
sub_type = Regexp.last_match[:sub_type]
|
83
|
-
return data.each_with_object({}) { |(k, v), hsh| hsh[k] = find_and_cast_into_type(sub_type, v) }
|
84
|
-
end
|
85
|
-
else # model
|
86
|
-
const = OryKratosClient.const_get(klass)
|
87
|
-
if const
|
88
|
-
if const.respond_to?(:openapi_one_of) # nested oneOf model
|
89
|
-
model = const.build(data)
|
90
|
-
return model if model
|
91
|
-
else
|
92
|
-
# raise if data contains keys that are not known to the model
|
93
|
-
raise unless (data.keys - const.acceptable_attributes).empty?
|
94
|
-
model = const.build_from_hash(data)
|
95
|
-
return model if model && model.valid?
|
96
|
-
end
|
97
|
-
end
|
98
|
-
end
|
53
|
+
klass = openapi_discriminator_mapping[discriminator_value.to_sym]
|
54
|
+
return nil unless klass
|
99
55
|
|
100
|
-
|
101
|
-
rescue
|
102
|
-
raise SchemaMismatchError, "#{data} doesn't match the #{klass} type"
|
56
|
+
OryKratosClient.const_get(klass).build_from_hash(data)
|
103
57
|
end
|
104
58
|
end
|
105
59
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -15,13 +15,28 @@ require 'time'
|
|
15
15
|
|
16
16
|
module OryKratosClient
|
17
17
|
class UiNodeImageAttributes
|
18
|
+
# Height of the image
|
19
|
+
attr_accessor :height
|
20
|
+
|
21
|
+
# A unique identifier
|
22
|
+
attr_accessor :id
|
23
|
+
|
24
|
+
attr_accessor :node_type
|
25
|
+
|
18
26
|
# The image's source URL. format: uri
|
19
27
|
attr_accessor :src
|
20
28
|
|
29
|
+
# Width of the image
|
30
|
+
attr_accessor :width
|
31
|
+
|
21
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
22
33
|
def self.attribute_map
|
23
34
|
{
|
24
|
-
:'
|
35
|
+
:'height' => :'height',
|
36
|
+
:'id' => :'id',
|
37
|
+
:'node_type' => :'node_type',
|
38
|
+
:'src' => :'src',
|
39
|
+
:'width' => :'width'
|
25
40
|
}
|
26
41
|
end
|
27
42
|
|
@@ -33,7 +48,11 @@ module OryKratosClient
|
|
33
48
|
# Attribute type mapping.
|
34
49
|
def self.openapi_types
|
35
50
|
{
|
36
|
-
:'
|
51
|
+
:'height' => :'Integer',
|
52
|
+
:'id' => :'String',
|
53
|
+
:'node_type' => :'String',
|
54
|
+
:'src' => :'String',
|
55
|
+
:'width' => :'Integer'
|
37
56
|
}
|
38
57
|
end
|
39
58
|
|
@@ -58,15 +77,39 @@ module OryKratosClient
|
|
58
77
|
h[k.to_sym] = v
|
59
78
|
}
|
60
79
|
|
80
|
+
if attributes.key?(:'height')
|
81
|
+
self.height = attributes[:'height']
|
82
|
+
end
|
83
|
+
|
84
|
+
if attributes.key?(:'id')
|
85
|
+
self.id = attributes[:'id']
|
86
|
+
end
|
87
|
+
|
88
|
+
if attributes.key?(:'node_type')
|
89
|
+
self.node_type = attributes[:'node_type']
|
90
|
+
end
|
91
|
+
|
61
92
|
if attributes.key?(:'src')
|
62
93
|
self.src = attributes[:'src']
|
63
94
|
end
|
95
|
+
|
96
|
+
if attributes.key?(:'width')
|
97
|
+
self.width = attributes[:'width']
|
98
|
+
end
|
64
99
|
end
|
65
100
|
|
66
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
67
102
|
# @return Array for valid properties with the reasons
|
68
103
|
def list_invalid_properties
|
69
104
|
invalid_properties = Array.new
|
105
|
+
if @id.nil?
|
106
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
107
|
+
end
|
108
|
+
|
109
|
+
if @node_type.nil?
|
110
|
+
invalid_properties.push('invalid value for "node_type", node_type cannot be nil.')
|
111
|
+
end
|
112
|
+
|
70
113
|
if @src.nil?
|
71
114
|
invalid_properties.push('invalid value for "src", src cannot be nil.')
|
72
115
|
end
|
@@ -77,6 +120,8 @@ module OryKratosClient
|
|
77
120
|
# Check to see if the all the properties in the model are valid
|
78
121
|
# @return true if the model is valid
|
79
122
|
def valid?
|
123
|
+
return false if @id.nil?
|
124
|
+
return false if @node_type.nil?
|
80
125
|
return false if @src.nil?
|
81
126
|
true
|
82
127
|
end
|
@@ -86,7 +131,11 @@ module OryKratosClient
|
|
86
131
|
def ==(o)
|
87
132
|
return true if self.equal?(o)
|
88
133
|
self.class == o.class &&
|
89
|
-
|
134
|
+
height == o.height &&
|
135
|
+
id == o.id &&
|
136
|
+
node_type == o.node_type &&
|
137
|
+
src == o.src &&
|
138
|
+
width == o.width
|
90
139
|
end
|
91
140
|
|
92
141
|
# @see the `==` method
|
@@ -98,7 +147,7 @@ module OryKratosClient
|
|
98
147
|
# Calculates hash code according to all attributes.
|
99
148
|
# @return [Integer] Hash code
|
100
149
|
def hash
|
101
|
-
[src].hash
|
150
|
+
[height, id, node_type, src, width].hash
|
102
151
|
end
|
103
152
|
|
104
153
|
# Builds the object from hash
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -24,6 +24,11 @@ module OryKratosClient
|
|
24
24
|
# The input's element name.
|
25
25
|
attr_accessor :name
|
26
26
|
|
27
|
+
attr_accessor :node_type
|
28
|
+
|
29
|
+
# OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn.
|
30
|
+
attr_accessor :onclick
|
31
|
+
|
27
32
|
# The input's pattern.
|
28
33
|
attr_accessor :pattern
|
29
34
|
|
@@ -41,6 +46,8 @@ module OryKratosClient
|
|
41
46
|
:'disabled' => :'disabled',
|
42
47
|
:'label' => :'label',
|
43
48
|
:'name' => :'name',
|
49
|
+
:'node_type' => :'node_type',
|
50
|
+
:'onclick' => :'onclick',
|
44
51
|
:'pattern' => :'pattern',
|
45
52
|
:'required' => :'required',
|
46
53
|
:'type' => :'type',
|
@@ -59,6 +66,8 @@ module OryKratosClient
|
|
59
66
|
:'disabled' => :'Boolean',
|
60
67
|
:'label' => :'UiText',
|
61
68
|
:'name' => :'String',
|
69
|
+
:'node_type' => :'String',
|
70
|
+
:'onclick' => :'String',
|
62
71
|
:'pattern' => :'String',
|
63
72
|
:'required' => :'Boolean',
|
64
73
|
:'type' => :'String',
|
@@ -100,6 +109,14 @@ module OryKratosClient
|
|
100
109
|
self.name = attributes[:'name']
|
101
110
|
end
|
102
111
|
|
112
|
+
if attributes.key?(:'node_type')
|
113
|
+
self.node_type = attributes[:'node_type']
|
114
|
+
end
|
115
|
+
|
116
|
+
if attributes.key?(:'onclick')
|
117
|
+
self.onclick = attributes[:'onclick']
|
118
|
+
end
|
119
|
+
|
103
120
|
if attributes.key?(:'pattern')
|
104
121
|
self.pattern = attributes[:'pattern']
|
105
122
|
end
|
@@ -129,6 +146,10 @@ module OryKratosClient
|
|
129
146
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
130
147
|
end
|
131
148
|
|
149
|
+
if @node_type.nil?
|
150
|
+
invalid_properties.push('invalid value for "node_type", node_type cannot be nil.')
|
151
|
+
end
|
152
|
+
|
132
153
|
if @type.nil?
|
133
154
|
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
134
155
|
end
|
@@ -141,6 +162,7 @@ module OryKratosClient
|
|
141
162
|
def valid?
|
142
163
|
return false if @disabled.nil?
|
143
164
|
return false if @name.nil?
|
165
|
+
return false if @node_type.nil?
|
144
166
|
return false if @type.nil?
|
145
167
|
true
|
146
168
|
end
|
@@ -153,6 +175,8 @@ module OryKratosClient
|
|
153
175
|
disabled == o.disabled &&
|
154
176
|
label == o.label &&
|
155
177
|
name == o.name &&
|
178
|
+
node_type == o.node_type &&
|
179
|
+
onclick == o.onclick &&
|
156
180
|
pattern == o.pattern &&
|
157
181
|
required == o.required &&
|
158
182
|
type == o.type &&
|
@@ -168,7 +192,7 @@ module OryKratosClient
|
|
168
192
|
# Calculates hash code according to all attributes.
|
169
193
|
# @return [Integer] Hash code
|
170
194
|
def hash
|
171
|
-
[disabled, label, name, pattern, required, type, value].hash
|
195
|
+
[disabled, label, name, node_type, onclick, pattern, required, type, value].hash
|
172
196
|
end
|
173
197
|
|
174
198
|
# Builds the object from hash
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1
|
@@ -15,7 +15,7 @@ require 'time'
|
|
15
15
|
|
16
16
|
module OryKratosClient
|
17
17
|
# This might include a label and other information that can optionally be used to render UIs.
|
18
|
-
class
|
18
|
+
class UiNodeMeta
|
19
19
|
attr_accessor :label
|
20
20
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -47,13 +47,13 @@ module OryKratosClient
|
|
47
47
|
# @param [Hash] attributes Model attributes in the form of hash
|
48
48
|
def initialize(attributes = {})
|
49
49
|
if (!attributes.is_a?(Hash))
|
50
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OryKratosClient::
|
50
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryKratosClient::UiNodeMeta` initialize method"
|
51
51
|
end
|
52
52
|
|
53
53
|
# check to see if the attribute exists and convert string to symbol for hash key
|
54
54
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
55
|
if (!self.class.attribute_map.key?(k.to_sym))
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryKratosClient::
|
56
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryKratosClient::UiNodeMeta`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
57
57
|
end
|
58
58
|
h[k.to_sym] = v
|
59
59
|
}
|