ory-client 0.0.1.alpha21 → 0.0.1.alpha28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/README.md +36 -6
- data/docs/ActiveProject.md +18 -0
- data/docs/ApiToken.md +26 -0
- data/docs/CreateCustomHostnameBody.md +20 -0
- data/docs/GenericError.md +10 -4
- data/docs/IdentityPreset.md +20 -0
- data/docs/IdentitySchema.md +8 -2
- data/docs/IdentitySchemaLocation.md +18 -0
- data/docs/IdentitySchemaValidationResult.md +20 -0
- data/docs/IsOwnerForProjectBySlug.md +20 -0
- data/docs/IsOwnerForProjectBySlugPayload.md +22 -0
- data/docs/MetadataApi.md +0 -61
- data/docs/NullString.md +20 -0
- data/docs/NullUUID.md +20 -0
- data/docs/Project.md +34 -0
- data/docs/ProjectHost.md +22 -0
- data/docs/ProjectLookupSecretConfig.md +18 -0
- data/docs/ProjectOidcConfig.md +42 -0
- data/docs/ProjectPasswordConfig.md +20 -0
- data/docs/ProjectPatch.md +60 -0
- data/docs/ProjectRecoveryConfig.md +18 -0
- data/docs/ProjectRevision.md +74 -0
- data/docs/ProjectSlug.md +18 -0
- data/docs/ProjectTotpConfig.md +20 -0
- data/docs/ProjectVerificationConfig.md +20 -0
- data/docs/ProjectWebAuthnConfig.md +26 -0
- data/docs/ProvisionProjectPayload.md +18 -0
- data/docs/RedirectionConfig.md +32 -0
- data/docs/RedirectionField.md +24 -0
- data/docs/SchemaPatch.md +20 -0
- data/docs/SelfServiceBrowserLocationChangeRequiredError.md +17 -3
- data/docs/SelfServiceFlowExpiredError.md +16 -2
- data/docs/StripeCustomerResponse.md +18 -0
- data/docs/V0alpha0Api.md +298 -0
- data/docs/V0alpha2Api.md +13 -13
- data/lib/ory-client/api/metadata_api.rb +1 -56
- data/lib/ory-client/api/v0alpha0_api.rb +270 -0
- data/lib/ory-client/api/v0alpha2_api.rb +27 -27
- data/lib/ory-client/api_client.rb +1 -1
- data/lib/ory-client/api_error.rb +1 -1
- data/lib/ory-client/configuration.rb +1 -1
- data/lib/ory-client/models/active_project.rb +220 -0
- data/lib/ory-client/models/admin_create_identity_body.rb +1 -1
- data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
- data/lib/ory-client/models/admin_update_identity_body.rb +1 -1
- data/lib/ory-client/models/api_token.rb +271 -0
- data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
- data/lib/ory-client/models/create_custom_hostname_body.rb +229 -0
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
- data/lib/ory-client/models/generic_error.rb +38 -7
- data/lib/ory-client/models/health_not_ready_status.rb +1 -1
- data/lib/ory-client/models/health_status.rb +1 -1
- data/lib/ory-client/models/identity.rb +1 -1
- data/lib/ory-client/models/identity_credentials.rb +1 -1
- data/lib/ory-client/models/identity_credentials_type.rb +1 -1
- data/lib/ory-client/models/identity_preset.rb +239 -0
- data/lib/ory-client/models/identity_schema.rb +56 -6
- data/lib/ory-client/models/identity_schema_location.rb +218 -0
- data/lib/ory-client/models/identity_schema_validation_result.rb +227 -0
- data/lib/ory-client/models/identity_state.rb +1 -1
- data/lib/ory-client/models/inline_response200.rb +1 -1
- data/lib/ory-client/models/inline_response2001.rb +1 -1
- data/lib/ory-client/models/inline_response503.rb +1 -1
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +239 -0
- data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +249 -0
- data/lib/ory-client/models/json_error.rb +1 -1
- data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
- data/lib/ory-client/models/null_string.rb +228 -0
- data/lib/ory-client/models/null_uuid.rb +228 -0
- data/lib/ory-client/models/project.rb +365 -0
- data/lib/ory-client/models/project_host.rb +252 -0
- data/lib/ory-client/models/project_lookup_secret_config.rb +219 -0
- data/lib/ory-client/models/project_oidc_config.rb +340 -0
- data/lib/ory-client/models/project_password_config.rb +229 -0
- data/lib/ory-client/models/project_patch.rb +502 -0
- data/lib/ory-client/models/project_recovery_config.rb +219 -0
- data/lib/ory-client/models/project_revision.rb +541 -0
- data/lib/ory-client/models/project_slug.rb +219 -0
- data/lib/ory-client/models/project_totp_config.rb +229 -0
- data/lib/ory-client/models/project_verification_config.rb +229 -0
- data/lib/ory-client/models/project_web_authn_config.rb +259 -0
- data/lib/ory-client/models/provision_project_payload.rb +224 -0
- data/lib/ory-client/models/recovery_address.rb +1 -1
- data/lib/ory-client/models/redirection_config.rb +283 -0
- data/lib/ory-client/models/redirection_field.rb +245 -0
- data/lib/ory-client/models/schema_patch.rb +239 -0
- data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +89 -11
- data/lib/ory-client/models/self_service_error.rb +1 -1
- data/lib/ory-client/models/self_service_flow_expired_error.rb +86 -8
- data/lib/ory-client/models/self_service_login_flow.rb +1 -1
- data/lib/ory-client/models/self_service_logout_url.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_flow.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_flow_state.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_link.rb +1 -1
- data/lib/ory-client/models/self_service_registration_flow.rb +1 -1
- data/lib/ory-client/models/self_service_settings_flow.rb +1 -1
- data/lib/ory-client/models/self_service_settings_flow_state.rb +1 -1
- data/lib/ory-client/models/self_service_verification_flow.rb +1 -1
- data/lib/ory-client/models/self_service_verification_flow_state.rb +1 -1
- data/lib/ory-client/models/session.rb +1 -1
- data/lib/ory-client/models/session_authentication_method.rb +3 -3
- data/lib/ory-client/models/session_device.rb +1 -1
- data/lib/ory-client/models/settings_profile_form_config.rb +1 -1
- data/lib/ory-client/models/stripe_customer_response.rb +218 -0
- data/lib/ory-client/models/submit_self_service_login_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
- data/lib/ory-client/models/successful_self_service_login_without_browser.rb +1 -1
- data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +1 -1
- data/lib/ory-client/models/ui_container.rb +1 -1
- data/lib/ory-client/models/ui_node.rb +1 -1
- data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_input_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_meta.rb +1 -1
- data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
- data/lib/ory-client/models/ui_text.rb +1 -1
- data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
- data/lib/ory-client/models/version.rb +1 -1
- data/lib/ory-client/version.rb +2 -2
- data/lib/ory-client.rb +29 -1
- data/ory-client.gemspec +1 -1
- data/spec/api/metadata_api_spec.rb +1 -12
- data/spec/api/v0alpha0_api_spec.rb +83 -0
- data/spec/api/v0alpha2_api_spec.rb +14 -14
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/active_project_spec.rb +34 -0
- data/spec/models/admin_create_identity_body_spec.rb +1 -1
- data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
- data/spec/models/admin_update_identity_body_spec.rb +1 -1
- data/spec/models/api_token_spec.rb +58 -0
- data/spec/models/authenticator_assurance_level_spec.rb +1 -1
- data/spec/models/create_custom_hostname_body_spec.rb +40 -0
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
- data/spec/models/generic_error_spec.rb +19 -1
- data/spec/models/health_not_ready_status_spec.rb +1 -1
- data/spec/models/health_status_spec.rb +1 -1
- data/spec/models/identity_credentials_spec.rb +1 -1
- data/spec/models/identity_credentials_type_spec.rb +1 -1
- data/spec/models/identity_preset_spec.rb +40 -0
- data/spec/models/identity_schema_location_spec.rb +34 -0
- data/spec/models/identity_schema_spec.rb +19 -1
- data/spec/models/identity_schema_validation_result_spec.rb +40 -0
- data/spec/models/identity_spec.rb +1 -1
- data/spec/models/identity_state_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/inline_response503_spec.rb +1 -1
- data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +46 -0
- data/spec/models/is_owner_for_project_by_slug_spec.rb +40 -0
- data/spec/models/json_error_spec.rb +1 -1
- data/spec/models/needs_privileged_session_error_spec.rb +1 -1
- data/spec/models/null_string_spec.rb +40 -0
- data/spec/models/null_uuid_spec.rb +40 -0
- data/spec/models/project_host_spec.rb +46 -0
- data/spec/models/project_lookup_secret_config_spec.rb +34 -0
- data/spec/models/project_oidc_config_spec.rb +106 -0
- data/spec/models/project_password_config_spec.rb +40 -0
- data/spec/models/project_patch_spec.rb +160 -0
- data/spec/models/project_recovery_config_spec.rb +34 -0
- data/spec/models/project_revision_spec.rb +202 -0
- data/spec/models/project_slug_spec.rb +34 -0
- data/spec/models/project_spec.rb +86 -0
- data/spec/models/project_totp_config_spec.rb +40 -0
- data/spec/models/project_verification_config_spec.rb +40 -0
- data/spec/models/project_web_authn_config_spec.rb +58 -0
- data/spec/models/provision_project_payload_spec.rb +34 -0
- data/spec/models/recovery_address_spec.rb +1 -1
- data/spec/models/redirection_config_spec.rb +76 -0
- data/spec/models/redirection_field_spec.rb +52 -0
- data/spec/models/schema_patch_spec.rb +40 -0
- data/spec/models/self_service_browser_location_change_required_error_spec.rb +44 -2
- data/spec/models/self_service_error_spec.rb +1 -1
- data/spec/models/self_service_flow_expired_error_spec.rb +44 -2
- data/spec/models/self_service_login_flow_spec.rb +1 -1
- data/spec/models/self_service_logout_url_spec.rb +1 -1
- data/spec/models/self_service_recovery_flow_spec.rb +1 -1
- data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
- data/spec/models/self_service_recovery_link_spec.rb +1 -1
- data/spec/models/self_service_registration_flow_spec.rb +1 -1
- data/spec/models/self_service_settings_flow_spec.rb +1 -1
- data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
- data/spec/models/self_service_verification_flow_spec.rb +1 -1
- data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
- data/spec/models/session_authentication_method_spec.rb +2 -2
- data/spec/models/session_device_spec.rb +1 -1
- data/spec/models/session_spec.rb +1 -1
- data/spec/models/settings_profile_form_config_spec.rb +1 -1
- data/spec/models/stripe_customer_response_spec.rb +34 -0
- data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
- data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
- data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
- data/spec/models/successful_self_service_registration_without_browser_spec.rb +1 -1
- data/spec/models/ui_container_spec.rb +1 -1
- data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
- data/spec/models/ui_node_attributes_spec.rb +1 -1
- data/spec/models/ui_node_image_attributes_spec.rb +1 -1
- data/spec/models/ui_node_input_attributes_spec.rb +1 -1
- data/spec/models/ui_node_meta_spec.rb +1 -1
- data/spec/models/ui_node_script_attributes_spec.rb +1 -1
- data/spec/models/ui_node_spec.rb +1 -1
- data/spec/models/ui_node_text_attributes_spec.rb +1 -1
- data/spec/models/ui_text_spec.rb +1 -1
- data/spec/models/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/psych-4.0.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-support-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.4/gem_make.out +2 -3
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.4/mkmf.log +31 -20
- 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/ffi-1.15.4/ext/ffi_c/Makefile +7 -7
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/extconf.h +0 -1
- 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/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/Changelog.md +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/caller_filter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/comparable_version.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/differ.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/directory_maker.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/encoded_string.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/fuzzy_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/hunk_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/matcher_definition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/method_signature_verifier.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/mutex.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/object_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/recursive_const_methods.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/reentrant_mutex.rb +27 -10
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/ruby_features.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/source/location.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/source/node.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/source/token.rb +12 -5
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/source.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/spec/diff_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/spec/formatting_support.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/spec/in_sub_process.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/spec/shell_out.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/spec/string_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/warnings.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support/with_keywords_when_needed.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.10.3}/lib/rspec/support.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/specifications/{psych-4.0.1.gemspec → psych-4.0.2.gemspec} +3 -3
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-support-3.10.2.gemspec → rspec-support-3.10.3.gemspec} +5 -5
- metadata +245 -133
- data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.10.2.gem +0 -0
@@ -0,0 +1,541 @@
|
|
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.28
|
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 ProjectRevision
|
18
|
+
# The Project API URL The URL where the Project's APIs are available.
|
19
|
+
attr_accessor :api_url
|
20
|
+
|
21
|
+
# Your Application URL The 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.
|
22
|
+
attr_accessor :application_url
|
23
|
+
|
24
|
+
# The Project's Revision Creation Date
|
25
|
+
attr_accessor :created_at
|
26
|
+
|
27
|
+
# 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. The value of this field can be either any \"https://\" URL - for example a file hosted at GitHub, or a `preset://`-prefixed string. Available profiles are: profile://email profile://username
|
28
|
+
attr_accessor :default_identity_schema_url
|
29
|
+
|
30
|
+
# Self-Service Error UI URL Sets the UI URL for the error UI. If left empty, this will use Ory's hosted pages.
|
31
|
+
attr_accessor :error_ui_url
|
32
|
+
|
33
|
+
attr_accessor :hosts
|
34
|
+
|
35
|
+
attr_accessor :id
|
36
|
+
|
37
|
+
# The Project's Kratos Config Version
|
38
|
+
attr_accessor :kratos_config_version
|
39
|
+
|
40
|
+
attr_accessor :kratos_custom_schema_id
|
41
|
+
|
42
|
+
# Self-Service Login UI URL Sets the UI URL for the login UI. If left empty, this will use Ory's hosted pages.
|
43
|
+
attr_accessor :login_ui_url
|
44
|
+
|
45
|
+
attr_accessor :lookup_secret
|
46
|
+
|
47
|
+
# The project's name.
|
48
|
+
attr_accessor :name
|
49
|
+
|
50
|
+
attr_accessor :oidc_providers
|
51
|
+
|
52
|
+
attr_accessor :password
|
53
|
+
|
54
|
+
attr_accessor :project_id
|
55
|
+
|
56
|
+
attr_accessor :recovery
|
57
|
+
|
58
|
+
# Self-Service Login UI URL Sets the UI URL for the recovery UI. If left empty, this will use Ory's hosted pages.
|
59
|
+
attr_accessor :recovery_ui_url
|
60
|
+
|
61
|
+
attr_accessor :redirection_config
|
62
|
+
|
63
|
+
# Self-Service Login UI URL Sets the UI URL for the registration UI. If left empty, this will use Ory's hosted pages.
|
64
|
+
attr_accessor :registration_ui_url
|
65
|
+
|
66
|
+
# 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
|
67
|
+
attr_accessor :session_after_sign_up
|
68
|
+
|
69
|
+
# Enable Soft 2FA for Login Sessions
|
70
|
+
attr_accessor :session_soft_2fa
|
71
|
+
|
72
|
+
# 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).
|
73
|
+
attr_accessor :settings_privileged_session_max_age_seconds
|
74
|
+
|
75
|
+
# Enable Soft 2FA for Self-Service Settings Flows
|
76
|
+
attr_accessor :settings_soft_2fa
|
77
|
+
|
78
|
+
# Self-Service Settings UI URL Sets the UI URL for the settings UI. If left empty, this will use Ory's hosted pages.
|
79
|
+
attr_accessor :settings_ui_url
|
80
|
+
|
81
|
+
attr_accessor :totp
|
82
|
+
|
83
|
+
# Last Time Project's Revision was Updated
|
84
|
+
attr_accessor :updated_at
|
85
|
+
|
86
|
+
attr_accessor :verification
|
87
|
+
|
88
|
+
# Self-Service Login UI URL Sets the UI URL for the verification UI. If left empty, this will use Ory's hosted pages.
|
89
|
+
attr_accessor :verification_ui_url
|
90
|
+
|
91
|
+
attr_accessor :webauthn
|
92
|
+
|
93
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
94
|
+
def self.attribute_map
|
95
|
+
{
|
96
|
+
:'api_url' => :'api_url',
|
97
|
+
:'application_url' => :'application_url',
|
98
|
+
:'created_at' => :'created_at',
|
99
|
+
:'default_identity_schema_url' => :'default_identity_schema_url',
|
100
|
+
:'error_ui_url' => :'error_ui_url',
|
101
|
+
:'hosts' => :'hosts',
|
102
|
+
:'id' => :'id',
|
103
|
+
:'kratos_config_version' => :'kratos_config_version',
|
104
|
+
:'kratos_custom_schema_id' => :'kratos_custom_schema_id',
|
105
|
+
:'login_ui_url' => :'login_ui_url',
|
106
|
+
:'lookup_secret' => :'lookup_secret',
|
107
|
+
:'name' => :'name',
|
108
|
+
:'oidc_providers' => :'oidc_providers',
|
109
|
+
:'password' => :'password',
|
110
|
+
:'project_id' => :'project_id',
|
111
|
+
:'recovery' => :'recovery',
|
112
|
+
:'recovery_ui_url' => :'recovery_ui_url',
|
113
|
+
:'redirection_config' => :'redirection_config',
|
114
|
+
:'registration_ui_url' => :'registration_ui_url',
|
115
|
+
:'session_after_sign_up' => :'session_after_sign_up',
|
116
|
+
:'session_soft_2fa' => :'session_soft_2fa',
|
117
|
+
:'settings_privileged_session_max_age_seconds' => :'settings_privileged_session_max_age_seconds',
|
118
|
+
:'settings_soft_2fa' => :'settings_soft_2fa',
|
119
|
+
:'settings_ui_url' => :'settings_ui_url',
|
120
|
+
:'totp' => :'totp',
|
121
|
+
:'updated_at' => :'updated_at',
|
122
|
+
:'verification' => :'verification',
|
123
|
+
:'verification_ui_url' => :'verification_ui_url',
|
124
|
+
:'webauthn' => :'webauthn'
|
125
|
+
}
|
126
|
+
end
|
127
|
+
|
128
|
+
# Returns all the JSON keys this model knows about
|
129
|
+
def self.acceptable_attributes
|
130
|
+
attribute_map.values
|
131
|
+
end
|
132
|
+
|
133
|
+
# Attribute type mapping.
|
134
|
+
def self.openapi_types
|
135
|
+
{
|
136
|
+
:'api_url' => :'String',
|
137
|
+
:'application_url' => :'String',
|
138
|
+
:'created_at' => :'Time',
|
139
|
+
:'default_identity_schema_url' => :'String',
|
140
|
+
:'error_ui_url' => :'String',
|
141
|
+
:'hosts' => :'Array<String>',
|
142
|
+
:'id' => :'String',
|
143
|
+
:'kratos_config_version' => :'String',
|
144
|
+
:'kratos_custom_schema_id' => :'NullUUID',
|
145
|
+
:'login_ui_url' => :'String',
|
146
|
+
:'lookup_secret' => :'ProjectLookupSecretConfig',
|
147
|
+
:'name' => :'String',
|
148
|
+
:'oidc_providers' => :'Array<ProjectOidcConfig>',
|
149
|
+
:'password' => :'ProjectPasswordConfig',
|
150
|
+
:'project_id' => :'String',
|
151
|
+
:'recovery' => :'ProjectRecoveryConfig',
|
152
|
+
:'recovery_ui_url' => :'String',
|
153
|
+
:'redirection_config' => :'RedirectionConfig',
|
154
|
+
:'registration_ui_url' => :'String',
|
155
|
+
:'session_after_sign_up' => :'Boolean',
|
156
|
+
:'session_soft_2fa' => :'Boolean',
|
157
|
+
:'settings_privileged_session_max_age_seconds' => :'Integer',
|
158
|
+
:'settings_soft_2fa' => :'Boolean',
|
159
|
+
:'settings_ui_url' => :'String',
|
160
|
+
:'totp' => :'ProjectTotpConfig',
|
161
|
+
:'updated_at' => :'Time',
|
162
|
+
:'verification' => :'ProjectVerificationConfig',
|
163
|
+
:'verification_ui_url' => :'String',
|
164
|
+
:'webauthn' => :'ProjectWebAuthnConfig'
|
165
|
+
}
|
166
|
+
end
|
167
|
+
|
168
|
+
# List of attributes with nullable: true
|
169
|
+
def self.openapi_nullable
|
170
|
+
Set.new([
|
171
|
+
])
|
172
|
+
end
|
173
|
+
|
174
|
+
# Initializes the object
|
175
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
176
|
+
def initialize(attributes = {})
|
177
|
+
if (!attributes.is_a?(Hash))
|
178
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::ProjectRevision` initialize method"
|
179
|
+
end
|
180
|
+
|
181
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
182
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
183
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
184
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ProjectRevision`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
185
|
+
end
|
186
|
+
h[k.to_sym] = v
|
187
|
+
}
|
188
|
+
|
189
|
+
if attributes.key?(:'api_url')
|
190
|
+
self.api_url = attributes[:'api_url']
|
191
|
+
end
|
192
|
+
|
193
|
+
if attributes.key?(:'application_url')
|
194
|
+
self.application_url = attributes[:'application_url']
|
195
|
+
end
|
196
|
+
|
197
|
+
if attributes.key?(:'created_at')
|
198
|
+
self.created_at = attributes[:'created_at']
|
199
|
+
end
|
200
|
+
|
201
|
+
if attributes.key?(:'default_identity_schema_url')
|
202
|
+
self.default_identity_schema_url = attributes[:'default_identity_schema_url']
|
203
|
+
end
|
204
|
+
|
205
|
+
if attributes.key?(:'error_ui_url')
|
206
|
+
self.error_ui_url = attributes[:'error_ui_url']
|
207
|
+
end
|
208
|
+
|
209
|
+
if attributes.key?(:'hosts')
|
210
|
+
if (value = attributes[:'hosts']).is_a?(Array)
|
211
|
+
self.hosts = value
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
if attributes.key?(:'id')
|
216
|
+
self.id = attributes[:'id']
|
217
|
+
end
|
218
|
+
|
219
|
+
if attributes.key?(:'kratos_config_version')
|
220
|
+
self.kratos_config_version = attributes[:'kratos_config_version']
|
221
|
+
end
|
222
|
+
|
223
|
+
if attributes.key?(:'kratos_custom_schema_id')
|
224
|
+
self.kratos_custom_schema_id = attributes[:'kratos_custom_schema_id']
|
225
|
+
end
|
226
|
+
|
227
|
+
if attributes.key?(:'login_ui_url')
|
228
|
+
self.login_ui_url = attributes[:'login_ui_url']
|
229
|
+
end
|
230
|
+
|
231
|
+
if attributes.key?(:'lookup_secret')
|
232
|
+
self.lookup_secret = attributes[:'lookup_secret']
|
233
|
+
end
|
234
|
+
|
235
|
+
if attributes.key?(:'name')
|
236
|
+
self.name = attributes[:'name']
|
237
|
+
end
|
238
|
+
|
239
|
+
if attributes.key?(:'oidc_providers')
|
240
|
+
if (value = attributes[:'oidc_providers']).is_a?(Array)
|
241
|
+
self.oidc_providers = value
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
245
|
+
if attributes.key?(:'password')
|
246
|
+
self.password = attributes[:'password']
|
247
|
+
end
|
248
|
+
|
249
|
+
if attributes.key?(:'project_id')
|
250
|
+
self.project_id = attributes[:'project_id']
|
251
|
+
end
|
252
|
+
|
253
|
+
if attributes.key?(:'recovery')
|
254
|
+
self.recovery = attributes[:'recovery']
|
255
|
+
end
|
256
|
+
|
257
|
+
if attributes.key?(:'recovery_ui_url')
|
258
|
+
self.recovery_ui_url = attributes[:'recovery_ui_url']
|
259
|
+
end
|
260
|
+
|
261
|
+
if attributes.key?(:'redirection_config')
|
262
|
+
self.redirection_config = attributes[:'redirection_config']
|
263
|
+
end
|
264
|
+
|
265
|
+
if attributes.key?(:'registration_ui_url')
|
266
|
+
self.registration_ui_url = attributes[:'registration_ui_url']
|
267
|
+
end
|
268
|
+
|
269
|
+
if attributes.key?(:'session_after_sign_up')
|
270
|
+
self.session_after_sign_up = attributes[:'session_after_sign_up']
|
271
|
+
end
|
272
|
+
|
273
|
+
if attributes.key?(:'session_soft_2fa')
|
274
|
+
self.session_soft_2fa = attributes[:'session_soft_2fa']
|
275
|
+
end
|
276
|
+
|
277
|
+
if attributes.key?(:'settings_privileged_session_max_age_seconds')
|
278
|
+
self.settings_privileged_session_max_age_seconds = attributes[:'settings_privileged_session_max_age_seconds']
|
279
|
+
end
|
280
|
+
|
281
|
+
if attributes.key?(:'settings_soft_2fa')
|
282
|
+
self.settings_soft_2fa = attributes[:'settings_soft_2fa']
|
283
|
+
end
|
284
|
+
|
285
|
+
if attributes.key?(:'settings_ui_url')
|
286
|
+
self.settings_ui_url = attributes[:'settings_ui_url']
|
287
|
+
end
|
288
|
+
|
289
|
+
if attributes.key?(:'totp')
|
290
|
+
self.totp = attributes[:'totp']
|
291
|
+
end
|
292
|
+
|
293
|
+
if attributes.key?(:'updated_at')
|
294
|
+
self.updated_at = attributes[:'updated_at']
|
295
|
+
end
|
296
|
+
|
297
|
+
if attributes.key?(:'verification')
|
298
|
+
self.verification = attributes[:'verification']
|
299
|
+
end
|
300
|
+
|
301
|
+
if attributes.key?(:'verification_ui_url')
|
302
|
+
self.verification_ui_url = attributes[:'verification_ui_url']
|
303
|
+
end
|
304
|
+
|
305
|
+
if attributes.key?(:'webauthn')
|
306
|
+
self.webauthn = attributes[:'webauthn']
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
310
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
311
|
+
# @return Array for valid properties with the reasons
|
312
|
+
def list_invalid_properties
|
313
|
+
invalid_properties = Array.new
|
314
|
+
if @api_url.nil?
|
315
|
+
invalid_properties.push('invalid value for "api_url", api_url cannot be nil.')
|
316
|
+
end
|
317
|
+
|
318
|
+
if @application_url.nil?
|
319
|
+
invalid_properties.push('invalid value for "application_url", application_url cannot be nil.')
|
320
|
+
end
|
321
|
+
|
322
|
+
if @created_at.nil?
|
323
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
324
|
+
end
|
325
|
+
|
326
|
+
if @default_identity_schema_url.nil?
|
327
|
+
invalid_properties.push('invalid value for "default_identity_schema_url", default_identity_schema_url cannot be nil.')
|
328
|
+
end
|
329
|
+
|
330
|
+
if @hosts.nil?
|
331
|
+
invalid_properties.push('invalid value for "hosts", hosts cannot be nil.')
|
332
|
+
end
|
333
|
+
|
334
|
+
if @id.nil?
|
335
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
336
|
+
end
|
337
|
+
|
338
|
+
if @name.nil?
|
339
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
340
|
+
end
|
341
|
+
|
342
|
+
if @project_id.nil?
|
343
|
+
invalid_properties.push('invalid value for "project_id", project_id cannot be nil.')
|
344
|
+
end
|
345
|
+
|
346
|
+
if @session_after_sign_up.nil?
|
347
|
+
invalid_properties.push('invalid value for "session_after_sign_up", session_after_sign_up cannot be nil.')
|
348
|
+
end
|
349
|
+
|
350
|
+
if @updated_at.nil?
|
351
|
+
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
352
|
+
end
|
353
|
+
|
354
|
+
invalid_properties
|
355
|
+
end
|
356
|
+
|
357
|
+
# Check to see if the all the properties in the model are valid
|
358
|
+
# @return true if the model is valid
|
359
|
+
def valid?
|
360
|
+
return false if @api_url.nil?
|
361
|
+
return false if @application_url.nil?
|
362
|
+
return false if @created_at.nil?
|
363
|
+
return false if @default_identity_schema_url.nil?
|
364
|
+
return false if @hosts.nil?
|
365
|
+
return false if @id.nil?
|
366
|
+
return false if @name.nil?
|
367
|
+
return false if @project_id.nil?
|
368
|
+
return false if @session_after_sign_up.nil?
|
369
|
+
return false if @updated_at.nil?
|
370
|
+
true
|
371
|
+
end
|
372
|
+
|
373
|
+
# Checks equality by comparing each attribute.
|
374
|
+
# @param [Object] Object to be compared
|
375
|
+
def ==(o)
|
376
|
+
return true if self.equal?(o)
|
377
|
+
self.class == o.class &&
|
378
|
+
api_url == o.api_url &&
|
379
|
+
application_url == o.application_url &&
|
380
|
+
created_at == o.created_at &&
|
381
|
+
default_identity_schema_url == o.default_identity_schema_url &&
|
382
|
+
error_ui_url == o.error_ui_url &&
|
383
|
+
hosts == o.hosts &&
|
384
|
+
id == o.id &&
|
385
|
+
kratos_config_version == o.kratos_config_version &&
|
386
|
+
kratos_custom_schema_id == o.kratos_custom_schema_id &&
|
387
|
+
login_ui_url == o.login_ui_url &&
|
388
|
+
lookup_secret == o.lookup_secret &&
|
389
|
+
name == o.name &&
|
390
|
+
oidc_providers == o.oidc_providers &&
|
391
|
+
password == o.password &&
|
392
|
+
project_id == o.project_id &&
|
393
|
+
recovery == o.recovery &&
|
394
|
+
recovery_ui_url == o.recovery_ui_url &&
|
395
|
+
redirection_config == o.redirection_config &&
|
396
|
+
registration_ui_url == o.registration_ui_url &&
|
397
|
+
session_after_sign_up == o.session_after_sign_up &&
|
398
|
+
session_soft_2fa == o.session_soft_2fa &&
|
399
|
+
settings_privileged_session_max_age_seconds == o.settings_privileged_session_max_age_seconds &&
|
400
|
+
settings_soft_2fa == o.settings_soft_2fa &&
|
401
|
+
settings_ui_url == o.settings_ui_url &&
|
402
|
+
totp == o.totp &&
|
403
|
+
updated_at == o.updated_at &&
|
404
|
+
verification == o.verification &&
|
405
|
+
verification_ui_url == o.verification_ui_url &&
|
406
|
+
webauthn == o.webauthn
|
407
|
+
end
|
408
|
+
|
409
|
+
# @see the `==` method
|
410
|
+
# @param [Object] Object to be compared
|
411
|
+
def eql?(o)
|
412
|
+
self == o
|
413
|
+
end
|
414
|
+
|
415
|
+
# Calculates hash code according to all attributes.
|
416
|
+
# @return [Integer] Hash code
|
417
|
+
def hash
|
418
|
+
[api_url, application_url, created_at, default_identity_schema_url, error_ui_url, hosts, id, kratos_config_version, kratos_custom_schema_id, login_ui_url, lookup_secret, name, oidc_providers, password, project_id, 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, updated_at, verification, verification_ui_url, webauthn].hash
|
419
|
+
end
|
420
|
+
|
421
|
+
# Builds the object from hash
|
422
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
423
|
+
# @return [Object] Returns the model itself
|
424
|
+
def self.build_from_hash(attributes)
|
425
|
+
new.build_from_hash(attributes)
|
426
|
+
end
|
427
|
+
|
428
|
+
# Builds the object from hash
|
429
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
430
|
+
# @return [Object] Returns the model itself
|
431
|
+
def build_from_hash(attributes)
|
432
|
+
return nil unless attributes.is_a?(Hash)
|
433
|
+
self.class.openapi_types.each_pair do |key, type|
|
434
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
435
|
+
self.send("#{key}=", nil)
|
436
|
+
elsif type =~ /\AArray<(.*)>/i
|
437
|
+
# check to ensure the input is an array given that the attribute
|
438
|
+
# is documented as an array but the input is not
|
439
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
440
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
441
|
+
end
|
442
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
443
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
447
|
+
self
|
448
|
+
end
|
449
|
+
|
450
|
+
# Deserializes the data based on type
|
451
|
+
# @param string type Data type
|
452
|
+
# @param string value Value to be deserialized
|
453
|
+
# @return [Object] Deserialized data
|
454
|
+
def _deserialize(type, value)
|
455
|
+
case type.to_sym
|
456
|
+
when :Time
|
457
|
+
Time.parse(value)
|
458
|
+
when :Date
|
459
|
+
Date.parse(value)
|
460
|
+
when :String
|
461
|
+
value.to_s
|
462
|
+
when :Integer
|
463
|
+
value.to_i
|
464
|
+
when :Float
|
465
|
+
value.to_f
|
466
|
+
when :Boolean
|
467
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
468
|
+
true
|
469
|
+
else
|
470
|
+
false
|
471
|
+
end
|
472
|
+
when :Object
|
473
|
+
# generic object (usually a Hash), return directly
|
474
|
+
value
|
475
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
476
|
+
inner_type = Regexp.last_match[:inner_type]
|
477
|
+
value.map { |v| _deserialize(inner_type, v) }
|
478
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
479
|
+
k_type = Regexp.last_match[:k_type]
|
480
|
+
v_type = Regexp.last_match[:v_type]
|
481
|
+
{}.tap do |hash|
|
482
|
+
value.each do |k, v|
|
483
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
484
|
+
end
|
485
|
+
end
|
486
|
+
else # model
|
487
|
+
# models (e.g. Pet) or oneOf
|
488
|
+
klass = OryClient.const_get(type)
|
489
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
493
|
+
# Returns the string representation of the object
|
494
|
+
# @return [String] String presentation of the object
|
495
|
+
def to_s
|
496
|
+
to_hash.to_s
|
497
|
+
end
|
498
|
+
|
499
|
+
# to_body is an alias to to_hash (backward compatibility)
|
500
|
+
# @return [Hash] Returns the object in the form of hash
|
501
|
+
def to_body
|
502
|
+
to_hash
|
503
|
+
end
|
504
|
+
|
505
|
+
# Returns the object in the form of hash
|
506
|
+
# @return [Hash] Returns the object in the form of hash
|
507
|
+
def to_hash
|
508
|
+
hash = {}
|
509
|
+
self.class.attribute_map.each_pair do |attr, param|
|
510
|
+
value = self.send(attr)
|
511
|
+
if value.nil?
|
512
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
513
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
514
|
+
end
|
515
|
+
|
516
|
+
hash[param] = _to_hash(value)
|
517
|
+
end
|
518
|
+
hash
|
519
|
+
end
|
520
|
+
|
521
|
+
# Outputs non-array value in the form of hash
|
522
|
+
# For object, use to_hash. Otherwise, just return the value
|
523
|
+
# @param [Object] value Any valid value
|
524
|
+
# @return [Hash] Returns the value in the form of hash
|
525
|
+
def _to_hash(value)
|
526
|
+
if value.is_a?(Array)
|
527
|
+
value.compact.map { |v| _to_hash(v) }
|
528
|
+
elsif value.is_a?(Hash)
|
529
|
+
{}.tap do |hash|
|
530
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
531
|
+
end
|
532
|
+
elsif value.respond_to? :to_hash
|
533
|
+
value.to_hash
|
534
|
+
else
|
535
|
+
value
|
536
|
+
end
|
537
|
+
end
|
538
|
+
|
539
|
+
end
|
540
|
+
|
541
|
+
end
|