ory-client 1.1.50 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +10 -5
- data/docs/CreateProjectBranding.md +4 -0
- data/docs/FrontendApi.md +2 -2
- data/docs/IdentityApi.md +6 -6
- data/docs/IdentityCredentialsCode.md +20 -0
- data/docs/LoginFlow.md +2 -0
- data/docs/LoginFlowState.md +15 -0
- data/docs/Message.md +1 -1
- data/docs/NormalizedProjectRevision.md +14 -0
- data/docs/ProjectBrandingTheme.md +4 -0
- data/docs/RecoveryFlow.md +1 -1
- data/docs/RegistrationFlow.md +2 -0
- data/docs/RegistrationFlowState.md +15 -0
- data/docs/Session.md +1 -1
- data/docs/SetProjectBrandingThemeBody.md +4 -0
- data/docs/SettingsFlow.md +1 -1
- data/docs/UpdateLoginFlowBody.md +4 -1
- data/docs/UpdateLoginFlowWithCodeMethod.md +26 -0
- data/docs/UpdateRegistrationFlowBody.md +4 -1
- data/docs/UpdateRegistrationFlowWithCodeMethod.md +28 -0
- data/docs/VerificationFlow.md +1 -1
- data/lib/ory-client/api/courier_api.rb +1 -1
- data/lib/ory-client/api/frontend_api.rb +1 -1
- data/lib/ory-client/api/identity_api.rb +8 -20
- data/lib/ory-client/api/jwk_api.rb +1 -1
- data/lib/ory-client/api/metadata_api.rb +1 -1
- data/lib/ory-client/api/o_auth2_api.rb +1 -1
- data/lib/ory-client/api/oidc_api.rb +1 -1
- data/lib/ory-client/api/permission_api.rb +1 -1
- data/lib/ory-client/api/project_api.rb +1 -1
- data/lib/ory-client/api/relationship_api.rb +1 -1
- data/lib/ory-client/api/wellknown_api.rb +1 -1
- 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/accept_o_auth2_consent_request.rb +1 -1
- data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +1 -1
- data/lib/ory-client/models/accept_o_auth2_login_request.rb +1 -1
- data/lib/ory-client/models/active_project_in_console.rb +1 -1
- data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
- data/lib/ory-client/models/batch_patch_identities_response.rb +1 -1
- data/lib/ory-client/models/check_opl_syntax_result.rb +1 -1
- data/lib/ory-client/models/check_permission_result.rb +1 -1
- data/lib/ory-client/models/cloud_account.rb +1 -1
- data/lib/ory-client/models/continue_with.rb +1 -1
- data/lib/ory-client/models/continue_with_set_ory_session_token.rb +1 -1
- data/lib/ory-client/models/continue_with_verification_ui.rb +1 -1
- data/lib/ory-client/models/continue_with_verification_ui_flow.rb +1 -1
- data/lib/ory-client/models/cors.rb +1 -1
- data/lib/ory-client/models/courier_message_status.rb +1 -1
- data/lib/ory-client/models/courier_message_type.rb +1 -1
- data/lib/ory-client/models/create_custom_domain_body.rb +1 -1
- data/lib/ory-client/models/create_identity_body.rb +1 -1
- data/lib/ory-client/models/create_invite_response.rb +1 -1
- data/lib/ory-client/models/create_json_web_key_set.rb +1 -1
- data/lib/ory-client/models/create_project_api_key_request.rb +1 -1
- data/lib/ory-client/models/create_project_body.rb +1 -1
- data/lib/ory-client/models/create_project_branding.rb +20 -2
- data/lib/ory-client/models/create_project_member_invite_body.rb +1 -1
- data/lib/ory-client/models/create_recovery_code_for_identity_body.rb +1 -1
- data/lib/ory-client/models/create_recovery_link_for_identity_body.rb +1 -1
- data/lib/ory-client/models/create_relationship_body.rb +1 -1
- data/lib/ory-client/models/create_subscription_body.rb +1 -1
- data/lib/ory-client/models/create_verifiable_credential_request_body.rb +1 -1
- data/lib/ory-client/models/credential_supported_draft00.rb +1 -1
- data/lib/ory-client/models/custom_domain.rb +1 -1
- data/lib/ory-client/models/delete_my_sessions_count.rb +1 -1
- data/lib/ory-client/models/email_template_data.rb +1 -1
- data/lib/ory-client/models/email_template_data_body.rb +1 -1
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
- data/lib/ory-client/models/error_browser_location_change_required.rb +1 -1
- data/lib/ory-client/models/error_flow_replaced.rb +1 -1
- data/lib/ory-client/models/error_generic.rb +1 -1
- data/lib/ory-client/models/error_o_auth2.rb +1 -1
- data/lib/ory-client/models/expanded_permission_tree.rb +1 -1
- data/lib/ory-client/models/flow_error.rb +1 -1
- data/lib/ory-client/models/generic_error.rb +1 -1
- data/lib/ory-client/models/generic_error_content.rb +1 -1
- data/lib/ory-client/models/generic_usage.rb +1 -1
- data/lib/ory-client/models/get_managed_identity_schema_location.rb +1 -1
- data/lib/ory-client/models/get_project_metrics_response.rb +1 -1
- data/lib/ory-client/models/get_version200_response.rb +1 -1
- data/lib/ory-client/models/health_not_ready_status.rb +1 -1
- data/lib/ory-client/models/health_status.rb +1 -1
- data/lib/ory-client/models/identity.rb +1 -1
- data/lib/ory-client/models/identity_credentials.rb +1 -1
- data/lib/ory-client/models/identity_credentials_code.rb +230 -0
- data/lib/ory-client/models/identity_credentials_oidc.rb +1 -1
- data/lib/ory-client/models/identity_credentials_oidc_provider.rb +1 -1
- data/lib/ory-client/models/identity_credentials_password.rb +1 -1
- data/lib/ory-client/models/identity_credentials_type.rb +2 -1
- data/lib/ory-client/models/identity_patch.rb +1 -1
- data/lib/ory-client/models/identity_patch_response.rb +1 -1
- data/lib/ory-client/models/identity_schema_container.rb +1 -1
- data/lib/ory-client/models/identity_schema_preset.rb +1 -1
- data/lib/ory-client/models/identity_state.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_oidc.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_oidc_config.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_oidc_config_provider.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_password.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_password_config.rb +1 -1
- data/lib/ory-client/models/internal_get_project_branding_body.rb +1 -1
- data/lib/ory-client/models/internal_is_ax_welcome_screen_enabled_for_project_body.rb +1 -1
- data/lib/ory-client/models/internal_is_owner_for_project_by_slug_body.rb +1 -1
- data/lib/ory-client/models/internal_is_owner_for_project_by_slug_response.rb +1 -1
- data/lib/ory-client/models/internal_provision_mock_subscription.rb +1 -1
- data/lib/ory-client/models/introspected_o_auth2_token.rb +1 -1
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
- data/lib/ory-client/models/is_ready200_response.rb +1 -1
- data/lib/ory-client/models/is_ready503_response.rb +1 -1
- data/lib/ory-client/models/json_patch.rb +1 -1
- data/lib/ory-client/models/json_web_key.rb +1 -1
- data/lib/ory-client/models/json_web_key_set.rb +1 -1
- data/lib/ory-client/models/keto_namespace.rb +1 -1
- data/lib/ory-client/models/login_flow.rb +13 -2
- data/lib/ory-client/models/login_flow_state.rb +38 -0
- data/lib/ory-client/models/logout_flow.rb +1 -1
- data/lib/ory-client/models/managed_identity_schema.rb +1 -1
- data/lib/ory-client/models/managed_identity_schema_validation_result.rb +1 -1
- data/lib/ory-client/models/member_invite.rb +1 -1
- data/lib/ory-client/models/message.rb +4 -4
- data/lib/ory-client/models/message_dispatch.rb +1 -1
- data/lib/ory-client/models/metrics_datapoint.rb +1 -1
- data/lib/ory-client/models/namespace.rb +1 -1
- data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
- data/lib/ory-client/models/normalized_project.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision.rb +72 -2
- data/lib/ory-client/models/normalized_project_revision_hook.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +1 -1
- data/lib/ory-client/models/o_auth2_client.rb +1 -1
- data/lib/ory-client/models/o_auth2_client_token_lifespans.rb +1 -1
- data/lib/ory-client/models/o_auth2_consent_request.rb +1 -1
- data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +1 -1
- data/lib/ory-client/models/o_auth2_consent_session.rb +1 -1
- data/lib/ory-client/models/o_auth2_consent_session_expires_at.rb +1 -1
- data/lib/ory-client/models/o_auth2_login_request.rb +1 -1
- data/lib/ory-client/models/o_auth2_logout_request.rb +1 -1
- data/lib/ory-client/models/o_auth2_redirect_to.rb +1 -1
- data/lib/ory-client/models/o_auth2_token_exchange.rb +1 -1
- data/lib/ory-client/models/oidc_configuration.rb +1 -1
- data/lib/ory-client/models/oidc_user_info.rb +1 -1
- data/lib/ory-client/models/pagination.rb +1 -1
- data/lib/ory-client/models/pagination_headers.rb +1 -1
- data/lib/ory-client/models/parse_error.rb +1 -1
- data/lib/ory-client/models/patch_identities_body.rb +1 -1
- data/lib/ory-client/models/perform_native_logout_body.rb +1 -1
- data/lib/ory-client/models/plan.rb +1 -1
- data/lib/ory-client/models/plan_details.rb +1 -1
- data/lib/ory-client/models/post_check_permission_body.rb +1 -1
- data/lib/ory-client/models/post_check_permission_or_error_body.rb +1 -1
- data/lib/ory-client/models/project.rb +1 -1
- data/lib/ory-client/models/project_api_key.rb +1 -1
- data/lib/ory-client/models/project_branding.rb +1 -1
- data/lib/ory-client/models/project_branding_colors.rb +1 -1
- data/lib/ory-client/models/project_branding_theme.rb +22 -2
- data/lib/ory-client/models/project_host.rb +1 -1
- data/lib/ory-client/models/project_metadata.rb +1 -1
- data/lib/ory-client/models/project_service_identity.rb +1 -1
- data/lib/ory-client/models/project_service_o_auth2.rb +1 -1
- data/lib/ory-client/models/project_service_permission.rb +1 -1
- data/lib/ory-client/models/project_services.rb +1 -1
- data/lib/ory-client/models/quota_usage.rb +1 -1
- data/lib/ory-client/models/recovery_code_for_identity.rb +1 -1
- data/lib/ory-client/models/recovery_flow.rb +4 -7
- data/lib/ory-client/models/recovery_flow_state.rb +1 -1
- data/lib/ory-client/models/recovery_identity_address.rb +1 -1
- data/lib/ory-client/models/recovery_link_for_identity.rb +1 -1
- data/lib/ory-client/models/registration_flow.rb +13 -2
- data/lib/ory-client/models/registration_flow_state.rb +38 -0
- data/lib/ory-client/models/reject_o_auth2_request.rb +1 -1
- data/lib/ory-client/models/relation_query.rb +1 -1
- data/lib/ory-client/models/relationship.rb +1 -1
- data/lib/ory-client/models/relationship_namespaces.rb +1 -1
- data/lib/ory-client/models/relationship_patch.rb +1 -1
- data/lib/ory-client/models/relationships.rb +1 -1
- data/lib/ory-client/models/rfc6749_error_json.rb +1 -1
- data/lib/ory-client/models/schema_patch.rb +1 -1
- data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
- data/lib/ory-client/models/session.rb +1 -6
- data/lib/ory-client/models/session_authentication_method.rb +1 -1
- data/lib/ory-client/models/session_device.rb +1 -1
- data/lib/ory-client/models/set_active_project_in_console_body.rb +1 -1
- data/lib/ory-client/models/set_custom_domain_body.rb +1 -1
- data/lib/ory-client/models/set_project.rb +1 -1
- data/lib/ory-client/models/set_project_branding_theme_body.rb +22 -2
- data/lib/ory-client/models/settings_flow.rb +4 -7
- data/lib/ory-client/models/settings_flow_state.rb +1 -1
- data/lib/ory-client/models/source_position.rb +1 -1
- data/lib/ory-client/models/stripe_customer.rb +1 -1
- data/lib/ory-client/models/subject_set.rb +1 -1
- data/lib/ory-client/models/subscription.rb +1 -1
- data/lib/ory-client/models/successful_code_exchange_response.rb +1 -1
- data/lib/ory-client/models/successful_native_login.rb +1 -1
- data/lib/ory-client/models/successful_native_registration.rb +1 -1
- data/lib/ory-client/models/successful_project_update.rb +1 -1
- data/lib/ory-client/models/token_pagination.rb +1 -1
- data/lib/ory-client/models/token_pagination_headers.rb +1 -1
- data/lib/ory-client/models/token_pagination_request_parameters.rb +1 -1
- data/lib/ory-client/models/token_pagination_response_headers.rb +1 -1
- data/lib/ory-client/models/trust_o_auth2_jwt_grant_issuer.rb +1 -1
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +1 -1
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.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/update_identity_body.rb +1 -1
- data/lib/ory-client/models/update_login_flow_body.rb +3 -1
- data/lib/ory-client/models/update_login_flow_with_code_method.rb +271 -0
- data/lib/ory-client/models/update_login_flow_with_lookup_secret_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_oidc_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_password_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_totp_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_web_authn_method.rb +1 -1
- data/lib/ory-client/models/update_recovery_flow_body.rb +1 -1
- data/lib/ory-client/models/update_recovery_flow_with_code_method.rb +1 -1
- data/lib/ory-client/models/update_recovery_flow_with_link_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_body.rb +3 -1
- data/lib/ory-client/models/update_registration_flow_with_code_method.rb +281 -0
- data/lib/ory-client/models/update_registration_flow_with_oidc_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_with_password_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_with_web_authn_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_body.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_lookup_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_oidc_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_password_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_profile_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_totp_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_web_authn_method.rb +1 -1
- data/lib/ory-client/models/update_subscription_body.rb +1 -1
- data/lib/ory-client/models/update_verification_flow_body.rb +1 -1
- data/lib/ory-client/models/update_verification_flow_with_code_method.rb +1 -1
- data/lib/ory-client/models/update_verification_flow_with_link_method.rb +1 -1
- data/lib/ory-client/models/usage.rb +1 -1
- data/lib/ory-client/models/verifiable_credential_priming_response.rb +1 -1
- data/lib/ory-client/models/verifiable_credential_proof.rb +1 -1
- data/lib/ory-client/models/verifiable_credential_response.rb +1 -1
- data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
- data/lib/ory-client/models/verification_flow.rb +4 -7
- data/lib/ory-client/models/verification_flow_state.rb +1 -1
- data/lib/ory-client/models/version.rb +1 -1
- data/lib/ory-client/models/warning.rb +1 -1
- data/lib/ory-client/version.rb +2 -2
- data/lib/ory-client.rb +6 -1
- data/ory-client.gemspec +1 -1
- data/spec/api/courier_api_spec.rb +1 -1
- data/spec/api/frontend_api_spec.rb +1 -1
- data/spec/api/identity_api_spec.rb +4 -4
- data/spec/api/jwk_api_spec.rb +1 -1
- data/spec/api/metadata_api_spec.rb +1 -1
- data/spec/api/o_auth2_api_spec.rb +1 -1
- data/spec/api/oidc_api_spec.rb +1 -1
- data/spec/api/permission_api_spec.rb +1 -1
- data/spec/api/project_api_spec.rb +1 -1
- data/spec/api/relationship_api_spec.rb +1 -1
- data/spec/api/wellknown_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/accept_o_auth2_consent_request_session_spec.rb +1 -1
- data/spec/models/accept_o_auth2_consent_request_spec.rb +1 -1
- data/spec/models/accept_o_auth2_login_request_spec.rb +1 -1
- data/spec/models/active_project_in_console_spec.rb +1 -1
- data/spec/models/authenticator_assurance_level_spec.rb +1 -1
- data/spec/models/batch_patch_identities_response_spec.rb +1 -1
- data/spec/models/check_opl_syntax_result_spec.rb +1 -1
- data/spec/models/check_permission_result_spec.rb +1 -1
- data/spec/models/cloud_account_spec.rb +1 -1
- data/spec/models/continue_with_set_ory_session_token_spec.rb +1 -1
- data/spec/models/continue_with_spec.rb +1 -1
- data/spec/models/continue_with_verification_ui_flow_spec.rb +1 -1
- data/spec/models/continue_with_verification_ui_spec.rb +1 -1
- data/spec/models/cors_spec.rb +1 -1
- data/spec/models/courier_message_status_spec.rb +1 -1
- data/spec/models/courier_message_type_spec.rb +1 -1
- data/spec/models/create_custom_domain_body_spec.rb +1 -1
- data/spec/models/create_identity_body_spec.rb +1 -1
- data/spec/models/create_invite_response_spec.rb +1 -1
- data/spec/models/create_json_web_key_set_spec.rb +1 -1
- data/spec/models/create_project_api_key_request_spec.rb +1 -1
- data/spec/models/create_project_body_spec.rb +1 -1
- data/spec/models/create_project_branding_spec.rb +13 -1
- data/spec/models/create_project_member_invite_body_spec.rb +1 -1
- data/spec/models/create_recovery_code_for_identity_body_spec.rb +1 -1
- data/spec/models/create_recovery_link_for_identity_body_spec.rb +1 -1
- data/spec/models/create_relationship_body_spec.rb +1 -1
- data/spec/models/create_subscription_body_spec.rb +1 -1
- data/spec/models/create_verifiable_credential_request_body_spec.rb +1 -1
- data/spec/models/credential_supported_draft00_spec.rb +1 -1
- data/spec/models/custom_domain_spec.rb +1 -1
- data/spec/models/delete_my_sessions_count_spec.rb +1 -1
- data/spec/models/email_template_data_body_spec.rb +1 -1
- data/spec/models/email_template_data_spec.rb +1 -1
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
- data/spec/models/error_browser_location_change_required_spec.rb +1 -1
- data/spec/models/error_flow_replaced_spec.rb +1 -1
- data/spec/models/error_generic_spec.rb +1 -1
- data/spec/models/error_o_auth2_spec.rb +1 -1
- data/spec/models/expanded_permission_tree_spec.rb +1 -1
- data/spec/models/flow_error_spec.rb +1 -1
- data/spec/models/generic_error_content_spec.rb +1 -1
- data/spec/models/generic_error_spec.rb +1 -1
- data/spec/models/generic_usage_spec.rb +1 -1
- data/spec/models/get_managed_identity_schema_location_spec.rb +1 -1
- data/spec/models/get_project_metrics_response_spec.rb +1 -1
- data/spec/models/get_version200_response_spec.rb +1 -1
- data/spec/models/health_not_ready_status_spec.rb +1 -1
- data/spec/models/health_status_spec.rb +1 -1
- data/spec/models/identity_credentials_code_spec.rb +40 -0
- data/spec/models/identity_credentials_oidc_provider_spec.rb +1 -1
- data/spec/models/identity_credentials_oidc_spec.rb +1 -1
- data/spec/models/identity_credentials_password_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_patch_response_spec.rb +1 -1
- data/spec/models/identity_patch_spec.rb +1 -1
- data/spec/models/identity_schema_container_spec.rb +1 -1
- data/spec/models/identity_schema_preset_spec.rb +1 -1
- data/spec/models/identity_spec.rb +1 -1
- data/spec/models/identity_state_spec.rb +1 -1
- data/spec/models/identity_with_credentials_oidc_config_provider_spec.rb +1 -1
- data/spec/models/identity_with_credentials_oidc_config_spec.rb +1 -1
- data/spec/models/identity_with_credentials_oidc_spec.rb +1 -1
- data/spec/models/identity_with_credentials_password_config_spec.rb +1 -1
- data/spec/models/identity_with_credentials_password_spec.rb +1 -1
- data/spec/models/identity_with_credentials_spec.rb +1 -1
- data/spec/models/internal_get_project_branding_body_spec.rb +1 -1
- data/spec/models/internal_is_ax_welcome_screen_enabled_for_project_body_spec.rb +1 -1
- data/spec/models/internal_is_owner_for_project_by_slug_body_spec.rb +1 -1
- data/spec/models/internal_is_owner_for_project_by_slug_response_spec.rb +1 -1
- data/spec/models/internal_provision_mock_subscription_spec.rb +1 -1
- data/spec/models/introspected_o_auth2_token_spec.rb +1 -1
- data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
- data/spec/models/is_ready200_response_spec.rb +1 -1
- data/spec/models/is_ready503_response_spec.rb +1 -1
- data/spec/models/json_patch_spec.rb +1 -1
- data/spec/models/json_web_key_set_spec.rb +1 -1
- data/spec/models/json_web_key_spec.rb +1 -1
- data/spec/models/keto_namespace_spec.rb +1 -1
- data/spec/models/login_flow_spec.rb +7 -1
- data/spec/models/login_flow_state_spec.rb +28 -0
- data/spec/models/logout_flow_spec.rb +1 -1
- data/spec/models/managed_identity_schema_spec.rb +1 -1
- data/spec/models/managed_identity_schema_validation_result_spec.rb +1 -1
- data/spec/models/member_invite_spec.rb +1 -1
- data/spec/models/message_dispatch_spec.rb +1 -1
- data/spec/models/message_spec.rb +2 -2
- data/spec/models/metrics_datapoint_spec.rb +1 -1
- data/spec/models/namespace_spec.rb +1 -1
- data/spec/models/needs_privileged_session_error_spec.rb +1 -1
- data/spec/models/normalized_project_revision_hook_spec.rb +1 -1
- data/spec/models/normalized_project_revision_identity_schema_spec.rb +1 -1
- data/spec/models/normalized_project_revision_spec.rb +43 -1
- data/spec/models/normalized_project_revision_third_party_provider_spec.rb +1 -1
- data/spec/models/normalized_project_spec.rb +1 -1
- data/spec/models/o_auth2_client_spec.rb +1 -1
- data/spec/models/o_auth2_client_token_lifespans_spec.rb +1 -1
- data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +1 -1
- data/spec/models/o_auth2_consent_request_spec.rb +1 -1
- data/spec/models/o_auth2_consent_session_expires_at_spec.rb +1 -1
- data/spec/models/o_auth2_consent_session_spec.rb +1 -1
- data/spec/models/o_auth2_login_request_spec.rb +1 -1
- data/spec/models/o_auth2_logout_request_spec.rb +1 -1
- data/spec/models/o_auth2_redirect_to_spec.rb +1 -1
- data/spec/models/o_auth2_token_exchange_spec.rb +1 -1
- data/spec/models/oidc_configuration_spec.rb +1 -1
- data/spec/models/oidc_user_info_spec.rb +1 -1
- data/spec/models/pagination_headers_spec.rb +1 -1
- data/spec/models/pagination_spec.rb +1 -1
- data/spec/models/parse_error_spec.rb +1 -1
- data/spec/models/patch_identities_body_spec.rb +1 -1
- data/spec/models/perform_native_logout_body_spec.rb +1 -1
- data/spec/models/plan_details_spec.rb +1 -1
- data/spec/models/plan_spec.rb +1 -1
- data/spec/models/post_check_permission_body_spec.rb +1 -1
- data/spec/models/post_check_permission_or_error_body_spec.rb +1 -1
- data/spec/models/project_api_key_spec.rb +1 -1
- data/spec/models/project_branding_colors_spec.rb +1 -1
- data/spec/models/project_branding_spec.rb +1 -1
- data/spec/models/project_branding_theme_spec.rb +13 -1
- data/spec/models/project_host_spec.rb +1 -1
- data/spec/models/project_metadata_spec.rb +1 -1
- data/spec/models/project_service_identity_spec.rb +1 -1
- data/spec/models/project_service_o_auth2_spec.rb +1 -1
- data/spec/models/project_service_permission_spec.rb +1 -1
- data/spec/models/project_services_spec.rb +1 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/models/quota_usage_spec.rb +1 -1
- data/spec/models/recovery_code_for_identity_spec.rb +1 -1
- data/spec/models/recovery_flow_spec.rb +1 -1
- data/spec/models/recovery_flow_state_spec.rb +1 -1
- data/spec/models/recovery_identity_address_spec.rb +1 -1
- data/spec/models/recovery_link_for_identity_spec.rb +1 -1
- data/spec/models/registration_flow_spec.rb +7 -1
- data/spec/models/registration_flow_state_spec.rb +28 -0
- data/spec/models/reject_o_auth2_request_spec.rb +1 -1
- data/spec/models/relation_query_spec.rb +1 -1
- data/spec/models/relationship_namespaces_spec.rb +1 -1
- data/spec/models/relationship_patch_spec.rb +1 -1
- data/spec/models/relationship_spec.rb +1 -1
- data/spec/models/relationships_spec.rb +1 -1
- data/spec/models/rfc6749_error_json_spec.rb +1 -1
- data/spec/models/schema_patch_spec.rb +1 -1
- data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
- data/spec/models/session_authentication_method_spec.rb +1 -1
- data/spec/models/session_device_spec.rb +1 -1
- data/spec/models/session_spec.rb +1 -1
- data/spec/models/set_active_project_in_console_body_spec.rb +1 -1
- data/spec/models/set_custom_domain_body_spec.rb +1 -1
- data/spec/models/set_project_branding_theme_body_spec.rb +13 -1
- data/spec/models/set_project_spec.rb +1 -1
- data/spec/models/settings_flow_spec.rb +1 -1
- data/spec/models/settings_flow_state_spec.rb +1 -1
- data/spec/models/source_position_spec.rb +1 -1
- data/spec/models/stripe_customer_spec.rb +1 -1
- data/spec/models/subject_set_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +1 -1
- data/spec/models/successful_code_exchange_response_spec.rb +1 -1
- data/spec/models/successful_native_login_spec.rb +1 -1
- data/spec/models/successful_native_registration_spec.rb +1 -1
- data/spec/models/successful_project_update_spec.rb +1 -1
- data/spec/models/token_pagination_headers_spec.rb +1 -1
- data/spec/models/token_pagination_request_parameters_spec.rb +1 -1
- data/spec/models/token_pagination_response_headers_spec.rb +1 -1
- data/spec/models/token_pagination_spec.rb +1 -1
- data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +1 -1
- data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +1 -1
- data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_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/update_identity_body_spec.rb +1 -1
- data/spec/models/update_login_flow_body_spec.rb +1 -1
- data/spec/models/update_login_flow_with_code_method_spec.rb +58 -0
- data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_oidc_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_password_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_totp_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_web_authn_method_spec.rb +1 -1
- data/spec/models/update_recovery_flow_body_spec.rb +1 -1
- data/spec/models/update_recovery_flow_with_code_method_spec.rb +1 -1
- data/spec/models/update_recovery_flow_with_link_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_body_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_code_method_spec.rb +64 -0
- data/spec/models/update_registration_flow_with_oidc_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_password_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_web_authn_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_body_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_lookup_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_oidc_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_password_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_profile_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_totp_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_web_authn_method_spec.rb +1 -1
- data/spec/models/update_subscription_body_spec.rb +1 -1
- data/spec/models/update_verification_flow_body_spec.rb +1 -1
- data/spec/models/update_verification_flow_with_code_method_spec.rb +1 -1
- data/spec/models/update_verification_flow_with_link_method_spec.rb +1 -1
- data/spec/models/usage_spec.rb +1 -1
- data/spec/models/verifiable_credential_priming_response_spec.rb +1 -1
- data/spec/models/verifiable_credential_proof_spec.rb +1 -1
- data/spec/models/verifiable_credential_response_spec.rb +1 -1
- data/spec/models/verifiable_identity_address_spec.rb +1 -1
- data/spec/models/verification_flow_spec.rb +1 -1
- data/spec/models/verification_flow_state_spec.rb +1 -1
- data/spec/models/version_spec.rb +1 -1
- data/spec/models/warning_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/racc-1.7.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.6/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ext/racc/cparse/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.6/ext/stringio/Makefile +2 -2
- metadata +25 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2870479499c9ec2649d297607d07b1c6dc168b0f9000c2353bc6175e09a1b1d4
|
4
|
+
data.tar.gz: 050e817aa4e3a85739578fb05a1d4a053bd5f998e666f21684f401f8d48375ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff6d180ce5ca3f1a540f2676155b88ef6ff2acbffa06614db2309dec637b3e921a920d9a81b41034917dabd5c6e7ed83775af43dd88ad1d9b0854994149bf8ee
|
7
|
+
data.tar.gz: d552f271377f17dbda328a96dedfdda8393c7f2445dfdd505493be79a0d94329206841d68657714716e3d9228eca7efb7e3dfb5e60da0cf90264068ce7a5f6f3
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -8,8 +8,8 @@ with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
|
8
8
|
|
9
9
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
10
10
|
|
11
|
-
- API version: v1.
|
12
|
-
- Package version: v1.
|
11
|
+
- API version: v1.2.0
|
12
|
+
- Package version: v1.2.0
|
13
13
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
14
14
|
|
15
15
|
## Installation
|
@@ -25,16 +25,16 @@ gem build ory-client.gemspec
|
|
25
25
|
Then either install the gem locally:
|
26
26
|
|
27
27
|
```shell
|
28
|
-
gem install ./ory-client-v1.
|
28
|
+
gem install ./ory-client-v1.2.0.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./ory-client-v1.
|
31
|
+
(for development, run `gem install --dev ./ory-client-v1.2.0.gem` to install the development dependencies)
|
32
32
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
34
34
|
|
35
35
|
Finally add this to the Gemfile:
|
36
36
|
|
37
|
-
gem 'ory-client', '~> v1.
|
37
|
+
gem 'ory-client', '~> v1.2.0'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -260,6 +260,7 @@ Class | Method | HTTP request | Description
|
|
260
260
|
- [OryClient::HealthStatus](docs/HealthStatus.md)
|
261
261
|
- [OryClient::Identity](docs/Identity.md)
|
262
262
|
- [OryClient::IdentityCredentials](docs/IdentityCredentials.md)
|
263
|
+
- [OryClient::IdentityCredentialsCode](docs/IdentityCredentialsCode.md)
|
263
264
|
- [OryClient::IdentityCredentialsOidc](docs/IdentityCredentialsOidc.md)
|
264
265
|
- [OryClient::IdentityCredentialsOidcProvider](docs/IdentityCredentialsOidcProvider.md)
|
265
266
|
- [OryClient::IdentityCredentialsPassword](docs/IdentityCredentialsPassword.md)
|
@@ -289,6 +290,7 @@ Class | Method | HTTP request | Description
|
|
289
290
|
- [OryClient::JsonWebKeySet](docs/JsonWebKeySet.md)
|
290
291
|
- [OryClient::KetoNamespace](docs/KetoNamespace.md)
|
291
292
|
- [OryClient::LoginFlow](docs/LoginFlow.md)
|
293
|
+
- [OryClient::LoginFlowState](docs/LoginFlowState.md)
|
292
294
|
- [OryClient::LogoutFlow](docs/LogoutFlow.md)
|
293
295
|
- [OryClient::ManagedIdentitySchema](docs/ManagedIdentitySchema.md)
|
294
296
|
- [OryClient::ManagedIdentitySchemaValidationResult](docs/ManagedIdentitySchemaValidationResult.md)
|
@@ -343,6 +345,7 @@ Class | Method | HTTP request | Description
|
|
343
345
|
- [OryClient::RecoveryIdentityAddress](docs/RecoveryIdentityAddress.md)
|
344
346
|
- [OryClient::RecoveryLinkForIdentity](docs/RecoveryLinkForIdentity.md)
|
345
347
|
- [OryClient::RegistrationFlow](docs/RegistrationFlow.md)
|
348
|
+
- [OryClient::RegistrationFlowState](docs/RegistrationFlowState.md)
|
346
349
|
- [OryClient::RejectOAuth2Request](docs/RejectOAuth2Request.md)
|
347
350
|
- [OryClient::RelationQuery](docs/RelationQuery.md)
|
348
351
|
- [OryClient::Relationship](docs/Relationship.md)
|
@@ -387,6 +390,7 @@ Class | Method | HTTP request | Description
|
|
387
390
|
- [OryClient::UiText](docs/UiText.md)
|
388
391
|
- [OryClient::UpdateIdentityBody](docs/UpdateIdentityBody.md)
|
389
392
|
- [OryClient::UpdateLoginFlowBody](docs/UpdateLoginFlowBody.md)
|
393
|
+
- [OryClient::UpdateLoginFlowWithCodeMethod](docs/UpdateLoginFlowWithCodeMethod.md)
|
390
394
|
- [OryClient::UpdateLoginFlowWithLookupSecretMethod](docs/UpdateLoginFlowWithLookupSecretMethod.md)
|
391
395
|
- [OryClient::UpdateLoginFlowWithOidcMethod](docs/UpdateLoginFlowWithOidcMethod.md)
|
392
396
|
- [OryClient::UpdateLoginFlowWithPasswordMethod](docs/UpdateLoginFlowWithPasswordMethod.md)
|
@@ -396,6 +400,7 @@ Class | Method | HTTP request | Description
|
|
396
400
|
- [OryClient::UpdateRecoveryFlowWithCodeMethod](docs/UpdateRecoveryFlowWithCodeMethod.md)
|
397
401
|
- [OryClient::UpdateRecoveryFlowWithLinkMethod](docs/UpdateRecoveryFlowWithLinkMethod.md)
|
398
402
|
- [OryClient::UpdateRegistrationFlowBody](docs/UpdateRegistrationFlowBody.md)
|
403
|
+
- [OryClient::UpdateRegistrationFlowWithCodeMethod](docs/UpdateRegistrationFlowWithCodeMethod.md)
|
399
404
|
- [OryClient::UpdateRegistrationFlowWithOidcMethod](docs/UpdateRegistrationFlowWithOidcMethod.md)
|
400
405
|
- [OryClient::UpdateRegistrationFlowWithPasswordMethod](docs/UpdateRegistrationFlowWithPasswordMethod.md)
|
401
406
|
- [OryClient::UpdateRegistrationFlowWithWebAuthnMethod](docs/UpdateRegistrationFlowWithWebAuthnMethod.md)
|
@@ -4,6 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **favicon_type** | **String** | | [optional] |
|
8
|
+
| **favicon_url** | **String** | | [optional] |
|
7
9
|
| **logo_type** | **String** | | [optional] |
|
8
10
|
| **logo_url** | **String** | | [optional] |
|
9
11
|
| **name** | **String** | | [optional] |
|
@@ -15,6 +17,8 @@
|
|
15
17
|
require 'ory-client'
|
16
18
|
|
17
19
|
instance = OryClient::CreateProjectBranding.new(
|
20
|
+
favicon_type: null,
|
21
|
+
favicon_url: null,
|
18
22
|
logo_type: null,
|
19
23
|
logo_url: null,
|
20
24
|
name: null,
|
data/docs/FrontendApi.md
CHANGED
@@ -1665,7 +1665,7 @@ require 'ory-client'
|
|
1665
1665
|
|
1666
1666
|
api_instance = OryClient::FrontendApi.new
|
1667
1667
|
flow = 'flow_example' # String | The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`).
|
1668
|
-
update_login_flow_body = OryClient::
|
1668
|
+
update_login_flow_body = OryClient::UpdateLoginFlowWithCodeMethod.new({csrf_token: 'csrf_token_example', method: 'method_example'}) # UpdateLoginFlowBody |
|
1669
1669
|
opts = {
|
1670
1670
|
x_session_token: 'x_session_token_example', # String | The Session Token of the Identity performing the settings flow.
|
1671
1671
|
cookie: 'cookie_example' # String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
|
@@ -1878,7 +1878,7 @@ require 'ory-client'
|
|
1878
1878
|
|
1879
1879
|
api_instance = OryClient::FrontendApi.new
|
1880
1880
|
flow = 'flow_example' # String | The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`).
|
1881
|
-
update_registration_flow_body = OryClient::
|
1881
|
+
update_registration_flow_body = OryClient::UpdateRegistrationFlowWithCodeMethod.new({method: 'method_example', traits: 3.56}) # UpdateRegistrationFlowBody |
|
1882
1882
|
opts = {
|
1883
1883
|
cookie: 'cookie_example' # String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
|
1884
1884
|
}
|
data/docs/IdentityApi.md
CHANGED
@@ -883,7 +883,7 @@ end
|
|
883
883
|
api_instance = OryClient::IdentityApi.new
|
884
884
|
opts = {
|
885
885
|
per_page: 789, # Integer | Items per Page This is the number of items per page.
|
886
|
-
page: 789, # Integer | Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist.
|
886
|
+
page: 789, # Integer | Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header.
|
887
887
|
credentials_identifier: 'credentials_identifier_example' # String | CredentialsIdentifier is the identifier (username, email) of the credentials to look up.
|
888
888
|
}
|
889
889
|
|
@@ -919,7 +919,7 @@ end
|
|
919
919
|
| Name | Type | Description | Notes |
|
920
920
|
| ---- | ---- | ----------- | ----- |
|
921
921
|
| **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
|
922
|
-
| **page** | **Integer** | Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. | [optional]
|
922
|
+
| **page** | **Integer** | Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. | [optional] |
|
923
923
|
| **credentials_identifier** | **String** | CredentialsIdentifier is the identifier (username, email) of the credentials to look up. | [optional] |
|
924
924
|
|
925
925
|
### Return type
|
@@ -953,7 +953,7 @@ require 'ory-client'
|
|
953
953
|
api_instance = OryClient::IdentityApi.new
|
954
954
|
opts = {
|
955
955
|
per_page: 789, # Integer | Items per Page This is the number of items per page.
|
956
|
-
page: 789 # Integer | Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist.
|
956
|
+
page: 789 # Integer | Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header.
|
957
957
|
}
|
958
958
|
|
959
959
|
begin
|
@@ -988,7 +988,7 @@ end
|
|
988
988
|
| Name | Type | Description | Notes |
|
989
989
|
| ---- | ---- | ----------- | ----- |
|
990
990
|
| **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
|
991
|
-
| **page** | **Integer** | Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. | [optional]
|
991
|
+
| **page** | **Integer** | Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. | [optional] |
|
992
992
|
|
993
993
|
### Return type
|
994
994
|
|
@@ -1027,7 +1027,7 @@ api_instance = OryClient::IdentityApi.new
|
|
1027
1027
|
id = 'id_example' # String | ID is the identity's ID.
|
1028
1028
|
opts = {
|
1029
1029
|
per_page: 789, # Integer | Items per Page This is the number of items per page.
|
1030
|
-
page: 789, # Integer | Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist.
|
1030
|
+
page: 789, # Integer | Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header.
|
1031
1031
|
active: true # Boolean | Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.
|
1032
1032
|
}
|
1033
1033
|
|
@@ -1064,7 +1064,7 @@ end
|
|
1064
1064
|
| ---- | ---- | ----------- | ----- |
|
1065
1065
|
| **id** | **String** | ID is the identity's ID. | |
|
1066
1066
|
| **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
|
1067
|
-
| **page** | **Integer** | Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. | [optional]
|
1067
|
+
| **page** | **Integer** | Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. | [optional] |
|
1068
1068
|
| **active** | **Boolean** | Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned. | [optional] |
|
1069
1069
|
|
1070
1070
|
### Return type
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# OryClient::IdentityCredentialsCode
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **address_type** | **String** | | [optional] |
|
8
|
+
| **used_at** | **Time** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'ory-client'
|
14
|
+
|
15
|
+
instance = OryClient::IdentityCredentialsCode.new(
|
16
|
+
address_type: null,
|
17
|
+
used_at: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/LoginFlow.md
CHANGED
@@ -16,6 +16,7 @@
|
|
16
16
|
| **requested_aal** | [**AuthenticatorAssuranceLevel**](AuthenticatorAssuranceLevel.md) | | [optional] |
|
17
17
|
| **return_to** | **String** | ReturnTo contains the requested return_to URL. | [optional] |
|
18
18
|
| **session_token_exchange_code** | **String** | SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the login flow has been completed. This is only set if the client has requested a session token exchange code, and if the flow is of type \"api\", and only on creating the login flow. | [optional] |
|
19
|
+
| **state** | **Object** | State represents the state of this request: choose_method: ask the user to choose a method to sign in with sent_email: the email has been sent to the user passed_challenge: the request was successful and the login challenge was passed. | |
|
19
20
|
| **type** | **String** | The flow type can either be `api` or `browser`. | |
|
20
21
|
| **ui** | [**UiContainer**](UiContainer.md) | | |
|
21
22
|
| **updated_at** | **Time** | UpdatedAt is a helper struct field for gobuffalo.pop. | [optional] |
|
@@ -38,6 +39,7 @@ instance = OryClient::LoginFlow.new(
|
|
38
39
|
requested_aal: null,
|
39
40
|
return_to: null,
|
40
41
|
session_token_exchange_code: null,
|
42
|
+
state: null,
|
41
43
|
type: null,
|
42
44
|
ui: null,
|
43
45
|
updated_at: null
|
data/docs/Message.md
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
| **send_count** | **Integer** | | |
|
13
13
|
| **status** | [**CourierMessageStatus**](CourierMessageStatus.md) | | |
|
14
14
|
| **subject** | **String** | | |
|
15
|
-
| **template_type** | **String** | recovery_invalid TypeRecoveryInvalid recovery_valid TypeRecoveryValid recovery_code_invalid TypeRecoveryCodeInvalid recovery_code_valid TypeRecoveryCodeValid verification_invalid TypeVerificationInvalid verification_valid TypeVerificationValid verification_code_invalid TypeVerificationCodeInvalid verification_code_valid TypeVerificationCodeValid otp TypeOTP stub TypeTestStub | |
|
15
|
+
| **template_type** | **String** | recovery_invalid TypeRecoveryInvalid recovery_valid TypeRecoveryValid recovery_code_invalid TypeRecoveryCodeInvalid recovery_code_valid TypeRecoveryCodeValid verification_invalid TypeVerificationInvalid verification_valid TypeVerificationValid verification_code_invalid TypeVerificationCodeInvalid verification_code_valid TypeVerificationCodeValid otp TypeOTP stub TypeTestStub login_code_valid TypeLoginCodeValid registration_code_valid TypeRegistrationCodeValid | |
|
16
16
|
| **type** | [**CourierMessageType**](CourierMessageType.md) | | |
|
17
17
|
| **updated_at** | **Time** | UpdatedAt is a helper struct field for gobuffalo.pop. | |
|
18
18
|
|
@@ -66,6 +66,9 @@
|
|
66
66
|
| **kratos_courier_smtp_from_name** | **String** | Configures the Ory Kratos SMTP From Name This governs the \"courier.smtp.from_name\" setting. | [optional] |
|
67
67
|
| **kratos_courier_smtp_headers** | **Object** | NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- | [optional] |
|
68
68
|
| **kratos_courier_smtp_local_name** | **String** | Configures the local_name to use in SMTP connections This governs the \"courier.smtp.local_name\" setting. | [optional] |
|
69
|
+
| **kratos_courier_templates_login_code_valid_email_body_html** | **String** | Configures the Ory Kratos Valid Login via Code Email Body HTML Template This governs the \"courier.smtp.templates.login_code.valid.email.body.html\" setting. | [optional] |
|
70
|
+
| **kratos_courier_templates_login_code_valid_email_body_plaintext** | **String** | Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.login_code.valid.email.body.plaintext\" setting. | [optional] |
|
71
|
+
| **kratos_courier_templates_login_code_valid_email_subject** | **String** | Configures the Ory Kratos Valid Login via Code Email Subject Template This governs the \"courier.smtp.templates.login_code.valid.email.subject\" setting. | [optional] |
|
69
72
|
| **kratos_courier_templates_recovery_code_invalid_email_body_html** | **String** | Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. | [optional] |
|
70
73
|
| **kratos_courier_templates_recovery_code_invalid_email_body_plaintext** | **String** | Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting. | [optional] |
|
71
74
|
| **kratos_courier_templates_recovery_code_invalid_email_subject** | **String** | Configures the Ory Kratos Invalid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. | [optional] |
|
@@ -78,6 +81,9 @@
|
|
78
81
|
| **kratos_courier_templates_recovery_valid_email_body_html** | **String** | Configures the Ory Kratos Valid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting. | [optional] |
|
79
82
|
| **kratos_courier_templates_recovery_valid_email_body_plaintext** | **String** | Configures the Ory Kratos Valid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting. | [optional] |
|
80
83
|
| **kratos_courier_templates_recovery_valid_email_subject** | **String** | Configures the Ory Kratos Valid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting. | [optional] |
|
84
|
+
| **kratos_courier_templates_registration_code_valid_email_body_html** | **String** | Configures the Ory Kratos Valid Registration via Code Email Body HTML Template This governs the \"courier.smtp.templates.registration_code.valid.email.body.html\" setting. | [optional] |
|
85
|
+
| **kratos_courier_templates_registration_code_valid_email_body_plaintext** | **String** | Configures the Ory Kratos Valid Registration via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.registration_code.valid.email.body.plaintext\" setting. | [optional] |
|
86
|
+
| **kratos_courier_templates_registration_code_valid_email_subject** | **String** | Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.email.subject\" setting. | [optional] |
|
81
87
|
| **kratos_courier_templates_verification_code_invalid_email_body_html** | **String** | Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template This governs the \"courier.smtp.templates.verification_code.invalid.email.body.html\" setting. | [optional] |
|
82
88
|
| **kratos_courier_templates_verification_code_invalid_email_body_plaintext** | **String** | Configures the Ory Kratos Invalid Verification via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.verification_code.invalid.email.body.plaintext\" setting. | [optional] |
|
83
89
|
| **kratos_courier_templates_verification_code_invalid_email_subject** | **String** | Configures the Ory Kratos Invalid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.invalid.email.subject\" setting. | [optional] |
|
@@ -138,6 +144,7 @@
|
|
138
144
|
| **kratos_selfservice_flows_verification_use** | **String** | Configures the Ory Kratos Strategy to use for Verification This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode | [optional] |
|
139
145
|
| **kratos_selfservice_methods_code_config_lifespan** | **String** | Configures the Ory Kratos Code Method's lifespan This governs the \"selfservice.methods.code.config.lifespan\" setting. | [optional] |
|
140
146
|
| **kratos_selfservice_methods_code_enabled** | **Boolean** | Configures whether Ory Kratos Code Method is enabled This governs the \"selfservice.methods.code.enabled\" setting. | [optional] |
|
147
|
+
| **kratos_selfservice_methods_code_passwordless_enabled** | **Boolean** | Configues whether Ory Kratos Passwordless should use the Code Method This governs the \"selfservice.methods.code.passwordless_enabled\" setting. | [optional] |
|
141
148
|
| **kratos_selfservice_methods_link_config_base_url** | **String** | Configures the Base URL which Recovery, Verification, and Login Links Point to It is recommended to leave this value empty. It will be appropriately configured to the best matching domain (e.g. when using custom domains) automatically. This governs the \"selfservice.methods.link.config.base_url\" setting. | [optional] |
|
142
149
|
| **kratos_selfservice_methods_link_config_lifespan** | **String** | Configures the Ory Kratos Link Method's lifespan This governs the \"selfservice.methods.link.config.lifespan\" setting. | [optional] |
|
143
150
|
| **kratos_selfservice_methods_link_enabled** | **Boolean** | Configures whether Ory Kratos Link Method is enabled This governs the \"selfservice.methods.link.enabled\" setting. | [optional] |
|
@@ -241,6 +248,9 @@ instance = OryClient::NormalizedProjectRevision.new(
|
|
241
248
|
kratos_courier_smtp_from_name: null,
|
242
249
|
kratos_courier_smtp_headers: null,
|
243
250
|
kratos_courier_smtp_local_name: null,
|
251
|
+
kratos_courier_templates_login_code_valid_email_body_html: null,
|
252
|
+
kratos_courier_templates_login_code_valid_email_body_plaintext: null,
|
253
|
+
kratos_courier_templates_login_code_valid_email_subject: null,
|
244
254
|
kratos_courier_templates_recovery_code_invalid_email_body_html: null,
|
245
255
|
kratos_courier_templates_recovery_code_invalid_email_body_plaintext: null,
|
246
256
|
kratos_courier_templates_recovery_code_invalid_email_subject: null,
|
@@ -253,6 +263,9 @@ instance = OryClient::NormalizedProjectRevision.new(
|
|
253
263
|
kratos_courier_templates_recovery_valid_email_body_html: null,
|
254
264
|
kratos_courier_templates_recovery_valid_email_body_plaintext: null,
|
255
265
|
kratos_courier_templates_recovery_valid_email_subject: null,
|
266
|
+
kratos_courier_templates_registration_code_valid_email_body_html: null,
|
267
|
+
kratos_courier_templates_registration_code_valid_email_body_plaintext: null,
|
268
|
+
kratos_courier_templates_registration_code_valid_email_subject: null,
|
256
269
|
kratos_courier_templates_verification_code_invalid_email_body_html: null,
|
257
270
|
kratos_courier_templates_verification_code_invalid_email_body_plaintext: null,
|
258
271
|
kratos_courier_templates_verification_code_invalid_email_subject: null,
|
@@ -313,6 +326,7 @@ instance = OryClient::NormalizedProjectRevision.new(
|
|
313
326
|
kratos_selfservice_flows_verification_use: null,
|
314
327
|
kratos_selfservice_methods_code_config_lifespan: null,
|
315
328
|
kratos_selfservice_methods_code_enabled: null,
|
329
|
+
kratos_selfservice_methods_code_passwordless_enabled: null,
|
316
330
|
kratos_selfservice_methods_link_config_base_url: null,
|
317
331
|
kratos_selfservice_methods_link_config_lifespan: null,
|
318
332
|
kratos_selfservice_methods_link_enabled: null,
|
@@ -18,6 +18,8 @@
|
|
18
18
|
| **error_emphasis_color** | **String** | ErrorEmphasisColor is a hex color code used by the Ory Account Experience theme. | [optional] |
|
19
19
|
| **error_muted_color** | **String** | ErrorMutedColor is a hex color code used by the Ory Account Experience theme. | [optional] |
|
20
20
|
| **error_subtle_color** | **String** | ErrorSubtleColor is a hex color code used by the Ory Account Experience theme. | [optional] |
|
21
|
+
| **favicon_type** | **String** | Favicon Type The Favicon mime type. | [optional] |
|
22
|
+
| **favicon_url** | **String** | Favicon URL Favicon can be an https:// or base64:// URL. If the URL is not allowed, the favicon will be stored inside the Ory Network storage bucket. | [optional] |
|
21
23
|
| **foreground_default_color** | **String** | ForegroundDefaultColor is a hex color code used by the Ory Account Experience theme. | [optional] |
|
22
24
|
| **foreground_disabled_color** | **String** | ForegroundDisabledColor is a hex color code used by the Ory Account Experience theme. | [optional] |
|
23
25
|
| **foreground_muted_color** | **String** | ForegroundMutedColor is a hex color code used by the Ory Account Experience theme. | [optional] |
|
@@ -61,6 +63,8 @@ instance = OryClient::ProjectBrandingTheme.new(
|
|
61
63
|
error_emphasis_color: null,
|
62
64
|
error_muted_color: null,
|
63
65
|
error_subtle_color: null,
|
66
|
+
favicon_type: null,
|
67
|
+
favicon_url: null,
|
64
68
|
foreground_default_color: null,
|
65
69
|
foreground_disabled_color: null,
|
66
70
|
foreground_muted_color: null,
|
data/docs/RecoveryFlow.md
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
| **issued_at** | **Time** | IssuedAt is the time (UTC) when the request occurred. | |
|
11
11
|
| **request_url** | **String** | RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. | |
|
12
12
|
| **return_to** | **String** | ReturnTo contains the requested return_to URL. | [optional] |
|
13
|
-
| **state** |
|
13
|
+
| **state** | **Object** | State represents the state of this request: choose_method: ask the user to choose a method (e.g. recover account via email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed. | |
|
14
14
|
| **type** | **String** | The flow type can either be `api` or `browser`. | |
|
15
15
|
| **ui** | [**UiContainer**](UiContainer.md) | | |
|
16
16
|
|
data/docs/RegistrationFlow.md
CHANGED
@@ -13,6 +13,7 @@
|
|
13
13
|
| **request_url** | **String** | RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. | |
|
14
14
|
| **return_to** | **String** | ReturnTo contains the requested return_to URL. | [optional] |
|
15
15
|
| **session_token_exchange_code** | **String** | SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the flow has been completed. This is only set if the client has requested a session token exchange code, and if the flow is of type \"api\", and only on creating the flow. | [optional] |
|
16
|
+
| **state** | **Object** | State represents the state of this request: choose_method: ask the user to choose a method (e.g. registration with email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the registration challenge was passed. | |
|
16
17
|
| **transient_payload** | **Object** | TransientPayload is used to pass data from the registration to a webhook | [optional] |
|
17
18
|
| **type** | **String** | The flow type can either be `api` or `browser`. | |
|
18
19
|
| **ui** | [**UiContainer**](UiContainer.md) | | |
|
@@ -32,6 +33,7 @@ instance = OryClient::RegistrationFlow.new(
|
|
32
33
|
request_url: null,
|
33
34
|
return_to: null,
|
34
35
|
session_token_exchange_code: null,
|
36
|
+
state: null,
|
35
37
|
transient_payload: null,
|
36
38
|
type: null,
|
37
39
|
ui: null
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# OryClient::RegistrationFlowState
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'ory-client'
|
12
|
+
|
13
|
+
instance = OryClient::RegistrationFlowState.new()
|
14
|
+
```
|
15
|
+
|
data/docs/Session.md
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
| **devices** | [**Array<SessionDevice>**](SessionDevice.md) | Devices has history of all endpoints where the session was used | [optional] |
|
12
12
|
| **expires_at** | **Time** | The Session Expiry When this session expires at. | [optional] |
|
13
13
|
| **id** | **String** | Session ID | |
|
14
|
-
| **identity** | [**Identity**](Identity.md) | |
|
14
|
+
| **identity** | [**Identity**](Identity.md) | | [optional] |
|
15
15
|
| **issued_at** | **Time** | The Session Issuance Timestamp When this session was issued at. Usually equal or close to `authenticated_at`. | [optional] |
|
16
16
|
|
17
17
|
## Example
|
@@ -4,6 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **favicon_type** | **String** | Favicon Type | [optional] |
|
8
|
+
| **favicon_url** | **String** | Favicon URL | [optional] |
|
7
9
|
| **logo_type** | **String** | Logo type | [optional] |
|
8
10
|
| **logo_url** | **String** | Logo URL | [optional] |
|
9
11
|
| **name** | **String** | Branding name | [optional] |
|
@@ -15,6 +17,8 @@
|
|
15
17
|
require 'ory-client'
|
16
18
|
|
17
19
|
instance = OryClient::SetProjectBrandingThemeBody.new(
|
20
|
+
favicon_type: null,
|
21
|
+
favicon_url: null,
|
18
22
|
logo_type: null,
|
19
23
|
logo_url: null,
|
20
24
|
name: null,
|
data/docs/SettingsFlow.md
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
| **issued_at** | **Time** | IssuedAt is the time (UTC) when the flow occurred. | |
|
13
13
|
| **request_url** | **String** | RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. | |
|
14
14
|
| **return_to** | **String** | ReturnTo contains the requested return_to URL. | [optional] |
|
15
|
-
| **state** |
|
15
|
+
| **state** | **Object** | State represents the state of this flow. It knows two states: show_form: No user data has been collected, or it is invalid, and thus the form should be shown. success: Indicates that the settings flow has been updated successfully with the provided data. Done will stay true when repeatedly checking. If set to true, done will revert back to false only when a flow with invalid (e.g. \"please use a valid phone number\") data was sent. | |
|
16
16
|
| **type** | **String** | The flow type can either be `api` or `browser`. | |
|
17
17
|
| **ui** | [**UiContainer**](UiContainer.md) | | |
|
18
18
|
|
data/docs/UpdateLoginFlowBody.md
CHANGED
@@ -14,6 +14,7 @@ require 'ory-client'
|
|
14
14
|
OryClient::UpdateLoginFlowBody.openapi_one_of
|
15
15
|
# =>
|
16
16
|
# [
|
17
|
+
# :'UpdateLoginFlowWithCodeMethod',
|
17
18
|
# :'UpdateLoginFlowWithLookupSecretMethod',
|
18
19
|
# :'UpdateLoginFlowWithOidcMethod',
|
19
20
|
# :'UpdateLoginFlowWithPasswordMethod',
|
@@ -47,6 +48,7 @@ require 'ory-client'
|
|
47
48
|
OryClient::UpdateLoginFlowBody.openapi_discriminator_mapping
|
48
49
|
# =>
|
49
50
|
# {
|
51
|
+
# :'code' => :'UpdateLoginFlowWithCodeMethod',
|
50
52
|
# :'lookup_secret' => :'UpdateLoginFlowWithLookupSecretMethod',
|
51
53
|
# :'oidc' => :'UpdateLoginFlowWithOidcMethod',
|
52
54
|
# :'password' => :'UpdateLoginFlowWithPasswordMethod',
|
@@ -64,7 +66,7 @@ Find the appropriate object from the `openapi_one_of` list and casts the data in
|
|
64
66
|
require 'ory-client'
|
65
67
|
|
66
68
|
OryClient::UpdateLoginFlowBody.build(data)
|
67
|
-
# => #<
|
69
|
+
# => #<UpdateLoginFlowWithCodeMethod:0x00007fdd4aab02a0>
|
68
70
|
|
69
71
|
OryClient::UpdateLoginFlowBody.build(data_that_doesnt_match)
|
70
72
|
# => nil
|
@@ -78,6 +80,7 @@ OryClient::UpdateLoginFlowBody.build(data_that_doesnt_match)
|
|
78
80
|
|
79
81
|
#### Return type
|
80
82
|
|
83
|
+
- `UpdateLoginFlowWithCodeMethod`
|
81
84
|
- `UpdateLoginFlowWithLookupSecretMethod`
|
82
85
|
- `UpdateLoginFlowWithOidcMethod`
|
83
86
|
- `UpdateLoginFlowWithPasswordMethod`
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# OryClient::UpdateLoginFlowWithCodeMethod
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **code** | **String** | Code is the 6 digits code sent to the user | [optional] |
|
8
|
+
| **csrf_token** | **String** | CSRFToken is the anti-CSRF token | |
|
9
|
+
| **identifier** | **String** | Identifier is the code identifier The identifier requires that the user has already completed the registration or settings with code flow. | [optional] |
|
10
|
+
| **method** | **String** | Method should be set to \"code\" when logging in using the code strategy. | |
|
11
|
+
| **resend** | **String** | Resend is set when the user wants to resend the code | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'ory-client'
|
17
|
+
|
18
|
+
instance = OryClient::UpdateLoginFlowWithCodeMethod.new(
|
19
|
+
code: null,
|
20
|
+
csrf_token: null,
|
21
|
+
identifier: null,
|
22
|
+
method: null,
|
23
|
+
resend: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -14,6 +14,7 @@ require 'ory-client'
|
|
14
14
|
OryClient::UpdateRegistrationFlowBody.openapi_one_of
|
15
15
|
# =>
|
16
16
|
# [
|
17
|
+
# :'UpdateRegistrationFlowWithCodeMethod',
|
17
18
|
# :'UpdateRegistrationFlowWithOidcMethod',
|
18
19
|
# :'UpdateRegistrationFlowWithPasswordMethod',
|
19
20
|
# :'UpdateRegistrationFlowWithWebAuthnMethod'
|
@@ -45,6 +46,7 @@ require 'ory-client'
|
|
45
46
|
OryClient::UpdateRegistrationFlowBody.openapi_discriminator_mapping
|
46
47
|
# =>
|
47
48
|
# {
|
49
|
+
# :'code' => :'UpdateRegistrationFlowWithCodeMethod',
|
48
50
|
# :'oidc' => :'UpdateRegistrationFlowWithOidcMethod',
|
49
51
|
# :'password' => :'UpdateRegistrationFlowWithPasswordMethod',
|
50
52
|
# :'webauthn' => :'UpdateRegistrationFlowWithWebAuthnMethod'
|
@@ -60,7 +62,7 @@ Find the appropriate object from the `openapi_one_of` list and casts the data in
|
|
60
62
|
require 'ory-client'
|
61
63
|
|
62
64
|
OryClient::UpdateRegistrationFlowBody.build(data)
|
63
|
-
# => #<
|
65
|
+
# => #<UpdateRegistrationFlowWithCodeMethod:0x00007fdd4aab02a0>
|
64
66
|
|
65
67
|
OryClient::UpdateRegistrationFlowBody.build(data_that_doesnt_match)
|
66
68
|
# => nil
|
@@ -74,6 +76,7 @@ OryClient::UpdateRegistrationFlowBody.build(data_that_doesnt_match)
|
|
74
76
|
|
75
77
|
#### Return type
|
76
78
|
|
79
|
+
- `UpdateRegistrationFlowWithCodeMethod`
|
77
80
|
- `UpdateRegistrationFlowWithOidcMethod`
|
78
81
|
- `UpdateRegistrationFlowWithPasswordMethod`
|
79
82
|
- `UpdateRegistrationFlowWithWebAuthnMethod`
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# OryClient::UpdateRegistrationFlowWithCodeMethod
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **code** | **String** | The OTP Code sent to the user | [optional] |
|
8
|
+
| **csrf_token** | **String** | The CSRF Token | [optional] |
|
9
|
+
| **method** | **String** | Method to use This field must be set to `code` when using the code method. | |
|
10
|
+
| **resend** | **String** | Resend restarts the flow with a new code | [optional] |
|
11
|
+
| **traits** | **Object** | The identity's traits | |
|
12
|
+
| **transient_payload** | **Object** | Transient data to pass along to any webhooks | [optional] |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'ory-client'
|
18
|
+
|
19
|
+
instance = OryClient::UpdateRegistrationFlowWithCodeMethod.new(
|
20
|
+
code: null,
|
21
|
+
csrf_token: null,
|
22
|
+
method: null,
|
23
|
+
resend: null,
|
24
|
+
traits: null,
|
25
|
+
transient_payload: null
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
data/docs/VerificationFlow.md
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
| **issued_at** | **Time** | IssuedAt is the time (UTC) when the request occurred. | [optional] |
|
11
11
|
| **request_url** | **String** | RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. | [optional] |
|
12
12
|
| **return_to** | **String** | ReturnTo contains the requested return_to URL. | [optional] |
|
13
|
-
| **state** |
|
13
|
+
| **state** | **Object** | State represents the state of this request: choose_method: ask the user to choose a method (e.g. verify your email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the verification challenge was passed. | |
|
14
14
|
| **type** | **String** | The flow type can either be `api` or `browser`. | |
|
15
15
|
| **ui** | [**UiContainer**](UiContainer.md) | | |
|
16
16
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.2.0
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.1
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.2.0
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.1
|