From c60e1cd3efbe18484c70223d3eccc0d4132dc078 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Wed, 17 Jul 2024 13:52:09 +0000 Subject: [PATCH] chore: regenerate OpenAPI client v1.2.1 --- clients/kratos/dart/.openapi-generator/FILES | 12 + .../kratos/dart/.openapi-generator/VERSION | 2 +- clients/kratos/dart/README.md | 13 +- clients/kratos/dart/analysis_options.yaml | 4 +- clients/kratos/dart/doc/CourierApi.md | 4 +- .../doc/CreateRecoveryCodeForIdentityBody.md | 1 + clients/kratos/dart/doc/FrontendApi.md | 66 +- clients/kratos/dart/doc/IdentityApi.md | 52 +- .../kratos/dart/doc/IdentityCredentials.md | 2 +- clients/kratos/dart/doc/LoginFlow.md | 3 +- clients/kratos/dart/doc/MetadataApi.md | 6 +- clients/kratos/dart/doc/RecoveryFlow.md | 1 + clients/kratos/dart/doc/RegistrationFlow.md | 2 +- clients/kratos/dart/doc/SettingsFlow.md | 1 + .../kratos/dart/doc/SuccessfulNativeLogin.md | 1 + clients/kratos/dart/doc/UiNode.md | 2 +- .../kratos/dart/doc/UiNodeAnchorAttributes.md | 2 +- clients/kratos/dart/doc/UiNodeAttributes.md | 3 +- .../kratos/dart/doc/UiNodeImageAttributes.md | 2 +- .../kratos/dart/doc/UiNodeInputAttributes.md | 3 +- .../kratos/dart/doc/UiNodeScriptAttributes.md | 2 +- .../kratos/dart/doc/UiNodeTextAttributes.md | 2 +- .../kratos/dart/doc/UpdateLoginFlowBody.md | 6 +- .../dart/doc/UpdateLoginFlowWithCodeMethod.md | 1 + .../dart/doc/UpdateLoginFlowWithOidcMethod.md | 1 + .../doc/UpdateLoginFlowWithPasskeyMethod.md | 17 + .../doc/UpdateLoginFlowWithPasswordMethod.md | 1 + .../dart/doc/UpdateLoginFlowWithTotpMethod.md | 1 + .../doc/UpdateLoginFlowWithWebAuthnMethod.md | 1 + .../kratos/dart/doc/UpdateRecoveryFlowBody.md | 1 + .../doc/UpdateRecoveryFlowWithCodeMethod.md | 1 + .../doc/UpdateRecoveryFlowWithLinkMethod.md | 1 + .../dart/doc/UpdateRegistrationFlowBody.md | 5 +- ...UpdateRegistrationFlowWithPasskeyMethod.md | 19 + ...UpdateRegistrationFlowWithProfileMethod.md | 19 + .../kratos/dart/doc/UpdateSettingsFlowBody.md | 5 +- .../doc/UpdateSettingsFlowWithLookupMethod.md | 1 + .../doc/UpdateSettingsFlowWithOidcMethod.md | 1 + .../UpdateSettingsFlowWithPasskeyMethod.md | 18 + .../UpdateSettingsFlowWithPasswordMethod.md | 1 + .../UpdateSettingsFlowWithProfileMethod.md | 1 + .../doc/UpdateSettingsFlowWithTotpMethod.md | 1 + .../UpdateSettingsFlowWithWebAuthnMethod.md | 1 + .../dart/doc/UpdateVerificationFlowBody.md | 1 + .../UpdateVerificationFlowWithCodeMethod.md | 1 + .../UpdateVerificationFlowWithLinkMethod.md | 1 + clients/kratos/dart/doc/VerificationFlow.md | 1 + .../kratos/dart/lib/ory_kratos_client.dart | 4 + .../kratos/dart/lib/src/api/courier_api.dart | 14 +- .../kratos/dart/lib/src/api/frontend_api.dart | 197 +- .../kratos/dart/lib/src/api/identity_api.dart | 147 +- .../kratos/dart/lib/src/api/metadata_api.dart | 18 +- .../kratos/dart/lib/src/auth/basic_auth.dart | 2 +- .../kratos/dart/lib/src/auth/bearer_auth.dart | 2 +- ...reate_recovery_code_for_identity_body.dart | 19 + ...ate_recovery_code_for_identity_body.g.dart | 13 +- .../lib/src/model/identity_credentials.dart | 28 +- .../lib/src/model/identity_credentials.g.dart | 14 + .../kratos/dart/lib/src/model/login_flow.dart | 47 +- .../dart/lib/src/model/login_flow.g.dart | 27 + .../dart/lib/src/model/recovery_flow.dart | 19 + .../dart/lib/src/model/recovery_flow.g.dart | 13 + .../dart/lib/src/model/registration_flow.dart | 28 +- .../lib/src/model/registration_flow.g.dart | 14 + .../dart/lib/src/model/settings_flow.dart | 19 + .../dart/lib/src/model/settings_flow.g.dart | 13 + .../src/model/successful_native_login.dart | 21 + .../src/model/successful_native_login.g.dart | 21 +- .../kratos/dart/lib/src/model/ui_node.dart | 27 +- .../kratos/dart/lib/src/model/ui_node.g.dart | 7 + .../src/model/ui_node_anchor_attributes.dart | 40 +- .../model/ui_node_anchor_attributes.g.dart | 93 +- .../lib/src/model/ui_node_attributes.dart | 29 +- .../lib/src/model/ui_node_attributes.g.dart | 77 + .../src/model/ui_node_image_attributes.dart | 40 +- .../src/model/ui_node_image_attributes.g.dart | 92 +- .../src/model/ui_node_input_attributes.dart | 58 +- .../src/model/ui_node_input_attributes.g.dart | 103 +- .../src/model/ui_node_script_attributes.dart | 40 +- .../model/ui_node_script_attributes.g.dart | 93 +- .../src/model/ui_node_text_attributes.dart | 40 +- .../src/model/ui_node_text_attributes.g.dart | 90 +- .../lib/src/model/update_login_flow_body.dart | 25 +- .../update_login_flow_with_code_method.dart | 20 + .../update_login_flow_with_code_method.g.dart | 21 +- .../update_login_flow_with_oidc_method.dart | 19 + .../update_login_flow_with_oidc_method.g.dart | 13 + ...update_login_flow_with_passkey_method.dart | 145 + ...date_login_flow_with_passkey_method.g.dart | 126 + ...pdate_login_flow_with_password_method.dart | 20 + ...ate_login_flow_with_password_method.g.dart | 21 +- .../update_login_flow_with_totp_method.dart | 20 + .../update_login_flow_with_totp_method.g.dart | 23 +- ...date_login_flow_with_web_authn_method.dart | 20 + ...te_login_flow_with_web_authn_method.g.dart | 13 + .../src/model/update_recovery_flow_body.dart | 2 + ...update_recovery_flow_with_code_method.dart | 20 + ...date_recovery_flow_with_code_method.g.dart | 24 +- ...update_recovery_flow_with_link_method.dart | 20 + ...date_recovery_flow_with_link_method.g.dart | 23 +- .../model/update_registration_flow_body.dart | 24 +- ...registration_flow_with_passkey_method.dart | 182 + ...gistration_flow_with_passkey_method.g.dart | 162 + ...registration_flow_with_profile_method.dart | 182 + ...gistration_flow_with_profile_method.g.dart | 161 + .../src/model/update_settings_flow_body.dart | 24 +- ...date_settings_flow_with_lookup_method.dart | 20 + ...te_settings_flow_with_lookup_method.g.dart | 21 +- ...update_settings_flow_with_oidc_method.dart | 19 + ...date_settings_flow_with_oidc_method.g.dart | 13 + ...ate_settings_flow_with_passkey_method.dart | 164 + ...e_settings_flow_with_passkey_method.g.dart | 145 + ...te_settings_flow_with_password_method.dart | 20 + ..._settings_flow_with_password_method.g.dart | 23 +- ...ate_settings_flow_with_profile_method.dart | 19 + ...e_settings_flow_with_profile_method.g.dart | 23 +- ...update_settings_flow_with_totp_method.dart | 20 + ...date_settings_flow_with_totp_method.g.dart | 24 +- ...e_settings_flow_with_web_authn_method.dart | 20 + ...settings_flow_with_web_authn_method.g.dart | 13 + .../model/update_verification_flow_body.dart | 2 + ...te_verification_flow_with_code_method.dart | 20 + ..._verification_flow_with_code_method.g.dart | 24 +- ...te_verification_flow_with_link_method.dart | 20 + ..._verification_flow_with_link_method.g.dart | 23 +- .../dart/lib/src/model/verification_flow.dart | 19 + .../lib/src/model/verification_flow.g.dart | 13 + clients/kratos/dart/lib/src/serializers.dart | 8 + .../kratos/dart/lib/src/serializers.g.dart | 12 + clients/kratos/dart/pubspec.yaml | 6 +- ..._recovery_code_for_identity_body_test.dart | 6 + .../kratos/dart/test/frontend_api_test.dart | 2 +- .../kratos/dart/test/identity_api_test.dart | 6 +- .../dart/test/identity_credentials_test.dart | 2 +- clients/kratos/dart/test/login_flow_test.dart | 8 +- .../kratos/dart/test/recovery_flow_test.dart | 6 + .../dart/test/registration_flow_test.dart | 2 +- .../kratos/dart/test/settings_flow_test.dart | 6 + .../test/successful_native_login_test.dart | 6 + .../test/ui_node_anchor_attributes_test.dart | 2 +- .../dart/test/ui_node_attributes_test.dart | 8 +- .../test/ui_node_image_attributes_test.dart | 2 +- .../test/ui_node_input_attributes_test.dart | 8 +- .../test/ui_node_script_attributes_test.dart | 2 +- clients/kratos/dart/test/ui_node_test.dart | 2 +- .../test/ui_node_text_attributes_test.dart | 2 +- .../test/update_login_flow_body_test.dart | 16 +- ...date_login_flow_with_code_method_test.dart | 6 + ...date_login_flow_with_oidc_method_test.dart | 6 + ...e_login_flow_with_passkey_method_test.dart | 29 + ..._login_flow_with_password_method_test.dart | 6 + ...date_login_flow_with_totp_method_test.dart | 6 + ...login_flow_with_web_authn_method_test.dart | 6 + .../test/update_recovery_flow_body_test.dart | 6 + ...e_recovery_flow_with_code_method_test.dart | 6 + ...e_recovery_flow_with_link_method_test.dart | 6 + .../update_registration_flow_body_test.dart | 10 +- ...tration_flow_with_passkey_method_test.dart | 41 + ...tration_flow_with_profile_method_test.dart | 41 + .../test/update_settings_flow_body_test.dart | 20 +- ...settings_flow_with_lookup_method_test.dart | 6 + ...e_settings_flow_with_oidc_method_test.dart | 6 + ...ettings_flow_with_passkey_method_test.dart | 35 + ...ttings_flow_with_password_method_test.dart | 6 + ...ettings_flow_with_profile_method_test.dart | 6 + ...e_settings_flow_with_totp_method_test.dart | 6 + ...tings_flow_with_web_authn_method_test.dart | 6 + .../update_verification_flow_body_test.dart | 6 + ...rification_flow_with_code_method_test.dart | 6 + ...rification_flow_with_link_method_test.dart | 6 + .../dart/test/verification_flow_test.dart | 6 + .../kratos/dotnet/.openapi-generator/FILES | 31 +- .../kratos/dotnet/.openapi-generator/VERSION | 2 +- clients/kratos/dotnet/Ory.Kratos.Client.sln | 10 +- clients/kratos/dotnet/README.md | 43 +- clients/kratos/dotnet/api/openapi.yaml | 9014 +++++++++++ clients/kratos/dotnet/docs/CourierApi.md | 87 +- clients/kratos/dotnet/docs/FrontendApi.md | 1251 +- clients/kratos/dotnet/docs/IdentityApi.md | 727 +- ...KratosCreateRecoveryCodeForIdentityBody.md | 1 + ...2001.md => KratosGetVersion200Response.md} | 4 +- .../dotnet/docs/KratosIdentityCredentials.md | 4 +- ...onse200.md => KratosIsAlive200Response.md} | 2 +- ...onse503.md => KratosIsReady503Response.md} | 2 +- clients/kratos/dotnet/docs/KratosLoginFlow.md | 5 +- clients/kratos/dotnet/docs/KratosMessage.md | 4 +- .../dotnet/docs/KratosOAuth2LoginRequest.md | 2 +- .../kratos/dotnet/docs/KratosRecoveryFlow.md | 1 + .../dotnet/docs/KratosRegistrationFlow.md | 2 +- clients/kratos/dotnet/docs/KratosSession.md | 2 +- .../docs/KratosSessionAuthenticationMethod.md | 2 +- .../kratos/dotnet/docs/KratosSettingsFlow.md | 1 + .../docs/KratosSuccessfulNativeLogin.md | 1 + clients/kratos/dotnet/docs/KratosUiNode.md | 2 +- .../docs/KratosUiNodeAnchorAttributes.md | 2 +- .../dotnet/docs/KratosUiNodeAttributes.md | 3 +- .../docs/KratosUiNodeImageAttributes.md | 2 +- .../docs/KratosUiNodeInputAttributes.md | 3 +- .../docs/KratosUiNodeScriptAttributes.md | 2 +- .../dotnet/docs/KratosUiNodeTextAttributes.md | 2 +- .../dotnet/docs/KratosUpdateLoginFlowBody.md | 6 +- .../KratosUpdateLoginFlowWithCodeMethod.md | 1 + .../KratosUpdateLoginFlowWithOidcMethod.md | 1 + .../KratosUpdateLoginFlowWithPasskeyMethod.md | 13 + ...KratosUpdateLoginFlowWithPasswordMethod.md | 1 + .../KratosUpdateLoginFlowWithTotpMethod.md | 1 + ...KratosUpdateLoginFlowWithWebAuthnMethod.md | 1 + .../docs/KratosUpdateRecoveryFlowBody.md | 1 + .../KratosUpdateRecoveryFlowWithCodeMethod.md | 1 + .../KratosUpdateRecoveryFlowWithLinkMethod.md | 1 + .../docs/KratosUpdateRegistrationFlowBody.md | 5 +- ...UpdateRegistrationFlowWithPasskeyMethod.md | 15 + ...UpdateRegistrationFlowWithProfileMethod.md | 15 + .../docs/KratosUpdateSettingsFlowBody.md | 5 +- ...ratosUpdateSettingsFlowWithLookupMethod.md | 1 + .../KratosUpdateSettingsFlowWithOidcMethod.md | 1 + ...atosUpdateSettingsFlowWithPasskeyMethod.md | 14 + ...tosUpdateSettingsFlowWithPasswordMethod.md | 1 + ...atosUpdateSettingsFlowWithProfileMethod.md | 1 + .../KratosUpdateSettingsFlowWithTotpMethod.md | 1 + ...tosUpdateSettingsFlowWithWebAuthnMethod.md | 1 + .../docs/KratosUpdateVerificationFlowBody.md | 1 + ...tosUpdateVerificationFlowWithCodeMethod.md | 1 + ...tosUpdateVerificationFlowWithLinkMethod.md | 1 + .../dotnet/docs/KratosVerificationFlow.md | 1 + clients/kratos/dotnet/docs/KratosVersion.md | 2 +- clients/kratos/dotnet/docs/MetadataApi.md | 110 +- .../Api/CourierApiTests.cs | 6 +- .../Api/FrontendApiTests.cs | 103 +- .../Api/IdentityApiTests.cs | 41 +- .../Api/MetadataApiTests.cs | 8 +- .../KratosAuthenticatorAssuranceLevelTests.cs | 7 +- ...KratosBatchPatchIdentitiesResponseTests.cs | 6 +- ...KratosConsistencyRequestParametersTests.cs | 6 +- .../KratosContinueWithRecoveryUiFlowTests.cs | 7 +- .../KratosContinueWithRecoveryUiTests.cs | 7 +- ...atosContinueWithSetOrySessionTokenTests.cs | 7 +- .../KratosContinueWithSettingsUiFlowTests.cs | 6 +- .../KratosContinueWithSettingsUiTests.cs | 7 +- .../Model/KratosContinueWithTests.cs | 8 +- ...atosContinueWithVerificationUiFlowTests.cs | 8 +- .../KratosContinueWithVerificationUiTests.cs | 7 +- .../Model/KratosCourierMessageStatusTests.cs | 7 +- .../Model/KratosCourierMessageTypeTests.cs | 7 +- .../Model/KratosCreateIdentityBodyTests.cs | 13 +- ...sCreateRecoveryCodeForIdentityBodyTests.cs | 16 +- ...sCreateRecoveryLinkForIdentityBodyTests.cs | 7 +- .../Model/KratosDeleteMySessionsCountTests.cs | 6 +- ...nticatorAssuranceLevelNotSatisfiedTests.cs | 7 +- ...ErrorBrowserLocationChangeRequiredTests.cs | 7 +- .../Model/KratosErrorFlowReplacedTests.cs | 7 +- .../Model/KratosErrorGenericTests.cs | 6 +- .../Model/KratosFlowErrorTests.cs | 9 +- .../Model/KratosGenericErrorTests.cs | 13 +- ...cs => KratosGetVersion200ResponseTests.cs} | 34 +- .../Model/KratosHealthNotReadyStatusTests.cs | 6 +- .../Model/KratosHealthStatusTests.cs | 6 +- .../KratosIdentityCredentialsCodeTests.cs | 7 +- ...tosIdentityCredentialsOidcProviderTests.cs | 11 +- .../KratosIdentityCredentialsOidcTests.cs | 6 +- .../KratosIdentityCredentialsPasswordTests.cs | 6 +- .../Model/KratosIdentityCredentialsTests.cs | 17 +- .../Model/KratosIdentityPatchResponseTests.cs | 8 +- .../Model/KratosIdentityPatchTests.cs | 7 +- .../KratosIdentitySchemaContainerTests.cs | 7 +- .../Model/KratosIdentityTests.cs | 19 +- ...yWithCredentialsOidcConfigProviderTests.cs | 7 +- ...sIdentityWithCredentialsOidcConfigTests.cs | 7 +- .../KratosIdentityWithCredentialsOidcTests.cs | 6 +- ...ntityWithCredentialsPasswordConfigTests.cs | 7 +- ...tosIdentityWithCredentialsPasswordTests.cs | 6 +- .../KratosIdentityWithCredentialsTests.cs | 7 +- ...ts.cs => KratosIsAlive200ResponseTests.cs} | 28 +- ...ts.cs => KratosIsReady503ResponseTests.cs} | 28 +- .../Model/KratosJsonPatchTests.cs | 9 +- .../Model/KratosLoginFlowStateTests.cs | 7 +- .../Model/KratosLoginFlowTests.cs | 31 +- .../Model/KratosLogoutFlowTests.cs | 7 +- .../Model/KratosMessageDispatchTests.cs | 11 +- .../Model/KratosMessageTests.cs | 17 +- .../KratosNeedsPrivilegedSessionErrorTests.cs | 7 +- .../Model/KratosOAuth2ClientTests.cs | 53 +- ...ConsentRequestOpenIDConnectContextTests.cs | 10 +- .../Model/KratosOAuth2LoginRequestTests.cs | 20 +- .../Model/KratosPatchIdentitiesBodyTests.cs | 6 +- .../KratosPerformNativeLogoutBodyTests.cs | 6 +- .../KratosRecoveryCodeForIdentityTests.cs | 8 +- .../Model/KratosRecoveryFlowStateTests.cs | 7 +- .../Model/KratosRecoveryFlowTests.cs | 24 +- .../KratosRecoveryIdentityAddressTests.cs | 10 +- .../KratosRecoveryLinkForIdentityTests.cs | 7 +- .../Model/KratosRegistrationFlowStateTests.cs | 7 +- .../Model/KratosRegistrationFlowTests.cs | 19 +- .../KratosSelfServiceFlowExpiredErrorTests.cs | 9 +- .../KratosSessionAuthenticationMethodTests.cs | 10 +- .../Model/KratosSessionDeviceTests.cs | 9 +- .../Model/KratosSessionTests.cs | 15 +- .../Model/KratosSettingsFlowStateTests.cs | 7 +- .../Model/KratosSettingsFlowTests.cs | 25 +- ...atosSuccessfulCodeExchangeResponseTests.cs | 7 +- .../Model/KratosSuccessfulNativeLoginTests.cs | 14 +- ...KratosSuccessfulNativeRegistrationTests.cs | 9 +- .../KratosTokenPaginationHeadersTests.cs | 7 +- .../Model/KratosTokenPaginationTests.cs | 7 +- .../Model/KratosUiContainerTests.cs | 9 +- .../KratosUiNodeAnchorAttributesTests.cs | 9 +- .../Model/KratosUiNodeAttributesTests.cs | 36 +- .../Model/KratosUiNodeImageAttributesTests.cs | 10 +- .../Model/KratosUiNodeInputAttributesTests.cs | 24 +- .../Model/KratosUiNodeMetaTests.cs | 6 +- .../KratosUiNodeScriptAttributesTests.cs | 14 +- .../Model/KratosUiNodeTests.cs | 10 +- .../Model/KratosUiNodeTextAttributesTests.cs | 8 +- .../Model/KratosUiTextTests.cs | 9 +- .../Model/KratosUpdateIdentityBodyTests.cs | 11 +- .../Model/KratosUpdateLoginFlowBodyTests.cs | 36 +- ...ratosUpdateLoginFlowWithCodeMethodTests.cs | 17 +- ...ateLoginFlowWithLookupSecretMethodTests.cs | 8 +- ...ratosUpdateLoginFlowWithOidcMethodTests.cs | 21 +- ...osUpdateLoginFlowWithPasskeyMethodTests.cs | 85 + ...sUpdateLoginFlowWithPasswordMethodTests.cs | 17 +- ...ratosUpdateLoginFlowWithTotpMethodTests.cs | 15 +- ...sUpdateLoginFlowWithWebAuthnMethodTests.cs | 18 +- .../KratosUpdateRecoveryFlowBodyTests.cs | 18 +- ...osUpdateRecoveryFlowWithCodeMethodTests.cs | 16 +- ...osUpdateRecoveryFlowWithLinkMethodTests.cs | 15 +- .../KratosUpdateRegistrationFlowBodyTests.cs | 25 +- ...dateRegistrationFlowWithCodeMethodTests.cs | 11 +- ...dateRegistrationFlowWithOidcMethodTests.cs | 13 +- ...eRegistrationFlowWithPasskeyMethodTests.cs | 103 + ...RegistrationFlowWithPasswordMethodTests.cs | 10 +- ...eRegistrationFlowWithProfileMethodTests.cs | 103 + ...RegistrationFlowWithWebAuthnMethodTests.cs | 11 +- .../KratosUpdateSettingsFlowBodyTests.cs | 47 +- ...UpdateSettingsFlowWithLookupMethodTests.cs | 18 +- ...osUpdateSettingsFlowWithOidcMethodTests.cs | 20 +- ...pdateSettingsFlowWithPasskeyMethodTests.cs | 94 + ...dateSettingsFlowWithPasswordMethodTests.cs | 15 +- ...pdateSettingsFlowWithProfileMethodTests.cs | 15 +- ...osUpdateSettingsFlowWithTotpMethodTests.cs | 16 +- ...dateSettingsFlowWithWebAuthnMethodTests.cs | 19 +- .../KratosUpdateVerificationFlowBodyTests.cs | 18 +- ...dateVerificationFlowWithCodeMethodTests.cs | 16 +- ...dateVerificationFlowWithLinkMethodTests.cs | 15 +- .../KratosVerifiableIdentityAddressTests.cs | 13 +- .../Model/KratosVerificationFlowStateTests.cs | 7 +- .../Model/KratosVerificationFlowTests.cs | 23 +- .../Model/KratosVersionTests.cs | 12 +- .../Ory.Kratos.Client.Test.csproj | 10 +- .../src/Ory.Kratos.Client/Api/CourierApi.cs | 66 +- .../src/Ory.Kratos.Client/Api/FrontendApi.cs | 980 +- .../src/Ory.Kratos.Client/Api/IdentityApi.cs | 636 +- .../src/Ory.Kratos.Client/Api/MetadataApi.cs | 164 +- .../src/Ory.Kratos.Client/Client/ApiClient.cs | 472 +- .../Ory.Kratos.Client/Client/ApiException.cs | 2 +- .../Ory.Kratos.Client/Client/ApiResponse.cs | 2 +- .../Ory.Kratos.Client/Client/ClientUtils.cs | 84 +- .../Ory.Kratos.Client/Client/Configuration.cs | 140 +- .../Client/ExceptionFactory.cs | 2 +- .../Client/GlobalConfiguration.cs | 2 +- .../Ory.Kratos.Client/Client/HttpMethod.cs | 2 +- .../Ory.Kratos.Client/Client/IApiAccessor.cs | 2 +- .../Client/IAsynchronousClient.cs | 2 +- .../Client/IReadableConfiguration.cs | 28 +- .../Client/ISynchronousClient.cs | 2 +- .../src/Ory.Kratos.Client/Client/Multimap.cs | 2 +- .../Client/OpenAPIDateConverter.cs | 2 +- .../Client/RequestOptions.cs | 14 +- .../Client/RetryConfiguration.cs | 6 +- .../Model/AbstractOpenAPISchema.cs | 2 +- .../KratosAuthenticatorAssuranceLevel.cs | 3 +- .../KratosBatchPatchIdentitiesResponse.cs | 58 +- .../KratosConsistencyRequestParameters.cs | 54 +- .../Model/KratosContinueWith.cs | 89 +- .../Model/KratosContinueWithRecoveryUi.cs | 70 +- .../Model/KratosContinueWithRecoveryUiFlow.cs | 71 +- .../KratosContinueWithSetOrySessionToken.cs | 70 +- .../Model/KratosContinueWithSettingsUi.cs | 70 +- .../Model/KratosContinueWithSettingsUiFlow.cs | 62 +- .../Model/KratosContinueWithVerificationUi.cs | 70 +- .../KratosContinueWithVerificationUiFlow.cs | 85 +- .../Model/KratosCourierMessageStatus.cs | 3 +- .../Model/KratosCourierMessageType.cs | 3 +- .../Model/KratosCreateIdentityBody.cs | 129 +- ...KratosCreateRecoveryCodeForIdentityBody.cs | 95 +- ...KratosCreateRecoveryLinkForIdentityBody.cs | 83 +- .../Model/KratosDeleteMySessionsCount.cs | 53 +- ...AuthenticatorAssuranceLevelNotSatisfied.cs | 66 +- ...ratosErrorBrowserLocationChangeRequired.cs | 66 +- .../Model/KratosErrorFlowReplaced.cs | 66 +- .../Model/KratosErrorGeneric.cs | 62 +- .../Model/KratosFlowError.cs | 89 +- .../Model/KratosGenericError.cs | 127 +- .../Model/KratosGetVersion200Response.cs | 105 + .../Model/KratosHealthNotReadyStatus.cs | 58 +- .../Model/KratosHealthStatus.cs | 57 +- .../Ory.Kratos.Client/Model/KratosIdentity.cs | 192 +- .../Model/KratosIdentityCredentials.cs | 132 +- .../Model/KratosIdentityCredentialsCode.cs | 66 +- .../Model/KratosIdentityCredentialsOidc.cs | 58 +- .../KratosIdentityCredentialsOidcProvider.cs | 102 +- .../KratosIdentityCredentialsPassword.cs | 57 +- .../Model/KratosIdentityPatch.cs | 66 +- .../Model/KratosIdentityPatchResponse.cs | 72 +- .../Model/KratosIdentitySchemaContainer.cs | 66 +- .../Model/KratosIdentityWithCredentials.cs | 66 +- .../KratosIdentityWithCredentialsOidc.cs | 57 +- ...KratosIdentityWithCredentialsOidcConfig.cs | 67 +- ...entityWithCredentialsOidcConfigProvider.cs | 76 +- .../KratosIdentityWithCredentialsPassword.cs | 57 +- ...osIdentityWithCredentialsPasswordConfig.cs | 66 +- .../Model/KratosInlineResponse2001.cs | 155 - ...onse200.cs => KratosIsAlive200Response.cs} | 78 +- ...onse503.cs => KratosIsReady503Response.cs} | 79 +- .../Model/KratosJsonPatch.cs | 98 +- .../Model/KratosLoginFlow.cs | 271 +- .../Model/KratosLoginFlowState.cs | 3 +- .../Model/KratosLogoutFlow.cs | 76 +- .../Ory.Kratos.Client/Model/KratosMessage.cs | 210 +- .../Model/KratosMessageDispatch.cs | 115 +- .../KratosNeedsPrivilegedSessionError.cs | 71 +- .../Model/KratosOAuth2Client.cs | 468 +- ...Auth2ConsentRequestOpenIDConnectContext.cs | 96 +- .../Model/KratosOAuth2LoginRequest.cs | 139 +- .../Model/KratosPatchIdentitiesBody.cs | 58 +- .../Model/KratosPerformNativeLogoutBody.cs | 62 +- .../Model/KratosRecoveryCodeForIdentity.cs | 85 +- .../Model/KratosRecoveryFlow.cs | 178 +- .../Model/KratosRecoveryFlowState.cs | 3 +- .../Model/KratosRecoveryIdentityAddress.cs | 108 +- .../Model/KratosRecoveryLinkForIdentity.cs | 71 +- .../Model/KratosRegistrationFlow.cs | 224 +- .../Model/KratosRegistrationFlowState.cs | 3 +- .../KratosSelfServiceFlowExpiredError.cs | 80 +- .../Ory.Kratos.Client/Model/KratosSession.cs | 155 +- .../KratosSessionAuthenticationMethod.cs | 104 +- .../Model/KratosSessionDevice.cs | 89 +- .../Model/KratosSettingsFlow.cs | 192 +- .../Model/KratosSettingsFlowState.cs | 3 +- .../KratosSuccessfulCodeExchangeResponse.cs | 71 +- .../Model/KratosSuccessfulNativeLogin.cs | 83 +- .../KratosSuccessfulNativeRegistration.cs | 90 +- .../Model/KratosTokenPagination.cs | 70 +- .../Model/KratosTokenPaginationHeaders.cs | 66 +- .../Model/KratosUiContainer.cs | 101 +- .../Ory.Kratos.Client/Model/KratosUiNode.cs | 123 +- .../Model/KratosUiNodeAnchorAttributes.cs | 159 +- .../Model/KratosUiNodeAttributes.cs | 129 +- .../Model/KratosUiNodeImageAttributes.cs | 159 +- .../Model/KratosUiNodeInputAttributes.cs | 201 +- .../Model/KratosUiNodeMeta.cs | 57 +- .../Model/KratosUiNodeScriptAttributes.cs | 220 +- .../Model/KratosUiNodeTextAttributes.cs | 145 +- .../Ory.Kratos.Client/Model/KratosUiText.cs | 86 +- .../Model/KratosUpdateIdentityBody.cs | 111 +- .../Model/KratosUpdateLoginFlowBody.cs | 197 +- .../KratosUpdateLoginFlowWithCodeMethod.cs | 115 +- ...osUpdateLoginFlowWithLookupSecretMethod.cs | 85 +- .../KratosUpdateLoginFlowWithOidcMethod.cs | 133 +- .../KratosUpdateLoginFlowWithPasskeyMethod.cs | 125 + ...KratosUpdateLoginFlowWithPasswordMethod.cs | 120 +- .../KratosUpdateLoginFlowWithTotpMethod.cs | 97 +- ...KratosUpdateLoginFlowWithWebAuthnMethod.cs | 106 +- .../Model/KratosUpdateRecoveryFlowBody.cs | 85 +- .../KratosUpdateRecoveryFlowWithCodeMethod.cs | 95 +- .../KratosUpdateRecoveryFlowWithLinkMethod.cs | 91 +- .../Model/KratosUpdateRegistrationFlowBody.cs | 151 +- ...tosUpdateRegistrationFlowWithCodeMethod.cs | 112 +- ...tosUpdateRegistrationFlowWithOidcMethod.cs | 130 +- ...UpdateRegistrationFlowWithPasskeyMethod.cs | 150 + ...pdateRegistrationFlowWithPasswordMethod.cs | 108 +- ...UpdateRegistrationFlowWithProfileMethod.cs | 150 + ...pdateRegistrationFlowWithWebAuthnMethod.cs | 112 +- .../Model/KratosUpdateSettingsFlowBody.cs | 183 +- ...ratosUpdateSettingsFlowWithLookupMethod.cs | 103 +- .../KratosUpdateSettingsFlowWithOidcMethod.cs | 119 +- ...atosUpdateSettingsFlowWithPasskeyMethod.cs | 135 + ...tosUpdateSettingsFlowWithPasswordMethod.cs | 97 +- ...atosUpdateSettingsFlowWithProfileMethod.cs | 97 +- .../KratosUpdateSettingsFlowWithTotpMethod.cs | 97 +- ...tosUpdateSettingsFlowWithWebAuthnMethod.cs | 110 +- .../Model/KratosUpdateVerificationFlowBody.cs | 85 +- ...tosUpdateVerificationFlowWithCodeMethod.cs | 95 +- ...tosUpdateVerificationFlowWithLinkMethod.cs | 91 +- .../Model/KratosVerifiableIdentityAddress.cs | 129 +- .../Model/KratosVerificationFlow.cs | 159 +- .../Model/KratosVerificationFlowState.cs | 3 +- .../Ory.Kratos.Client/Model/KratosVersion.cs | 67 +- .../Ory.Kratos.Client.csproj | 19 +- .../kratos/elixir/.openapi-generator/FILES | 4 + .../kratos/elixir/.openapi-generator/VERSION | 2 +- clients/kratos/elixir/README.md | 2 +- clients/kratos/elixir/lib/ory/api/courier.ex | 4 +- clients/kratos/elixir/lib/ory/api/frontend.ex | 8 +- clients/kratos/elixir/lib/ory/api/identity.ex | 22 +- clients/kratos/elixir/lib/ory/api/metadata.ex | 2 +- clients/kratos/elixir/lib/ory/connection.ex | 4 +- clients/kratos/elixir/lib/ory/deserializer.ex | 2 +- .../model/authenticator_assurance_level.ex | 2 +- .../model/batch_patch_identities_response.ex | 2 +- .../model/consistency_request_parameters.ex | 2 +- .../elixir/lib/ory/model/continue_with.ex | 2 +- .../ory/model/continue_with_recovery_ui.ex | 2 +- .../model/continue_with_recovery_ui_flow.ex | 2 +- .../continue_with_set_ory_session_token.ex | 2 +- .../ory/model/continue_with_settings_ui.ex | 2 +- .../model/continue_with_settings_ui_flow.ex | 2 +- .../model/continue_with_verification_ui.ex | 2 +- .../continue_with_verification_ui_flow.ex | 2 +- .../lib/ory/model/courier_message_status.ex | 2 +- .../lib/ory/model/courier_message_type.ex | 2 +- .../lib/ory/model/create_identity_body.ex | 2 +- .../create_recovery_code_for_identity_body.ex | 4 +- .../create_recovery_link_for_identity_body.ex | 2 +- .../lib/ory/model/delete_my_sessions_count.ex | 2 +- ...enticator_assurance_level_not_satisfied.ex | 2 +- .../error_browser_location_change_required.ex | 2 +- .../lib/ory/model/error_flow_replaced.ex | 2 +- .../elixir/lib/ory/model/error_generic.ex | 2 +- .../kratos/elixir/lib/ory/model/flow_error.ex | 2 +- .../elixir/lib/ory/model/generic_error.ex | 2 +- .../lib/ory/model/get_version_200_response.ex | 2 +- .../lib/ory/model/health_not_ready_status.ex | 2 +- .../elixir/lib/ory/model/health_status.ex | 2 +- .../kratos/elixir/lib/ory/model/identity.ex | 2 +- .../lib/ory/model/identity_credentials.ex | 2 +- .../ory/model/identity_credentials_code.ex | 2 +- .../ory/model/identity_credentials_oidc.ex | 2 +- .../identity_credentials_oidc_provider.ex | 2 +- .../model/identity_credentials_password.ex | 2 +- .../elixir/lib/ory/model/identity_patch.ex | 2 +- .../lib/ory/model/identity_patch_response.ex | 2 +- .../ory/model/identity_schema_container.ex | 2 +- .../ory/model/identity_with_credentials.ex | 2 +- .../model/identity_with_credentials_oidc.ex | 2 +- .../identity_with_credentials_oidc_config.ex | 2 +- ...y_with_credentials_oidc_config_provider.ex | 2 +- .../identity_with_credentials_password.ex | 2 +- ...entity_with_credentials_password_config.ex | 2 +- .../lib/ory/model/is_alive_200_response.ex | 2 +- .../lib/ory/model/is_ready_503_response.ex | 2 +- .../kratos/elixir/lib/ory/model/json_patch.ex | 2 +- .../kratos/elixir/lib/ory/model/login_flow.ex | 4 +- .../elixir/lib/ory/model/login_flow_state.ex | 2 +- .../elixir/lib/ory/model/logout_flow.ex | 2 +- .../kratos/elixir/lib/ory/model/message.ex | 2 +- .../elixir/lib/ory/model/message_dispatch.ex | 2 +- .../model/needs_privileged_session_error.ex | 2 +- .../elixir/lib/ory/model/o_auth2_client.ex | 2 +- ...consent_request_open_id_connect_context.ex | 2 +- .../lib/ory/model/o_auth2_login_request.ex | 2 +- .../lib/ory/model/patch_identities_body.ex | 2 +- .../ory/model/perform_native_logout_body.ex | 2 +- .../ory/model/recovery_code_for_identity.ex | 2 +- .../elixir/lib/ory/model/recovery_flow.ex | 4 +- .../lib/ory/model/recovery_flow_state.ex | 2 +- .../ory/model/recovery_identity_address.ex | 2 +- .../ory/model/recovery_link_for_identity.ex | 2 +- .../elixir/lib/ory/model/registration_flow.ex | 2 +- .../lib/ory/model/registration_flow_state.ex | 2 +- .../model/self_service_flow_expired_error.ex | 2 +- .../kratos/elixir/lib/ory/model/session.ex | 2 +- .../model/session_authentication_method.ex | 2 +- .../elixir/lib/ory/model/session_device.ex | 2 +- .../elixir/lib/ory/model/settings_flow.ex | 4 +- .../lib/ory/model/settings_flow_state.ex | 2 +- .../successful_code_exchange_response.ex | 2 +- .../lib/ory/model/successful_native_login.ex | 5 +- .../model/successful_native_registration.ex | 2 +- .../elixir/lib/ory/model/token_pagination.ex | 2 +- .../lib/ory/model/token_pagination_headers.ex | 2 +- .../elixir/lib/ory/model/ui_container.ex | 2 +- .../kratos/elixir/lib/ory/model/ui_node.ex | 2 +- .../ory/model/ui_node_anchor_attributes.ex | 2 +- .../lib/ory/model/ui_node_attributes.ex | 4 +- .../lib/ory/model/ui_node_image_attributes.ex | 2 +- .../lib/ory/model/ui_node_input_attributes.ex | 4 +- .../elixir/lib/ory/model/ui_node_meta.ex | 2 +- .../ory/model/ui_node_script_attributes.ex | 2 +- .../lib/ory/model/ui_node_text_attributes.ex | 2 +- .../kratos/elixir/lib/ory/model/ui_text.ex | 2 +- .../lib/ory/model/update_identity_body.ex | 2 +- .../lib/ory/model/update_login_flow_body.ex | 10 +- .../update_login_flow_with_code_method.ex | 8 +- ...te_login_flow_with_lookup_secret_method.ex | 2 +- .../update_login_flow_with_oidc_method.ex | 4 +- .../update_login_flow_with_passkey_method.ex | 26 + .../update_login_flow_with_password_method.ex | 8 +- .../update_login_flow_with_totp_method.ex | 8 +- ...update_login_flow_with_web_authn_method.ex | 4 +- .../ory/model/update_recovery_flow_body.ex | 4 +- .../update_recovery_flow_with_code_method.ex | 8 +- .../update_recovery_flow_with_link_method.ex | 8 +- .../model/update_registration_flow_body.ex | 8 +- ...date_registration_flow_with_code_method.ex | 2 +- ...date_registration_flow_with_oidc_method.ex | 2 +- ...e_registration_flow_with_passkey_method.ex | 30 + ..._registration_flow_with_password_method.ex | 2 +- ...e_registration_flow_with_profile_method.ex | 30 + ...registration_flow_with_web_authn_method.ex | 2 +- .../ory/model/update_settings_flow_body.ex | 12 +- ...update_settings_flow_with_lookup_method.ex | 8 +- .../update_settings_flow_with_oidc_method.ex | 4 +- ...pdate_settings_flow_with_passkey_method.ex | 28 + ...date_settings_flow_with_password_method.ex | 8 +- ...pdate_settings_flow_with_profile_method.ex | 8 +- .../update_settings_flow_with_totp_method.ex | 8 +- ...ate_settings_flow_with_web_authn_method.ex | 4 +- .../model/update_verification_flow_body.ex | 4 +- ...date_verification_flow_with_code_method.ex | 8 +- ...date_verification_flow_with_link_method.ex | 8 +- .../ory/model/verifiable_identity_address.ex | 2 +- .../elixir/lib/ory/model/verification_flow.ex | 4 +- .../lib/ory/model/verification_flow_state.ex | 2 +- .../kratos/elixir/lib/ory/model/version.ex | 2 +- .../kratos/elixir/lib/ory/request_builder.ex | 2 +- clients/kratos/elixir/mix.exs | 2 +- clients/kratos/elixir/mix.lock | 18 +- clients/kratos/go/.openapi-generator/FILES | 8 + clients/kratos/go/.openapi-generator/VERSION | 2 +- clients/kratos/go/README.md | 23 +- clients/kratos/go/api/openapi.yaml | 707 +- clients/kratos/go/api_courier.go | 2 +- clients/kratos/go/api_frontend.go | 12 +- clients/kratos/go/api_identity.go | 32 +- clients/kratos/go/api_metadata.go | 2 +- clients/kratos/go/client.go | 6 +- clients/kratos/go/configuration.go | 2 +- clients/kratos/go/docs/CourierAPI.md | 66 +- .../docs/CreateRecoveryCodeForIdentityBody.md | 26 + clients/kratos/go/docs/FrontendAPI.md | 978 +- clients/kratos/go/docs/IdentityAPI.md | 582 +- clients/kratos/go/docs/IdentityCredentials.md | 2 +- clients/kratos/go/docs/LoginFlow.md | 28 +- clients/kratos/go/docs/MetadataAPI.md | 78 +- clients/kratos/go/docs/RecoveryFlow.md | 26 + clients/kratos/go/docs/RegistrationFlow.md | 2 +- clients/kratos/go/docs/SettingsFlow.md | 26 + .../kratos/go/docs/SuccessfulNativeLogin.md | 26 + clients/kratos/go/docs/UiNode.md | 2 +- .../kratos/go/docs/UiNodeAnchorAttributes.md | 2 +- clients/kratos/go/docs/UiNodeAttributes.md | 36 +- .../kratos/go/docs/UiNodeImageAttributes.md | 2 +- .../kratos/go/docs/UiNodeInputAttributes.md | 28 +- .../kratos/go/docs/UiNodeScriptAttributes.md | 2 +- .../kratos/go/docs/UiNodeTextAttributes.md | 2 +- clients/kratos/go/docs/UpdateLoginFlowBody.md | 56 +- .../go/docs/UpdateLoginFlowWithCodeMethod.md | 26 + .../go/docs/UpdateLoginFlowWithOidcMethod.md | 26 + .../docs/UpdateLoginFlowWithPasskeyMethod.md | 103 + .../docs/UpdateLoginFlowWithPasswordMethod.md | 26 + .../go/docs/UpdateLoginFlowWithTotpMethod.md | 26 + .../docs/UpdateLoginFlowWithWebAuthnMethod.md | 26 + .../kratos/go/docs/UpdateRecoveryFlowBody.md | 26 + .../docs/UpdateRecoveryFlowWithCodeMethod.md | 26 + .../docs/UpdateRecoveryFlowWithLinkMethod.md | 26 + .../go/docs/UpdateRegistrationFlowBody.md | 30 +- ...UpdateRegistrationFlowWithPasskeyMethod.md | 150 + ...UpdateRegistrationFlowWithProfileMethod.md | 150 + .../kratos/go/docs/UpdateSettingsFlowBody.md | 80 +- .../UpdateSettingsFlowWithLookupMethod.md | 26 + .../docs/UpdateSettingsFlowWithOidcMethod.md | 26 + .../UpdateSettingsFlowWithPasskeyMethod.md | 129 + .../UpdateSettingsFlowWithPasswordMethod.md | 26 + .../UpdateSettingsFlowWithProfileMethod.md | 26 + .../docs/UpdateSettingsFlowWithTotpMethod.md | 26 + .../UpdateSettingsFlowWithWebAuthnMethod.md | 26 + .../go/docs/UpdateVerificationFlowBody.md | 26 + .../UpdateVerificationFlowWithCodeMethod.md | 26 + .../UpdateVerificationFlowWithLinkMethod.md | 26 + clients/kratos/go/docs/VerificationFlow.md | 26 + clients/kratos/go/go.mod | 2 +- clients/kratos/go/go.sum | 4 +- .../go/model_authenticator_assurance_level.go | 2 +- .../model_batch_patch_identities_response.go | 8 +- .../model_consistency_request_parameters.go | 8 +- clients/kratos/go/model_continue_with.go | 134 +- .../go/model_continue_with_recovery_ui.go | 12 +- .../model_continue_with_recovery_ui_flow.go | 12 +- ...del_continue_with_set_ory_session_token.go | 12 +- .../go/model_continue_with_settings_ui.go | 12 +- .../model_continue_with_settings_ui_flow.go | 12 +- .../go/model_continue_with_verification_ui.go | 12 +- ...odel_continue_with_verification_ui_flow.go | 12 +- .../kratos/go/model_courier_message_status.go | 2 +- .../kratos/go/model_courier_message_type.go | 2 +- .../kratos/go/model_create_identity_body.go | 16 +- ..._create_recovery_code_for_identity_body.go | 50 +- ..._create_recovery_link_for_identity_body.go | 12 +- .../go/model_delete_my_sessions_count.go | 8 +- ...enticator_assurance_level_not_satisfied.go | 8 +- ..._error_browser_location_change_required.go | 8 +- .../kratos/go/model_error_flow_replaced.go | 8 +- clients/kratos/go/model_error_generic.go | 12 +- clients/kratos/go/model_flow_error.go | 12 +- clients/kratos/go/model_generic_error.go | 12 +- .../go/model_get_version_200_response.go | 12 +- .../go/model_health_not_ready_status.go | 8 +- clients/kratos/go/model_health_status.go | 8 +- clients/kratos/go/model_identity.go | 16 +- .../kratos/go/model_identity_credentials.go | 10 +- .../go/model_identity_credentials_code.go | 8 +- .../go/model_identity_credentials_oidc.go | 8 +- ...odel_identity_credentials_oidc_provider.go | 8 +- .../go/model_identity_credentials_password.go | 8 +- clients/kratos/go/model_identity_patch.go | 8 +- .../go/model_identity_patch_response.go | 8 +- .../go/model_identity_schema_container.go | 8 +- .../go/model_identity_with_credentials.go | 8 +- .../model_identity_with_credentials_oidc.go | 8 +- ...l_identity_with_credentials_oidc_config.go | 8 +- ...y_with_credentials_oidc_config_provider.go | 12 +- ...odel_identity_with_credentials_password.go | 8 +- ...entity_with_credentials_password_config.go | 8 +- .../kratos/go/model_is_alive_200_response.go | 12 +- .../kratos/go/model_is_ready_503_response.go | 12 +- clients/kratos/go/model_json_patch.go | 14 +- clients/kratos/go/model_login_flow.go | 52 +- clients/kratos/go/model_login_flow_state.go | 2 +- clients/kratos/go/model_logout_flow.go | 12 +- clients/kratos/go/model_message.go | 12 +- clients/kratos/go/model_message_dispatch.go | 12 +- .../model_needs_privileged_session_error.go | 12 +- clients/kratos/go/model_o_auth2_client.go | 12 +- ...consent_request_open_id_connect_context.go | 8 +- .../kratos/go/model_o_auth2_login_request.go | 8 +- .../kratos/go/model_patch_identities_body.go | 8 +- .../go/model_perform_native_logout_body.go | 12 +- .../go/model_recovery_code_for_identity.go | 12 +- clients/kratos/go/model_recovery_flow.go | 50 +- .../kratos/go/model_recovery_flow_state.go | 2 +- .../go/model_recovery_identity_address.go | 12 +- .../go/model_recovery_link_for_identity.go | 12 +- clients/kratos/go/model_registration_flow.go | 14 +- .../go/model_registration_flow_state.go | 2 +- .../model_self_service_flow_expired_error.go | 8 +- clients/kratos/go/model_session.go | 12 +- .../go/model_session_authentication_method.go | 8 +- clients/kratos/go/model_session_device.go | 12 +- clients/kratos/go/model_settings_flow.go | 50 +- .../kratos/go/model_settings_flow_state.go | 2 +- ...model_successful_code_exchange_response.go | 12 +- .../go/model_successful_native_login.go | 50 +- .../model_successful_native_registration.go | 12 +- clients/kratos/go/model_token_pagination.go | 8 +- .../go/model_token_pagination_headers.go | 8 +- clients/kratos/go/model_ui_container.go | 12 +- clients/kratos/go/model_ui_node.go | 14 +- .../go/model_ui_node_anchor_attributes.go | 14 +- clients/kratos/go/model_ui_node_attributes.go | 164 +- .../go/model_ui_node_image_attributes.go | 14 +- .../go/model_ui_node_input_attributes.go | 54 +- clients/kratos/go/model_ui_node_meta.go | 8 +- .../go/model_ui_node_script_attributes.go | 14 +- .../go/model_ui_node_text_attributes.go | 14 +- clients/kratos/go/model_ui_text.go | 12 +- .../kratos/go/model_update_identity_body.go | 16 +- .../kratos/go/model_update_login_flow_body.go | 232 +- ...odel_update_login_flow_with_code_method.go | 50 +- ...te_login_flow_with_lookup_secret_method.go | 12 +- ...odel_update_login_flow_with_oidc_method.go | 50 +- ...l_update_login_flow_with_passkey_method.go | 246 + ..._update_login_flow_with_password_method.go | 50 +- ...odel_update_login_flow_with_totp_method.go | 50 +- ...update_login_flow_with_web_authn_method.go | 50 +- .../go/model_update_recovery_flow_body.go | 76 +- ...l_update_recovery_flow_with_code_method.go | 50 +- ...l_update_recovery_flow_with_link_method.go | 50 +- .../go/model_update_registration_flow_body.go | 172 +- ...date_registration_flow_with_code_method.go | 12 +- ...date_registration_flow_with_oidc_method.go | 12 +- ...e_registration_flow_with_passkey_method.go | 314 + ..._registration_flow_with_password_method.go | 12 +- ...e_registration_flow_with_profile_method.go | 314 + ...registration_flow_with_web_authn_method.go | 12 +- .../go/model_update_settings_flow_body.go | 232 +- ...update_settings_flow_with_lookup_method.go | 50 +- ...l_update_settings_flow_with_oidc_method.go | 50 +- ...pdate_settings_flow_with_passkey_method.go | 284 + ...date_settings_flow_with_password_method.go | 50 +- ...pdate_settings_flow_with_profile_method.go | 50 +- ...l_update_settings_flow_with_totp_method.go | 50 +- ...ate_settings_flow_with_web_authn_method.go | 50 +- .../go/model_update_verification_flow_body.go | 76 +- ...date_verification_flow_with_code_method.go | 50 +- ...date_verification_flow_with_link_method.go | 50 +- .../go/model_verifiable_identity_address.go | 12 +- clients/kratos/go/model_verification_flow.go | 50 +- .../go/model_verification_flow_state.go | 2 +- clients/kratos/go/model_version.go | 8 +- clients/kratos/go/response.go | 2 +- clients/kratos/go/utils.go | 4 +- .../kratos/java/.github/workflows/maven.yml | 6 +- clients/kratos/java/.openapi-generator/FILES | 12 + .../kratos/java/.openapi-generator/VERSION | 2 +- clients/kratos/java/README.md | 20 +- clients/kratos/java/api/openapi.yaml | 868 +- clients/kratos/java/build.gradle | 20 +- clients/kratos/java/build.sbt | 12 +- clients/kratos/java/docs/CourierApi.md | 4 +- .../docs/CreateRecoveryCodeForIdentityBody.md | 1 + clients/kratos/java/docs/FrontendApi.md | 66 +- clients/kratos/java/docs/IdentityApi.md | 54 +- .../kratos/java/docs/IdentityCredentials.md | 4 +- clients/kratos/java/docs/LoginFlow.md | 5 +- clients/kratos/java/docs/MetadataApi.md | 6 +- clients/kratos/java/docs/RecoveryFlow.md | 1 + clients/kratos/java/docs/RegistrationFlow.md | 4 +- clients/kratos/java/docs/SettingsFlow.md | 1 + .../kratos/java/docs/SuccessfulNativeLogin.md | 1 + clients/kratos/java/docs/UiNode.md | 3 +- .../java/docs/UiNodeAnchorAttributes.md | 14 +- clients/kratos/java/docs/UiNodeAttributes.md | 15 +- .../kratos/java/docs/UiNodeImageAttributes.md | 14 +- .../kratos/java/docs/UiNodeInputAttributes.md | 15 +- .../java/docs/UiNodeScriptAttributes.md | 14 +- .../kratos/java/docs/UiNodeTextAttributes.md | 14 +- .../kratos/java/docs/UpdateLoginFlowBody.md | 6 +- .../docs/UpdateLoginFlowWithCodeMethod.md | 1 + .../docs/UpdateLoginFlowWithOidcMethod.md | 1 + .../docs/UpdateLoginFlowWithPasskeyMethod.md | 16 + .../docs/UpdateLoginFlowWithPasswordMethod.md | 1 + .../docs/UpdateLoginFlowWithTotpMethod.md | 1 + .../docs/UpdateLoginFlowWithWebAuthnMethod.md | 1 + .../java/docs/UpdateRecoveryFlowBody.md | 1 + .../docs/UpdateRecoveryFlowWithCodeMethod.md | 1 + .../docs/UpdateRecoveryFlowWithLinkMethod.md | 1 + .../java/docs/UpdateRegistrationFlowBody.md | 5 +- ...UpdateRegistrationFlowWithPasskeyMethod.md | 18 + ...UpdateRegistrationFlowWithProfileMethod.md | 18 + .../java/docs/UpdateSettingsFlowBody.md | 5 +- .../UpdateSettingsFlowWithLookupMethod.md | 1 + .../docs/UpdateSettingsFlowWithOidcMethod.md | 1 + .../UpdateSettingsFlowWithPasskeyMethod.md | 17 + .../UpdateSettingsFlowWithPasswordMethod.md | 1 + .../UpdateSettingsFlowWithProfileMethod.md | 1 + .../docs/UpdateSettingsFlowWithTotpMethod.md | 1 + .../UpdateSettingsFlowWithWebAuthnMethod.md | 1 + .../java/docs/UpdateVerificationFlowBody.md | 1 + .../UpdateVerificationFlowWithCodeMethod.md | 1 + .../UpdateVerificationFlowWithLinkMethod.md | 1 + clients/kratos/java/docs/VerificationFlow.md | 1 + .../java/gradle/wrapper/gradle-wrapper.jar | Bin 59536 -> 43453 bytes .../gradle/wrapper/gradle-wrapper.properties | 4 +- clients/kratos/java/gradlew | 189 +- clients/kratos/java/gradlew.bat | 37 +- clients/kratos/java/pom.xml | 128 +- .../main/java/sh/ory/kratos/ApiCallback.java | 2 +- .../main/java/sh/ory/kratos/ApiClient.java | 89 +- .../main/java/sh/ory/kratos/ApiException.java | 11 +- .../main/java/sh/ory/kratos/ApiResponse.java | 2 +- .../java/sh/ory/kratos/Configuration.java | 6 +- .../sh/ory/kratos/GzipRequestInterceptor.java | 2 +- .../src/main/java/sh/ory/kratos/JSON.java | 28 +- .../src/main/java/sh/ory/kratos/Pair.java | 4 +- .../sh/ory/kratos/ProgressRequestBody.java | 2 +- .../sh/ory/kratos/ProgressResponseBody.java | 2 +- .../sh/ory/kratos/ServerConfiguration.java | 1 + .../java/sh/ory/kratos/ServerVariable.java | 1 + .../main/java/sh/ory/kratos/StringUtil.java | 4 +- .../java/sh/ory/kratos/api/CourierApi.java | 3 +- .../java/sh/ory/kratos/api/FrontendApi.java | 29 +- .../java/sh/ory/kratos/api/IdentityApi.java | 49 +- .../java/sh/ory/kratos/api/MetadataApi.java | 3 +- .../java/sh/ory/kratos/auth/ApiKeyAuth.java | 4 +- .../sh/ory/kratos/auth/Authentication.java | 2 +- .../sh/ory/kratos/auth/HttpBasicAuth.java | 4 +- .../sh/ory/kratos/auth/HttpBearerAuth.java | 24 +- .../kratos/model/AbstractOpenApiSchema.java | 9 +- .../model/AuthenticatorAssuranceLevel.java | 10 +- .../model/BatchPatchIdentitiesResponse.java | 83 +- .../model/ConsistencyRequestParameters.java | 88 +- .../sh/ory/kratos/model/ContinueWith.java | 316 +- .../kratos/model/ContinueWithRecoveryUi.java | 100 +- .../model/ContinueWithRecoveryUiFlow.java | 90 +- .../model/ContinueWithSetOrySessionToken.java | 98 +- .../kratos/model/ContinueWithSettingsUi.java | 100 +- .../model/ContinueWithSettingsUiFlow.java | 82 +- .../model/ContinueWithVerificationUi.java | 100 +- .../model/ContinueWithVerificationUiFlow.java | 98 +- .../kratos/model/CourierMessageStatus.java | 10 +- .../ory/kratos/model/CourierMessageType.java | 10 +- .../ory/kratos/model/CreateIdentityBody.java | 158 +- .../CreateRecoveryCodeForIdentityBody.java | 122 +- .../CreateRecoveryLinkForIdentityBody.java | 91 +- .../kratos/model/DeleteMySessionsCount.java | 79 +- ...thenticatorAssuranceLevelNotSatisfied.java | 88 +- .../ErrorBrowserLocationChangeRequired.java | 88 +- .../ory/kratos/model/ErrorFlowReplaced.java | 89 +- .../sh/ory/kratos/model/ErrorGeneric.java | 85 +- .../java/sh/ory/kratos/model/FlowError.java | 106 +- .../sh/ory/kratos/model/GenericError.java | 138 +- .../kratos/model/GetVersion200Response.java | 82 +- .../kratos/model/HealthNotReadyStatus.java | 80 +- .../sh/ory/kratos/model/HealthStatus.java | 78 +- .../java/sh/ory/kratos/model/Identity.java | 206 +- .../ory/kratos/model/IdentityCredentials.java | 140 +- .../kratos/model/IdentityCredentialsCode.java | 87 +- .../kratos/model/IdentityCredentialsOidc.java | 82 +- .../IdentityCredentialsOidcProvider.java | 118 +- .../model/IdentityCredentialsPassword.java | 78 +- .../sh/ory/kratos/model/IdentityPatch.java | 89 +- .../kratos/model/IdentityPatchResponse.java | 104 +- .../kratos/model/IdentitySchemaContainer.java | 87 +- .../kratos/model/IdentityWithCredentials.java | 91 +- .../model/IdentityWithCredentialsOidc.java | 81 +- .../IdentityWithCredentialsOidcConfig.java | 92 +- ...tityWithCredentialsOidcConfigProvider.java | 91 +- .../IdentityWithCredentialsPassword.java | 81 +- ...IdentityWithCredentialsPasswordConfig.java | 87 +- .../ory/kratos/model/IsAlive200Response.java | 82 +- .../ory/kratos/model/IsReady503Response.java | 85 +- .../java/sh/ory/kratos/model/JsonPatch.java | 107 +- .../java/sh/ory/kratos/model/LoginFlow.java | 264 +- .../sh/ory/kratos/model/LoginFlowState.java | 10 +- .../java/sh/ory/kratos/model/LogoutFlow.java | 91 +- .../java/sh/ory/kratos/model/Message.java | 185 +- .../sh/ory/kratos/model/MessageDispatch.java | 130 +- .../model/NeedsPrivilegedSessionError.java | 92 +- .../sh/ory/kratos/model/OAuth2Client.java | 486 +- ...th2ConsentRequestOpenIDConnectContext.java | 121 +- .../ory/kratos/model/OAuth2LoginRequest.java | 155 +- .../ory/kratos/model/PatchIdentitiesBody.java | 83 +- .../kratos/model/PerformNativeLogoutBody.java | 83 +- .../kratos/model/RecoveryCodeForIdentity.java | 99 +- .../sh/ory/kratos/model/RecoveryFlow.java | 189 +- .../ory/kratos/model/RecoveryFlowState.java | 10 +- .../kratos/model/RecoveryIdentityAddress.java | 114 +- .../kratos/model/RecoveryLinkForIdentity.java | 91 +- .../sh/ory/kratos/model/RegistrationFlow.java | 207 +- .../kratos/model/RegistrationFlowState.java | 10 +- .../model/SelfServiceFlowExpiredError.java | 105 +- .../java/sh/ory/kratos/model/Session.java | 169 +- .../model/SessionAuthenticationMethod.java | 124 +- .../sh/ory/kratos/model/SessionDevice.java | 107 +- .../sh/ory/kratos/model/SettingsFlow.java | 199 +- .../ory/kratos/model/SettingsFlowState.java | 10 +- .../model/SuccessfulCodeExchangeResponse.java | 93 +- .../kratos/model/SuccessfulNativeLogin.java | 148 +- .../model/SuccessfulNativeRegistration.java | 115 +- .../sh/ory/kratos/model/TokenPagination.java | 86 +- .../kratos/model/TokenPaginationHeaders.java | 86 +- .../java/sh/ory/kratos/model/UiContainer.java | 116 +- .../main/java/sh/ory/kratos/model/UiNode.java | 146 +- .../kratos/model/UiNodeAnchorAttributes.java | 178 +- .../sh/ory/kratos/model/UiNodeAttributes.java | 407 +- .../kratos/model/UiNodeImageAttributes.java | 184 +- .../kratos/model/UiNodeInputAttributes.java | 274 +- .../java/sh/ory/kratos/model/UiNodeMeta.java | 81 +- .../kratos/model/UiNodeScriptAttributes.java | 216 +- .../kratos/model/UiNodeTextAttributes.java | 170 +- .../main/java/sh/ory/kratos/model/UiText.java | 113 +- .../ory/kratos/model/UpdateIdentityBody.java | 132 +- .../ory/kratos/model/UpdateLoginFlowBody.java | 542 +- .../model/UpdateLoginFlowWithCodeMethod.java | 145 +- ...UpdateLoginFlowWithLookupSecretMethod.java | 99 +- .../model/UpdateLoginFlowWithOidcMethod.java | 159 +- .../UpdateLoginFlowWithPasskeyMethod.java | 353 + .../UpdateLoginFlowWithPasswordMethod.java | 145 +- .../model/UpdateLoginFlowWithTotpMethod.java | 129 +- .../UpdateLoginFlowWithWebAuthnMethod.java | 135 +- .../kratos/model/UpdateRecoveryFlowBody.java | 224 +- .../UpdateRecoveryFlowWithCodeMethod.java | 144 +- .../UpdateRecoveryFlowWithLinkMethod.java | 136 +- .../model/UpdateRegistrationFlowBody.java | 402 +- .../UpdateRegistrationFlowWithCodeMethod.java | 123 +- .../UpdateRegistrationFlowWithOidcMethod.java | 139 +- ...dateRegistrationFlowWithPasskeyMethod.java | 406 + ...ateRegistrationFlowWithPasswordMethod.java | 115 +- ...dateRegistrationFlowWithProfileMethod.java | 406 + ...ateRegistrationFlowWithWebAuthnMethod.java | 123 +- .../kratos/model/UpdateSettingsFlowBody.java | 516 +- .../UpdateSettingsFlowWithLookupMethod.java | 153 +- .../UpdateSettingsFlowWithOidcMethod.java | 151 +- .../UpdateSettingsFlowWithPasskeyMethod.java | 382 + .../UpdateSettingsFlowWithPasswordMethod.java | 129 +- .../UpdateSettingsFlowWithProfileMethod.java | 129 +- .../UpdateSettingsFlowWithTotpMethod.java | 137 +- .../UpdateSettingsFlowWithWebAuthnMethod.java | 143 +- .../model/UpdateVerificationFlowBody.java | 224 +- .../UpdateVerificationFlowWithCodeMethod.java | 143 +- .../UpdateVerificationFlowWithLinkMethod.java | 136 +- .../model/VerifiableIdentityAddress.java | 146 +- .../sh/ory/kratos/model/VerificationFlow.java | 177 +- .../kratos/model/VerificationFlowState.java | 10 +- .../java/sh/ory/kratos/model/Version.java | 78 +- .../sh/ory/kratos/api/CourierApiTest.java | 2 +- .../sh/ory/kratos/api/FrontendApiTest.java | 5 +- .../sh/ory/kratos/api/IdentityApiTest.java | 9 +- .../sh/ory/kratos/api/MetadataApiTest.java | 2 +- .../AuthenticatorAssuranceLevelTest.java | 4 +- .../BatchPatchIdentitiesResponseTest.java | 6 +- .../ConsistencyRequestParametersTest.java | 6 +- .../model/ContinueWithRecoveryUiFlowTest.java | 6 +- .../model/ContinueWithRecoveryUiTest.java | 6 +- .../ContinueWithSetOrySessionTokenTest.java | 6 +- .../model/ContinueWithSettingsUiFlowTest.java | 6 +- .../model/ContinueWithSettingsUiTest.java | 6 +- .../sh/ory/kratos/model/ContinueWithTest.java | 6 +- .../ContinueWithVerificationUiFlowTest.java | 6 +- .../model/ContinueWithVerificationUiTest.java | 6 +- .../model/CourierMessageStatusTest.java | 4 +- .../kratos/model/CourierMessageTypeTest.java | 4 +- .../kratos/model/CreateIdentityBodyTest.java | 6 +- ...CreateRecoveryCodeForIdentityBodyTest.java | 14 +- ...CreateRecoveryLinkForIdentityBodyTest.java | 6 +- .../model/DeleteMySessionsCountTest.java | 6 +- ...ticatorAssuranceLevelNotSatisfiedTest.java | 6 +- ...rrorBrowserLocationChangeRequiredTest.java | 6 +- .../kratos/model/ErrorFlowReplacedTest.java | 6 +- .../sh/ory/kratos/model/ErrorGenericTest.java | 6 +- .../sh/ory/kratos/model/FlowErrorTest.java | 6 +- .../sh/ory/kratos/model/GenericErrorTest.java | 6 +- .../model/GetVersion200ResponseTest.java | 6 +- .../model/HealthNotReadyStatusTest.java | 6 +- .../sh/ory/kratos/model/HealthStatusTest.java | 6 +- .../model/IdentityCredentialsCodeTest.java | 6 +- .../IdentityCredentialsOidcProviderTest.java | 6 +- .../model/IdentityCredentialsOidcTest.java | 6 +- .../IdentityCredentialsPasswordTest.java | 6 +- .../kratos/model/IdentityCredentialsTest.java | 6 +- .../model/IdentityPatchResponseTest.java | 6 +- .../ory/kratos/model/IdentityPatchTest.java | 6 +- .../model/IdentitySchemaContainerTest.java | 6 +- .../sh/ory/kratos/model/IdentityTest.java | 6 +- ...WithCredentialsOidcConfigProviderTest.java | 6 +- ...IdentityWithCredentialsOidcConfigTest.java | 6 +- .../IdentityWithCredentialsOidcTest.java | 6 +- ...tityWithCredentialsPasswordConfigTest.java | 6 +- .../IdentityWithCredentialsPasswordTest.java | 6 +- .../model/IdentityWithCredentialsTest.java | 6 +- .../kratos/model/IsAlive200ResponseTest.java | 6 +- .../kratos/model/IsReady503ResponseTest.java | 6 +- .../sh/ory/kratos/model/JsonPatchTest.java | 6 +- .../ory/kratos/model/LoginFlowStateTest.java | 4 +- .../sh/ory/kratos/model/LoginFlowTest.java | 14 +- .../sh/ory/kratos/model/LogoutFlowTest.java | 6 +- .../ory/kratos/model/MessageDispatchTest.java | 6 +- .../java/sh/ory/kratos/model/MessageTest.java | 6 +- .../NeedsPrivilegedSessionErrorTest.java | 6 +- .../sh/ory/kratos/model/OAuth2ClientTest.java | 6 +- ...onsentRequestOpenIDConnectContextTest.java | 6 +- .../kratos/model/OAuth2LoginRequestTest.java | 6 +- .../kratos/model/PatchIdentitiesBodyTest.java | 6 +- .../model/PerformNativeLogoutBodyTest.java | 6 +- .../model/RecoveryCodeForIdentityTest.java | 6 +- .../kratos/model/RecoveryFlowStateTest.java | 4 +- .../sh/ory/kratos/model/RecoveryFlowTest.java | 14 +- .../model/RecoveryIdentityAddressTest.java | 6 +- .../model/RecoveryLinkForIdentityTest.java | 6 +- .../model/RegistrationFlowStateTest.java | 4 +- .../kratos/model/RegistrationFlowTest.java | 6 +- .../SelfServiceFlowExpiredErrorTest.java | 6 +- .../SessionAuthenticationMethodTest.java | 6 +- .../ory/kratos/model/SessionDeviceTest.java | 6 +- .../java/sh/ory/kratos/model/SessionTest.java | 6 +- .../kratos/model/SettingsFlowStateTest.java | 4 +- .../sh/ory/kratos/model/SettingsFlowTest.java | 14 +- .../SuccessfulCodeExchangeResponseTest.java | 6 +- .../model/SuccessfulNativeLoginTest.java | 17 +- .../SuccessfulNativeRegistrationTest.java | 6 +- .../model/TokenPaginationHeadersTest.java | 6 +- .../ory/kratos/model/TokenPaginationTest.java | 6 +- .../sh/ory/kratos/model/UiContainerTest.java | 6 +- .../model/UiNodeAnchorAttributesTest.java | 6 +- .../kratos/model/UiNodeAttributesTest.java | 14 +- .../model/UiNodeImageAttributesTest.java | 6 +- .../model/UiNodeInputAttributesTest.java | 14 +- .../sh/ory/kratos/model/UiNodeMetaTest.java | 6 +- .../model/UiNodeScriptAttributesTest.java | 6 +- .../java/sh/ory/kratos/model/UiNodeTest.java | 6 +- .../model/UiNodeTextAttributesTest.java | 6 +- .../java/sh/ory/kratos/model/UiTextTest.java | 6 +- .../kratos/model/UpdateIdentityBodyTest.java | 6 +- .../kratos/model/UpdateLoginFlowBodyTest.java | 23 +- .../UpdateLoginFlowWithCodeMethodTest.java | 14 +- ...teLoginFlowWithLookupSecretMethodTest.java | 6 +- .../UpdateLoginFlowWithOidcMethodTest.java | 14 +- .../UpdateLoginFlowWithPasskeyMethodTest.java | 64 + ...UpdateLoginFlowWithPasswordMethodTest.java | 14 +- .../UpdateLoginFlowWithTotpMethodTest.java | 14 +- ...UpdateLoginFlowWithWebAuthnMethodTest.java | 14 +- .../model/UpdateRecoveryFlowBodyTest.java | 14 +- .../UpdateRecoveryFlowWithCodeMethodTest.java | 14 +- .../UpdateRecoveryFlowWithLinkMethodTest.java | 14 +- .../model/UpdateRegistrationFlowBodyTest.java | 15 +- ...ateRegistrationFlowWithCodeMethodTest.java | 6 +- ...ateRegistrationFlowWithOidcMethodTest.java | 6 +- ...RegistrationFlowWithPasskeyMethodTest.java | 80 + ...egistrationFlowWithPasswordMethodTest.java | 6 +- ...RegistrationFlowWithProfileMethodTest.java | 80 + ...egistrationFlowWithWebAuthnMethodTest.java | 6 +- .../model/UpdateSettingsFlowBodyTest.java | 31 +- ...pdateSettingsFlowWithLookupMethodTest.java | 14 +- .../UpdateSettingsFlowWithOidcMethodTest.java | 14 +- ...dateSettingsFlowWithPasskeyMethodTest.java | 72 + ...ateSettingsFlowWithPasswordMethodTest.java | 14 +- ...dateSettingsFlowWithProfileMethodTest.java | 14 +- .../UpdateSettingsFlowWithTotpMethodTest.java | 14 +- ...ateSettingsFlowWithWebAuthnMethodTest.java | 14 +- .../model/UpdateVerificationFlowBodyTest.java | 14 +- ...ateVerificationFlowWithCodeMethodTest.java | 14 +- ...ateVerificationFlowWithLinkMethodTest.java | 14 +- .../model/VerifiableIdentityAddressTest.java | 6 +- .../model/VerificationFlowStateTest.java | 4 +- .../kratos/model/VerificationFlowTest.java | 14 +- .../java/sh/ory/kratos/model/VersionTest.java | 6 +- clients/kratos/php/.gitignore | 1 + clients/kratos/php/.openapi-generator/FILES | 32 +- clients/kratos/php/.openapi-generator/VERSION | 2 +- clients/kratos/php/.php-cs-fixer.dist.php | 29 + clients/kratos/php/.php_cs | 23 - clients/kratos/php/README.md | 20 +- clients/kratos/php/composer.json | 6 +- clients/kratos/php/composer.lock | 2405 ++- clients/kratos/php/docs/Api/CourierApi.md | 30 +- clients/kratos/php/docs/Api/FrontendApi.md | 334 +- clients/kratos/php/docs/Api/IdentityApi.md | 212 +- clients/kratos/php/docs/Api/MetadataApi.md | 24 +- .../CreateRecoveryCodeForIdentityBody.md | 1 + ...sponse2001.md => GetVersion200Response.md} | 2 +- .../php/docs/Model/IdentityCredentials.md | 2 +- ...neResponse200.md => IsAlive200Response.md} | 2 +- ...neResponse503.md => IsReady503Response.md} | 2 +- clients/kratos/php/docs/Model/LoginFlow.md | 3 +- clients/kratos/php/docs/Model/RecoveryFlow.md | 1 + .../kratos/php/docs/Model/RegistrationFlow.md | 2 +- clients/kratos/php/docs/Model/SettingsFlow.md | 1 + .../php/docs/Model/SuccessfulNativeLogin.md | 1 + clients/kratos/php/docs/Model/UiNode.md | 2 +- .../php/docs/Model/UiNodeAnchorAttributes.md | 2 +- .../kratos/php/docs/Model/UiNodeAttributes.md | 3 +- .../php/docs/Model/UiNodeImageAttributes.md | 2 +- .../php/docs/Model/UiNodeInputAttributes.md | 3 +- .../php/docs/Model/UiNodeScriptAttributes.md | 2 +- .../php/docs/Model/UiNodeTextAttributes.md | 2 +- .../php/docs/Model/UpdateLoginFlowBody.md | 6 +- .../Model/UpdateLoginFlowWithCodeMethod.md | 1 + .../Model/UpdateLoginFlowWithOidcMethod.md | 1 + .../Model/UpdateLoginFlowWithPasskeyMethod.md | 11 + .../UpdateLoginFlowWithPasswordMethod.md | 1 + .../Model/UpdateLoginFlowWithTotpMethod.md | 1 + .../UpdateLoginFlowWithWebAuthnMethod.md | 1 + .../php/docs/Model/UpdateRecoveryFlowBody.md | 1 + .../Model/UpdateRecoveryFlowWithCodeMethod.md | 1 + .../Model/UpdateRecoveryFlowWithLinkMethod.md | 1 + .../docs/Model/UpdateRegistrationFlowBody.md | 5 +- ...UpdateRegistrationFlowWithPasskeyMethod.md | 13 + ...UpdateRegistrationFlowWithProfileMethod.md | 13 + .../php/docs/Model/UpdateSettingsFlowBody.md | 5 +- .../UpdateSettingsFlowWithLookupMethod.md | 1 + .../Model/UpdateSettingsFlowWithOidcMethod.md | 1 + .../UpdateSettingsFlowWithPasskeyMethod.md | 12 + .../UpdateSettingsFlowWithPasswordMethod.md | 1 + .../UpdateSettingsFlowWithProfileMethod.md | 1 + .../Model/UpdateSettingsFlowWithTotpMethod.md | 1 + .../UpdateSettingsFlowWithWebAuthnMethod.md | 1 + .../docs/Model/UpdateVerificationFlowBody.md | 1 + .../UpdateVerificationFlowWithCodeMethod.md | 1 + .../UpdateVerificationFlowWithLinkMethod.md | 1 + .../kratos/php/docs/Model/VerificationFlow.md | 1 + clients/kratos/php/lib/Api/CourierApi.php | 342 +- clients/kratos/php/lib/Api/FrontendApi.php | 4745 ++++-- clients/kratos/php/lib/Api/IdentityApi.php | 2609 +++- clients/kratos/php/lib/Api/MetadataApi.php | 381 +- clients/kratos/php/lib/ApiException.php | 7 +- clients/kratos/php/lib/Configuration.php | 81 +- clients/kratos/php/lib/HeaderSelector.php | 211 +- .../lib/Model/AuthenticatorAssuranceLevel.php | 14 +- .../Model/BatchPatchIdentitiesResponse.php | 109 +- .../Model/ConsistencyRequestParameters.php | 117 +- clients/kratos/php/lib/Model/ContinueWith.php | 123 +- .../php/lib/Model/ContinueWithRecoveryUi.php | 117 +- .../lib/Model/ContinueWithRecoveryUiFlow.php | 115 +- .../Model/ContinueWithSetOrySessionToken.php | 117 +- .../php/lib/Model/ContinueWithSettingsUi.php | 117 +- .../lib/Model/ContinueWithSettingsUiFlow.php | 109 +- .../lib/Model/ContinueWithVerificationUi.php | 117 +- .../Model/ContinueWithVerificationUiFlow.php | 121 +- .../php/lib/Model/CourierMessageStatus.php | 14 +- .../php/lib/Model/CourierMessageType.php | 10 +- .../php/lib/Model/CreateIdentityBody.php | 171 +- .../CreateRecoveryCodeForIdentityBody.php | 153 +- .../CreateRecoveryLinkForIdentityBody.php | 119 +- .../php/lib/Model/DeleteMySessionsCount.php | 109 +- ...uthenticatorAssuranceLevelNotSatisfied.php | 115 +- .../ErrorBrowserLocationChangeRequired.php | 115 +- .../php/lib/Model/ErrorFlowReplaced.php | 115 +- clients/kratos/php/lib/Model/ErrorGeneric.php | 109 +- clients/kratos/php/lib/Model/FlowError.php | 127 +- clients/kratos/php/lib/Model/GenericError.php | 151 +- ...onse2001.php => GetVersion200Response.php} | 117 +- .../php/lib/Model/HealthNotReadyStatus.php | 109 +- clients/kratos/php/lib/Model/HealthStatus.php | 109 +- clients/kratos/php/lib/Model/Identity.php | 221 +- .../php/lib/Model/IdentityCredentials.php | 163 +- .../php/lib/Model/IdentityCredentialsCode.php | 122 +- .../php/lib/Model/IdentityCredentialsOidc.php | 109 +- .../Model/IdentityCredentialsOidcProvider.php | 139 +- .../lib/Model/IdentityCredentialsPassword.php | 109 +- .../kratos/php/lib/Model/IdentityPatch.php | 115 +- .../php/lib/Model/IdentityPatchResponse.php | 125 +- .../php/lib/Model/IdentitySchemaContainer.php | 115 +- .../php/lib/Model/IdentityWithCredentials.php | 115 +- .../lib/Model/IdentityWithCredentialsOidc.php | 109 +- .../IdentityWithCredentialsOidcConfig.php | 115 +- ...ntityWithCredentialsOidcConfigProvider.php | 115 +- .../Model/IdentityWithCredentialsPassword.php | 109 +- .../IdentityWithCredentialsPasswordConfig.php | 115 +- ...Response200.php => IsAlive200Response.php} | 117 +- ...Response503.php => IsReady503Response.php} | 117 +- clients/kratos/php/lib/Model/JsonPatch.php | 134 +- clients/kratos/php/lib/Model/LoginFlow.php | 277 +- .../kratos/php/lib/Model/LoginFlowState.php | 12 +- clients/kratos/php/lib/Model/LogoutFlow.php | 115 +- clients/kratos/php/lib/Model/Message.php | 197 +- .../kratos/php/lib/Model/MessageDispatch.php | 143 +- .../kratos/php/lib/Model/ModelInterface.php | 22 +- .../lib/Model/NeedsPrivilegedSessionError.php | 115 +- clients/kratos/php/lib/Model/OAuth2Client.php | 405 +- ...uth2ConsentRequestOpenIDConnectContext.php | 133 +- .../php/lib/Model/OAuth2LoginRequest.php | 157 +- .../php/lib/Model/PatchIdentitiesBody.php | 109 +- .../php/lib/Model/PerformNativeLogoutBody.php | 109 +- .../php/lib/Model/RecoveryCodeForIdentity.php | 121 +- clients/kratos/php/lib/Model/RecoveryFlow.php | 204 +- .../php/lib/Model/RecoveryFlowState.php | 12 +- .../php/lib/Model/RecoveryIdentityAddress.php | 133 +- .../php/lib/Model/RecoveryLinkForIdentity.php | 115 +- .../kratos/php/lib/Model/RegistrationFlow.php | 225 +- .../php/lib/Model/RegistrationFlowState.php | 12 +- .../lib/Model/SelfServiceFlowExpiredError.php | 127 +- clients/kratos/php/lib/Model/Session.php | 163 +- .../lib/Model/SessionAuthenticationMethod.php | 153 +- .../kratos/php/lib/Model/SessionDevice.php | 127 +- clients/kratos/php/lib/Model/SettingsFlow.php | 210 +- .../php/lib/Model/SettingsFlowState.php | 10 +- .../Model/SuccessfulCodeExchangeResponse.php | 115 +- .../php/lib/Model/SuccessfulNativeLogin.php | 149 +- .../Model/SuccessfulNativeRegistration.php | 127 +- .../kratos/php/lib/Model/TokenPagination.php | 119 +- .../php/lib/Model/TokenPaginationHeaders.php | 115 +- clients/kratos/php/lib/Model/UiContainer.php | 127 +- clients/kratos/php/lib/Model/UiNode.php | 165 +- .../php/lib/Model/UiNodeAnchorAttributes.php | 169 +- .../kratos/php/lib/Model/UiNodeAttributes.php | 332 +- .../php/lib/Model/UiNodeImageAttributes.php | 175 +- .../php/lib/Model/UiNodeInputAttributes.php | 284 +- clients/kratos/php/lib/Model/UiNodeMeta.php | 109 +- .../php/lib/Model/UiNodeScriptAttributes.php | 199 +- .../php/lib/Model/UiNodeTextAttributes.php | 163 +- clients/kratos/php/lib/Model/UiText.php | 133 +- .../php/lib/Model/UpdateIdentityBody.php | 157 +- .../php/lib/Model/UpdateLoginFlowBody.php | 275 +- .../Model/UpdateLoginFlowWithCodeMethod.php | 177 +- .../UpdateLoginFlowWithLookupSecretMethod.php | 121 +- .../Model/UpdateLoginFlowWithOidcMethod.php | 179 +- .../UpdateLoginFlowWithPasskeyMethod.php | 482 + .../UpdateLoginFlowWithPasswordMethod.php | 177 +- .../Model/UpdateLoginFlowWithTotpMethod.php | 165 +- .../UpdateLoginFlowWithWebAuthnMethod.php | 161 +- .../php/lib/Model/UpdateRecoveryFlowBody.php | 165 +- .../UpdateRecoveryFlowWithCodeMethod.php | 175 +- .../UpdateRecoveryFlowWithLinkMethod.php | 169 +- .../lib/Model/UpdateRegistrationFlowBody.php | 229 +- .../UpdateRegistrationFlowWithCodeMethod.php | 139 +- .../UpdateRegistrationFlowWithOidcMethod.php | 151 +- ...pdateRegistrationFlowWithPasskeyMethod.php | 553 + ...dateRegistrationFlowWithPasswordMethod.php | 133 +- ...pdateRegistrationFlowWithProfileMethod.php | 553 + ...dateRegistrationFlowWithWebAuthnMethod.php | 139 +- .../php/lib/Model/UpdateSettingsFlowBody.php | 319 +- .../UpdateSettingsFlowWithLookupMethod.php | 183 +- .../UpdateSettingsFlowWithOidcMethod.php | 173 +- .../UpdateSettingsFlowWithPasskeyMethod.php | 516 + .../UpdateSettingsFlowWithPasswordMethod.php | 165 +- .../UpdateSettingsFlowWithProfileMethod.php | 165 +- .../UpdateSettingsFlowWithTotpMethod.php | 171 +- .../UpdateSettingsFlowWithWebAuthnMethod.php | 167 +- .../lib/Model/UpdateVerificationFlowBody.php | 165 +- .../UpdateVerificationFlowWithCodeMethod.php | 175 +- .../UpdateVerificationFlowWithLinkMethod.php | 169 +- .../lib/Model/VerifiableIdentityAddress.php | 155 +- .../kratos/php/lib/Model/VerificationFlow.php | 198 +- .../php/lib/Model/VerificationFlowState.php | 12 +- clients/kratos/php/lib/Model/Version.php | 109 +- clients/kratos/php/lib/ObjectSerializer.php | 244 +- .../kratos/php/test/Api/CourierApiTest.php | 10 +- .../kratos/php/test/Api/FrontendApiTest.php | 66 +- .../kratos/php/test/Api/IdentityApiTest.php | 44 +- .../kratos/php/test/Api/MetadataApiTest.php | 12 +- .../Model/AuthenticatorAssuranceLevelTest.php | 8 +- .../BatchPatchIdentitiesResponseTest.php | 10 +- .../ConsistencyRequestParametersTest.php | 10 +- .../Model/ContinueWithRecoveryUiFlowTest.php | 12 +- .../test/Model/ContinueWithRecoveryUiTest.php | 12 +- .../ContinueWithSetOrySessionTokenTest.php | 12 +- .../Model/ContinueWithSettingsUiFlowTest.php | 10 +- .../test/Model/ContinueWithSettingsUiTest.php | 12 +- .../php/test/Model/ContinueWithTest.php | 14 +- .../ContinueWithVerificationUiFlowTest.php | 14 +- .../Model/ContinueWithVerificationUiTest.php | 12 +- .../test/Model/CourierMessageStatusTest.php | 8 +- .../php/test/Model/CourierMessageTypeTest.php | 8 +- .../php/test/Model/CreateIdentityBodyTest.php | 24 +- .../CreateRecoveryCodeForIdentityBodyTest.php | 21 +- .../CreateRecoveryLinkForIdentityBodyTest.php | 12 +- .../test/Model/DeleteMySessionsCountTest.php | 10 +- ...nticatorAssuranceLevelNotSatisfiedTest.php | 12 +- ...ErrorBrowserLocationChangeRequiredTest.php | 12 +- .../php/test/Model/ErrorFlowReplacedTest.php | 12 +- .../php/test/Model/ErrorGenericTest.php | 10 +- .../kratos/php/test/Model/FlowErrorTest.php | 16 +- .../php/test/Model/GenericErrorTest.php | 24 +- ...Test.php => GetVersion200ResponseTest.php} | 22 +- .../test/Model/HealthNotReadyStatusTest.php | 10 +- .../php/test/Model/HealthStatusTest.php | 10 +- .../Model/IdentityCredentialsCodeTest.php | 12 +- .../IdentityCredentialsOidcProviderTest.php | 20 +- .../Model/IdentityCredentialsOidcTest.php | 10 +- .../Model/IdentityCredentialsPasswordTest.php | 10 +- .../test/Model/IdentityCredentialsTest.php | 20 +- .../test/Model/IdentityPatchResponseTest.php | 14 +- .../php/test/Model/IdentityPatchTest.php | 12 +- .../Model/IdentitySchemaContainerTest.php | 12 +- .../kratos/php/test/Model/IdentityTest.php | 36 +- ...yWithCredentialsOidcConfigProviderTest.php | 12 +- .../IdentityWithCredentialsOidcConfigTest.php | 12 +- .../Model/IdentityWithCredentialsOidcTest.php | 10 +- ...ntityWithCredentialsPasswordConfigTest.php | 12 +- .../IdentityWithCredentialsPasswordTest.php | 10 +- .../Model/IdentityWithCredentialsTest.php | 12 +- ...200Test.php => IsAlive200ResponseTest.php} | 22 +- ...503Test.php => IsReady503ResponseTest.php} | 22 +- .../kratos/php/test/Model/JsonPatchTest.php | 16 +- .../php/test/Model/LoginFlowStateTest.php | 8 +- .../kratos/php/test/Model/LoginFlowTest.php | 51 +- .../kratos/php/test/Model/LogoutFlowTest.php | 12 +- .../php/test/Model/MessageDispatchTest.php | 20 +- clients/kratos/php/test/Model/MessageTest.php | 32 +- .../Model/NeedsPrivilegedSessionErrorTest.php | 12 +- .../php/test/Model/OAuth2ClientTest.php | 104 +- ...ConsentRequestOpenIDConnectContextTest.php | 18 +- .../php/test/Model/OAuth2LoginRequestTest.php | 26 +- .../test/Model/PatchIdentitiesBodyTest.php | 10 +- .../Model/PerformNativeLogoutBodyTest.php | 10 +- .../Model/RecoveryCodeForIdentityTest.php | 14 +- .../php/test/Model/RecoveryFlowStateTest.php | 8 +- .../php/test/Model/RecoveryFlowTest.php | 37 +- .../Model/RecoveryIdentityAddressTest.php | 18 +- .../Model/RecoveryLinkForIdentityTest.php | 12 +- .../test/Model/RegistrationFlowStateTest.php | 8 +- .../php/test/Model/RegistrationFlowTest.php | 36 +- .../Model/SelfServiceFlowExpiredErrorTest.php | 16 +- .../Model/SessionAuthenticationMethodTest.php | 18 +- .../php/test/Model/SessionDeviceTest.php | 16 +- clients/kratos/php/test/Model/SessionTest.php | 28 +- .../php/test/Model/SettingsFlowStateTest.php | 8 +- .../php/test/Model/SettingsFlowTest.php | 39 +- .../SuccessfulCodeExchangeResponseTest.php | 12 +- .../test/Model/SuccessfulNativeLoginTest.php | 21 +- .../SuccessfulNativeRegistrationTest.php | 16 +- .../test/Model/TokenPaginationHeadersTest.php | 12 +- .../php/test/Model/TokenPaginationTest.php | 12 +- .../kratos/php/test/Model/UiContainerTest.php | 16 +- .../test/Model/UiNodeAnchorAttributesTest.php | 16 +- .../php/test/Model/UiNodeAttributesTest.php | 61 +- .../test/Model/UiNodeImageAttributesTest.php | 18 +- .../test/Model/UiNodeInputAttributesTest.php | 37 +- .../kratos/php/test/Model/UiNodeMetaTest.php | 10 +- .../test/Model/UiNodeScriptAttributesTest.php | 26 +- clients/kratos/php/test/Model/UiNodeTest.php | 18 +- .../test/Model/UiNodeTextAttributesTest.php | 14 +- clients/kratos/php/test/Model/UiTextTest.php | 16 +- .../php/test/Model/UpdateIdentityBodyTest.php | 20 +- .../test/Model/UpdateLoginFlowBodyTest.php | 56 +- .../UpdateLoginFlowWithCodeMethodTest.php | 27 +- ...ateLoginFlowWithLookupSecretMethodTest.php | 14 +- .../UpdateLoginFlowWithOidcMethodTest.php | 31 +- .../UpdateLoginFlowWithPasskeyMethodTest.php | 109 + .../UpdateLoginFlowWithPasswordMethodTest.php | 27 +- .../UpdateLoginFlowWithTotpMethodTest.php | 23 +- .../UpdateLoginFlowWithWebAuthnMethodTest.php | 25 +- .../test/Model/UpdateRecoveryFlowBodyTest.php | 25 +- .../UpdateRecoveryFlowWithCodeMethodTest.php | 25 +- .../UpdateRecoveryFlowWithLinkMethodTest.php | 23 +- .../Model/UpdateRegistrationFlowBodyTest.php | 43 +- ...dateRegistrationFlowWithCodeMethodTest.php | 20 +- ...dateRegistrationFlowWithOidcMethodTest.php | 24 +- ...eRegistrationFlowWithPasskeyMethodTest.php | 127 + ...RegistrationFlowWithPasswordMethodTest.php | 18 +- ...eRegistrationFlowWithProfileMethodTest.php | 127 + ...RegistrationFlowWithWebAuthnMethodTest.php | 20 +- .../test/Model/UpdateSettingsFlowBodyTest.php | 69 +- ...UpdateSettingsFlowWithLookupMethodTest.php | 29 +- .../UpdateSettingsFlowWithOidcMethodTest.php | 29 +- ...pdateSettingsFlowWithPasskeyMethodTest.php | 118 + ...dateSettingsFlowWithPasswordMethodTest.php | 23 +- ...pdateSettingsFlowWithProfileMethodTest.php | 23 +- .../UpdateSettingsFlowWithTotpMethodTest.php | 25 +- ...dateSettingsFlowWithWebAuthnMethodTest.php | 27 +- .../Model/UpdateVerificationFlowBodyTest.php | 25 +- ...dateVerificationFlowWithCodeMethodTest.php | 25 +- ...dateVerificationFlowWithLinkMethodTest.php | 23 +- .../Model/VerifiableIdentityAddressTest.php | 24 +- .../test/Model/VerificationFlowStateTest.php | 8 +- .../php/test/Model/VerificationFlowTest.php | 35 +- clients/kratos/php/test/Model/VersionTest.php | 10 +- .../python/.github/workflows/python.yml | 38 + clients/kratos/python/.gitlab-ci.yml | 27 +- .../kratos/python/.openapi-generator/FILES | 263 +- .../kratos/python/.openapi-generator/VERSION | 2 +- clients/kratos/python/README.md | 64 +- .../docs/AuthenticatorAssuranceLevel.md | 13 +- .../docs/BatchPatchIdentitiesResponse.md | 21 +- .../docs/ConsistencyRequestParameters.md | 19 +- clients/kratos/python/docs/ContinueWith.md | 25 +- .../python/docs/ContinueWithRecoveryUi.md | 21 +- .../python/docs/ContinueWithRecoveryUiFlow.md | 19 +- .../docs/ContinueWithSetOrySessionToken.md | 21 +- .../python/docs/ContinueWithSettingsUi.md | 21 +- .../python/docs/ContinueWithSettingsUiFlow.md | 19 +- .../python/docs/ContinueWithVerificationUi.md | 21 +- .../docs/ContinueWithVerificationUiFlow.md | 21 +- clients/kratos/python/docs/CourierApi.md | 65 +- .../python/docs/CourierMessageStatus.md | 13 +- .../kratos/python/docs/CourierMessageType.md | 9 +- .../kratos/python/docs/CreateIdentityBody.md | 31 +- .../docs/CreateRecoveryCodeForIdentityBody.md | 22 +- .../docs/CreateRecoveryLinkForIdentityBody.md | 21 +- .../python/docs/DeleteMySessionsCount.md | 19 +- ...AuthenticatorAssuranceLevelNotSatisfied.md | 19 +- .../ErrorBrowserLocationChangeRequired.md | 19 +- .../kratos/python/docs/ErrorFlowReplaced.md | 19 +- clients/kratos/python/docs/ErrorGeneric.md | 19 +- clients/kratos/python/docs/FlowError.md | 23 +- clients/kratos/python/docs/FrontendApi.md | 1015 +- clients/kratos/python/docs/GenericError.md | 23 +- .../python/docs/GetVersion200Response.md | 19 +- .../python/docs/HealthNotReadyStatus.md | 21 +- clients/kratos/python/docs/HealthStatus.md | 19 +- clients/kratos/python/docs/Identity.md | 35 +- clients/kratos/python/docs/IdentityApi.md | 754 +- .../kratos/python/docs/IdentityCredentials.md | 25 +- .../python/docs/IdentityCredentialsCode.md | 21 +- .../python/docs/IdentityCredentialsOidc.md | 21 +- .../docs/IdentityCredentialsOidcProvider.md | 19 +- .../docs/IdentityCredentialsPassword.md | 19 +- clients/kratos/python/docs/IdentityPatch.md | 19 +- .../python/docs/IdentityPatchResponse.md | 21 +- .../python/docs/IdentitySchemaContainer.md | 21 +- clients/kratos/python/docs/IdentitySchemas.md | 12 - .../python/docs/IdentityWithCredentials.md | 19 +- .../docs/IdentityWithCredentialsOidc.md | 19 +- .../docs/IdentityWithCredentialsOidcConfig.md | 21 +- ...entityWithCredentialsOidcConfigProvider.md | 19 +- .../docs/IdentityWithCredentialsPassword.md | 19 +- .../IdentityWithCredentialsPasswordConfig.md | 19 +- .../kratos/python/docs/IsAlive200Response.md | 19 +- .../kratos/python/docs/IsReady503Response.md | 21 +- clients/kratos/python/docs/JsonPatch.md | 23 +- .../kratos/python/docs/JsonPatchDocument.md | 12 - clients/kratos/python/docs/LoginFlow.md | 34 +- clients/kratos/python/docs/LoginFlowState.md | 11 +- clients/kratos/python/docs/LogoutFlow.md | 19 +- clients/kratos/python/docs/Message.md | 23 +- clients/kratos/python/docs/MessageDispatch.md | 21 +- clients/kratos/python/docs/MetadataApi.md | 52 +- .../docs/NeedsPrivilegedSessionError.md | 21 +- clients/kratos/python/docs/NullDuration.md | 11 - clients/kratos/python/docs/OAuth2Client.md | 39 +- ...Auth2ConsentRequestOpenIDConnectContext.md | 25 +- .../kratos/python/docs/OAuth2LoginRequest.md | 23 +- .../kratos/python/docs/PatchIdentitiesBody.md | 21 +- .../python/docs/PerformNativeLogoutBody.md | 19 +- .../python/docs/RecoveryCodeForIdentity.md | 21 +- clients/kratos/python/docs/RecoveryFlow.md | 28 +- .../kratos/python/docs/RecoveryFlowState.md | 11 +- .../python/docs/RecoveryIdentityAddress.md | 23 +- .../python/docs/RecoveryLinkForIdentity.md | 21 +- .../kratos/python/docs/RegistrationFlow.md | 33 +- .../python/docs/RegistrationFlowState.md | 11 +- .../docs/SelfServiceFlowExpiredError.md | 19 +- clients/kratos/python/docs/Session.md | 25 +- .../docs/SessionAuthenticationMethod.md | 19 +- .../docs/SessionAuthenticationMethods.md | 12 - clients/kratos/python/docs/SessionDevice.md | 19 +- clients/kratos/python/docs/SettingsFlow.md | 28 +- .../kratos/python/docs/SettingsFlowState.md | 9 +- .../docs/SuccessfulCodeExchangeResponse.md | 19 +- .../python/docs/SuccessfulNativeLogin.md | 20 +- .../docs/SuccessfulNativeRegistration.md | 21 +- clients/kratos/python/docs/TokenPagination.md | 23 +- .../python/docs/TokenPaginationHeaders.md | 19 +- clients/kratos/python/docs/UiContainer.md | 23 +- clients/kratos/python/docs/UiNode.md | 23 +- .../python/docs/UiNodeAnchorAttributes.md | 21 +- .../kratos/python/docs/UiNodeAttributes.md | 54 +- .../python/docs/UiNodeImageAttributes.md | 21 +- .../python/docs/UiNodeInputAttributes.md | 30 +- clients/kratos/python/docs/UiNodeMeta.md | 19 +- .../python/docs/UiNodeScriptAttributes.md | 23 +- .../python/docs/UiNodeTextAttributes.md | 21 +- clients/kratos/python/docs/UiNodes.md | 11 - clients/kratos/python/docs/UiText.md | 21 +- clients/kratos/python/docs/UiTexts.md | 11 - .../kratos/python/docs/UpdateIdentityBody.md | 27 +- .../kratos/python/docs/UpdateLoginFlowBody.md | 39 +- .../docs/UpdateLoginFlowWithCodeMethod.md | 24 +- .../UpdateLoginFlowWithLookupSecretMethod.md | 21 +- .../docs/UpdateLoginFlowWithOidcMethod.md | 28 +- .../docs/UpdateLoginFlowWithPasskeyMethod.md | 32 + .../docs/UpdateLoginFlowWithPasswordMethod.md | 22 +- .../docs/UpdateLoginFlowWithTotpMethod.md | 22 +- .../docs/UpdateLoginFlowWithWebAuthnMethod.md | 22 +- .../python/docs/UpdateRecoveryFlowBody.md | 24 +- .../docs/UpdateRecoveryFlowWithCodeMethod.md | 22 +- .../docs/UpdateRecoveryFlowWithLinkMethod.md | 22 +- .../python/docs/UpdateRegistrationFlowBody.md | 34 +- .../UpdateRegistrationFlowWithCodeMethod.md | 25 +- .../UpdateRegistrationFlowWithOidcMethod.md | 29 +- ...UpdateRegistrationFlowWithPasskeyMethod.md | 34 + ...pdateRegistrationFlowWithPasswordMethod.md | 25 +- ...UpdateRegistrationFlowWithProfileMethod.md | 34 + ...pdateRegistrationFlowWithWebAuthnMethod.md | 25 +- .../python/docs/UpdateSettingsFlowBody.md | 30 +- .../UpdateSettingsFlowWithLookupMethod.md | 22 +- .../docs/UpdateSettingsFlowWithOidcMethod.md | 26 +- .../UpdateSettingsFlowWithPasskeyMethod.md | 33 + .../UpdateSettingsFlowWithPasswordMethod.md | 22 +- .../UpdateSettingsFlowWithProfileMethod.md | 24 +- .../docs/UpdateSettingsFlowWithTotpMethod.md | 22 +- .../UpdateSettingsFlowWithWebAuthnMethod.md | 22 +- .../python/docs/UpdateVerificationFlowBody.md | 24 +- .../UpdateVerificationFlowWithCodeMethod.md | 22 +- .../UpdateVerificationFlowWithLinkMethod.md | 22 +- .../python/docs/VerifiableIdentityAddress.md | 27 +- .../kratos/python/docs/VerificationFlow.md | 28 +- .../python/docs/VerificationFlowState.md | 11 +- clients/kratos/python/docs/Version.md | 19 +- .../python/ory_kratos_client/__init__.py | 146 +- .../python/ory_kratos_client/api/__init__.py | 11 +- .../ory_kratos_client/api/courier_api.py | 867 +- .../ory_kratos_client/api/frontend_api.py | 12879 +++++++++++----- .../ory_kratos_client/api/identity_api.py | 7817 ++++++---- .../ory_kratos_client/api/metadata_api.py | 1077 +- .../python/ory_kratos_client/api_client.py | 1213 +- .../python/ory_kratos_client/api_response.py | 21 + .../python/ory_kratos_client/apis/__init__.py | 20 - .../python/ory_kratos_client/configuration.py | 156 +- .../python/ory_kratos_client/exceptions.py | 105 +- .../ory_kratos_client/model/__init__.py | 5 - .../model/authenticator_assurance_level.py | 293 - .../model/batch_patch_identities_response.py | 270 - .../model/consistency_request_parameters.py | 269 - .../ory_kratos_client/model/continue_with.py | 356 - .../model/continue_with_recovery_ui.py | 287 - .../model/continue_with_recovery_ui_flow.py | 274 - .../continue_with_set_ory_session_token.py | 281 - .../model/continue_with_settings_ui.py | 287 - .../model/continue_with_settings_ui_flow.py | 270 - .../model/continue_with_verification_ui.py | 287 - .../continue_with_verification_ui_flow.py | 280 - .../model/courier_message_status.py | 293 - .../model/courier_message_type.py | 291 - .../model/create_identity_body.py | 314 - .../create_recovery_code_for_identity_body.py | 279 - .../create_recovery_link_for_identity_body.py | 279 - .../model/delete_my_sessions_count.py | 264 - ...enticator_assurance_level_not_satisfied.py | 274 - .../error_browser_location_change_required.py | 274 - .../model/error_flow_replaced.py | 274 - .../ory_kratos_client/model/error_generic.py | 276 - .../ory_kratos_client/model/flow_error.py | 282 - .../ory_kratos_client/model/generic_error.py | 298 - .../model/get_version200_response.py | 270 - .../model/health_not_ready_status.py | 264 - .../ory_kratos_client/model/health_status.py | 264 - .../ory_kratos_client/model/identity.py | 342 - .../model/identity_credentials.py | 294 - .../model/identity_credentials_code.py | 268 - .../model/identity_credentials_oidc.py | 270 - .../identity_credentials_oidc_provider.py | 284 - .../model/identity_credentials_password.py | 264 - .../ory_kratos_client/model/identity_patch.py | 274 - .../model/identity_patch_response.py | 275 - .../model/identity_schema_container.py | 268 - .../model/identity_schemas.py | 292 - .../model/identity_with_credentials.py | 276 - .../model/identity_with_credentials_oidc.py | 270 - .../identity_with_credentials_oidc_config.py | 276 - ...y_with_credentials_oidc_config_provider.py | 276 - .../identity_with_credentials_password.py | 270 - ...entity_with_credentials_password_config.py | 268 - .../model/is_alive200_response.py | 270 - .../model/is_ready503_response.py | 270 - .../ory_kratos_client/model/json_patch.py | 284 - .../model/json_patch_document.py | 292 - .../ory_kratos_client/model/login_flow.py | 366 - .../model/login_flow_state.py | 292 - .../ory_kratos_client/model/logout_flow.py | 276 - .../python/ory_kratos_client/model/message.py | 355 - .../model/message_dispatch.py | 302 - .../model/needs_privileged_session_error.py | 280 - .../ory_kratos_client/model/null_duration.py | 292 - .../ory_kratos_client/model/o_auth2_client.py | 452 - ...consent_request_open_id_connect_context.py | 280 - .../model/o_auth2_login_request.py | 304 - .../model/patch_identities_body.py | 270 - .../model/perform_native_logout_body.py | 270 - .../model/recovery_code_for_identity.py | 280 - .../ory_kratos_client/model/recovery_flow.py | 326 - .../model/recovery_flow_state.py | 292 - .../model/recovery_identity_address.py | 290 - .../model/recovery_link_for_identity.py | 274 - .../model/registration_flow.py | 352 - .../model/registration_flow_state.py | 292 - .../model/self_service_flow_expired_error.py | 282 - .../python/ory_kratos_client/model/session.py | 318 - .../model/session_authentication_method.py | 297 - .../model/session_authentication_methods.py | 292 - .../ory_kratos_client/model/session_device.py | 282 - .../ory_kratos_client/model/settings_flow.py | 334 - .../model/settings_flow_state.py | 291 - .../successful_code_exchange_response.py | 280 - .../model/successful_native_login.py | 280 - .../model/successful_native_registration.py | 292 - .../model/token_pagination.py | 274 - .../model/token_pagination_headers.py | 268 - .../ory_kratos_client/model/ui_container.py | 294 - .../python/ory_kratos_client/model/ui_node.py | 322 - .../model/ui_node_anchor_attributes.py | 294 - .../model/ui_node_attributes.py | 440 - .../model/ui_node_image_attributes.py | 294 - .../model/ui_node_input_attributes.py | 340 - .../ory_kratos_client/model/ui_node_meta.py | 270 - .../model/ui_node_script_attributes.py | 318 - .../model/ui_node_text_attributes.py | 288 - .../ory_kratos_client/model/ui_nodes.py | 292 - .../python/ory_kratos_client/model/ui_text.py | 291 - .../ory_kratos_client/model/ui_texts.py | 292 - .../model/update_identity_body.py | 304 - .../model/update_login_flow_body.py | 407 - .../update_login_flow_with_code_method.py | 288 - ...te_login_flow_with_lookup_secret_method.py | 280 - .../update_login_flow_with_oidc_method.py | 296 - .../update_login_flow_with_password_method.py | 290 - .../update_login_flow_with_totp_method.py | 280 - ...update_login_flow_with_web_authn_method.py | 284 - .../model/update_recovery_flow_body.py | 347 - .../update_recovery_flow_with_code_method.py | 286 - .../update_recovery_flow_with_link_method.py | 284 - .../model/update_registration_flow_body.py | 389 - ...date_registration_flow_with_code_method.py | 292 - ...date_registration_flow_with_oidc_method.py | 300 - ..._registration_flow_with_password_method.py | 290 - ...registration_flow_with_web_authn_method.py | 292 - .../model/update_settings_flow_body.py | 415 - ...update_settings_flow_with_lookup_method.py | 290 - .../update_settings_flow_with_oidc_method.py | 290 - ...date_settings_flow_with_password_method.py | 280 - ...pdate_settings_flow_with_profile_method.py | 280 - .../update_settings_flow_with_totp_method.py | 282 - ...ate_settings_flow_with_web_authn_method.py | 286 - .../model/update_verification_flow_body.py | 347 - ...date_verification_flow_with_code_method.py | 286 - ...date_verification_flow_with_link_method.py | 284 - .../model/verifiable_identity_address.py | 308 - .../model/verification_flow.py | 314 - .../model/verification_flow_state.py | 292 - .../python/ory_kratos_client/model/version.py | 264 - .../python/ory_kratos_client/model_utils.py | 2059 --- .../ory_kratos_client/models/__init__.py | 258 +- .../models/authenticator_assurance_level.py | 40 + .../models/batch_patch_identities_response.py | 109 + .../models/consistency_request_parameters.py | 111 + .../ory_kratos_client/models/continue_with.py | 214 + .../models/continue_with_recovery_ui.py | 114 + .../models/continue_with_recovery_ui_flow.py | 103 + .../continue_with_set_ory_session_token.py | 110 + .../models/continue_with_settings_ui.py | 114 + .../models/continue_with_settings_ui_flow.py | 101 + .../models/continue_with_verification_ui.py | 114 + .../continue_with_verification_ui_flow.py | 105 + .../models/courier_message_status.py | 40 + .../models/courier_message_type.py | 38 + .../models/create_identity_body.py | 155 + .../create_recovery_code_for_identity_body.py | 116 + .../create_recovery_link_for_identity_body.py | 114 + .../models/delete_my_sessions_count.py | 101 + ...enticator_assurance_level_not_satisfied.py | 107 + .../error_browser_location_change_required.py | 107 + .../models/error_flow_replaced.py | 107 + .../ory_kratos_client/models/error_generic.py | 105 + .../ory_kratos_client/models/flow_error.py | 108 + .../ory_kratos_client/models/generic_error.py | 115 + .../models/get_version200_response.py | 101 + .../models/health_not_ready_status.py | 101 + .../ory_kratos_client/models/health_status.py | 101 + .../ory_kratos_client/models/identity.py | 187 + .../models/identity_credentials.py | 122 + .../models/identity_credentials_code.py | 109 + .../models/identity_credentials_oidc.py | 109 + .../identity_credentials_oidc_provider.py | 111 + .../models/identity_credentials_password.py | 101 + .../models/identity_patch.py | 107 + .../models/identity_patch_response.py | 115 + .../models/identity_schema_container.py | 103 + .../models/identity_with_credentials.py | 111 + .../models/identity_with_credentials_oidc.py | 105 + .../identity_with_credentials_oidc_config.py | 115 + ...y_with_credentials_oidc_config_provider.py | 103 + .../identity_with_credentials_password.py | 105 + ...entity_with_credentials_password_config.py | 103 + .../models/is_alive200_response.py | 101 + .../models/is_ready503_response.py | 101 + .../ory_kratos_client/models/json_patch.py | 112 + .../ory_kratos_client/models/login_flow.py | 165 + .../models/login_flow_state.py | 39 + .../ory_kratos_client/models/logout_flow.py | 103 + .../ory_kratos_client/models/message.py | 141 + .../models/message_dispatch.py | 119 + .../models/needs_privileged_session_error.py | 107 + .../models/o_auth2_client.py | 206 + ...consent_request_open_id_connect_context.py | 109 + .../models/o_auth2_login_request.py | 125 + .../models/patch_identities_body.py | 109 + .../models/perform_native_logout_body.py | 101 + .../models/recovery_code_for_identity.py | 106 + .../ory_kratos_client/models/recovery_flow.py | 139 + .../models/recovery_flow_state.py | 39 + .../models/recovery_identity_address.py | 110 + .../models/recovery_link_for_identity.py | 104 + .../models/registration_flow.py | 156 + .../models/registration_flow_state.py | 39 + .../models/self_service_flow_expired_error.py | 112 + .../ory_kratos_client/models/session.py | 141 + .../models/session_authentication_method.py | 121 + .../models/session_device.py | 107 + .../ory_kratos_client/models/settings_flow.py | 145 + .../models/settings_flow_state.py | 38 + .../successful_code_exchange_response.py | 107 + .../models/successful_native_login.py | 117 + .../models/successful_native_registration.py | 123 + .../models/token_pagination.py | 104 + .../models/token_pagination_headers.py | 103 + .../ory_kratos_client/models/ui_container.py | 123 + .../ory_kratos_client/models/ui_node.py | 139 + .../models/ui_node_anchor_attributes.py | 118 + .../models/ui_node_attributes.py | 238 + .../models/ui_node_image_attributes.py | 116 + .../models/ui_node_input_attributes.py | 154 + .../ory_kratos_client/models/ui_node_meta.py | 105 + .../models/ui_node_script_attributes.py | 124 + .../models/ui_node_text_attributes.py | 116 + .../ory_kratos_client/models/ui_text.py | 114 + .../models/update_identity_body.py | 132 + .../models/update_login_flow_body.py | 286 + .../update_login_flow_with_code_method.py | 111 + ...te_login_flow_with_lookup_secret_method.py | 105 + .../update_login_flow_with_oidc_method.py | 115 + .../update_login_flow_with_passkey_method.py | 105 + .../update_login_flow_with_password_method.py | 111 + .../update_login_flow_with_totp_method.py | 107 + ...update_login_flow_with_web_authn_method.py | 109 + .../models/update_recovery_flow_body.py | 166 + .../update_recovery_flow_with_code_method.py | 116 + .../update_recovery_flow_with_link_method.py | 114 + .../models/update_registration_flow_body.py | 238 + ...date_registration_flow_with_code_method.py | 111 + ...date_registration_flow_with_oidc_method.py | 115 + ...e_registration_flow_with_passkey_method.py | 109 + ..._registration_flow_with_password_method.py | 109 + ...e_registration_flow_with_profile_method.py | 109 + ...registration_flow_with_web_authn_method.py | 111 + .../models/update_settings_flow_body.py | 286 + ...update_settings_flow_with_lookup_method.py | 113 + .../update_settings_flow_with_oidc_method.py | 113 + ...pdate_settings_flow_with_passkey_method.py | 107 + ...date_settings_flow_with_password_method.py | 107 + ...pdate_settings_flow_with_profile_method.py | 107 + .../update_settings_flow_with_totp_method.py | 109 + ...ate_settings_flow_with_web_authn_method.py | 111 + .../models/update_verification_flow_body.py | 166 + ...date_verification_flow_with_code_method.py | 116 + ...date_verification_flow_with_link_method.py | 114 + .../models/verifiable_identity_address.py | 123 + .../models/verification_flow.py | 129 + .../models/verification_flow_state.py | 39 + .../ory_kratos_client/models/version.py | 101 + .../kratos/python/ory_kratos_client/py.typed | 0 .../kratos/python/ory_kratos_client/rest.py | 377 +- clients/kratos/python/pyproject.toml | 71 + clients/kratos/python/requirements.txt | 4 +- clients/kratos/python/setup.py | 31 +- clients/kratos/python/test-requirements.txt | 4 + .../test_authenticator_assurance_level.py | 22 +- .../test_batch_patch_identities_response.py | 47 +- .../test_consistency_request_parameters.py | 40 +- .../kratos/python/test/test_continue_with.py | 59 +- .../test/test_continue_with_recovery_ui.py | 49 +- .../test_continue_with_recovery_ui_flow.py | 42 +- ...est_continue_with_set_ory_session_token.py | 43 +- .../test/test_continue_with_settings_ui.py | 47 +- .../test_continue_with_settings_ui_flow.py | 41 +- .../test_continue_with_verification_ui.py | 51 +- ...test_continue_with_verification_ui_flow.py | 44 +- .../kratos/python/test/test_courier_api.py | 29 +- .../test/test_courier_message_status.py | 22 +- .../python/test/test_courier_message_type.py | 22 +- .../python/test/test_create_identity_body.py | 80 +- ..._create_recovery_code_for_identity_body.py | 43 +- ..._create_recovery_link_for_identity_body.py | 42 +- .../test/test_delete_my_sessions_count.py | 40 +- ...enticator_assurance_level_not_satisfied.py | 51 +- ..._error_browser_location_change_required.py | 52 +- .../python/test/test_error_flow_replaced.py | 51 +- .../kratos/python/test/test_error_generic.py | 59 +- clients/kratos/python/test/test_flow_error.py | 44 +- .../kratos/python/test/test_frontend_api.py | 141 +- .../kratos/python/test/test_generic_error.py | 48 +- .../test/test_get_version200_response.py | 41 +- .../test/test_health_not_ready_status.py | 42 +- .../kratos/python/test/test_health_status.py | 40 +- clients/kratos/python/test/test_identity.py | 90 +- .../kratos/python/test/test_identity_api.py | 93 +- .../python/test/test_identity_credentials.py | 47 +- .../test/test_identity_credentials_code.py | 41 +- .../test/test_identity_credentials_oidc.py | 50 +- ...test_identity_credentials_oidc_provider.py | 45 +- .../test_identity_credentials_password.py | 40 +- .../kratos/python/test/test_identity_patch.py | 76 +- .../test/test_identity_patch_response.py | 42 +- .../test/test_identity_schema_container.py | 41 +- .../python/test/test_identity_schemas.py | 38 - .../test/test_identity_with_credentials.py | 53 +- .../test_identity_with_credentials_oidc.py | 47 +- ...t_identity_with_credentials_oidc_config.py | 51 +- ...y_with_credentials_oidc_config_provider.py | 43 +- ...test_identity_with_credentials_password.py | 44 +- ...entity_with_credentials_password_config.py | 41 +- .../python/test/test_is_alive200_response.py | 41 +- .../python/test/test_is_ready503_response.py | 45 +- clients/kratos/python/test/test_json_patch.py | 45 +- .../python/test/test_json_patch_document.py | 38 - clients/kratos/python/test/test_login_flow.py | 206 +- .../python/test/test_login_flow_state.py | 22 +- .../kratos/python/test/test_logout_flow.py | 43 +- clients/kratos/python/test/test_message.py | 75 +- .../python/test/test_message_dispatch.py | 50 +- .../kratos/python/test/test_metadata_api.py | 33 +- .../test_needs_privileged_session_error.py | 52 +- .../kratos/python/test/test_null_duration.py | 36 - .../kratos/python/test/test_o_auth2_client.py | 103 +- ...consent_request_open_id_connect_context.py | 50 +- .../python/test/test_o_auth2_login_request.py | 131 +- .../python/test/test_patch_identities_body.py | 79 +- .../test/test_perform_native_logout_body.py | 41 +- .../test/test_recovery_code_for_identity.py | 44 +- .../kratos/python/test/test_recovery_flow.py | 111 +- .../python/test/test_recovery_flow_state.py | 22 +- .../test/test_recovery_identity_address.py | 47 +- .../test/test_recovery_link_for_identity.py | 42 +- .../python/test/test_registration_flow.py | 200 +- .../test/test_registration_flow_state.py | 22 +- .../test_self_service_flow_expired_error.py | 53 +- clients/kratos/python/test/test_session.py | 112 +- .../test_session_authentication_method.py | 46 +- .../test_session_authentication_methods.py | 38 - .../kratos/python/test/test_session_device.py | 44 +- .../kratos/python/test/test_settings_flow.py | 197 +- .../python/test/test_settings_flow_state.py | 22 +- .../test_successful_code_exchange_response.py | 172 +- .../test/test_successful_native_login.py | 175 +- .../test_successful_native_registration.py | 198 +- .../python/test/test_token_pagination.py | 41 +- .../test/test_token_pagination_headers.py | 41 +- .../kratos/python/test/test_ui_container.py | 92 +- clients/kratos/python/test/test_ui_node.py | 77 +- .../test/test_ui_node_anchor_attributes.py | 57 +- .../python/test/test_ui_node_attributes.py | 110 +- .../test/test_ui_node_image_attributes.py | 49 +- .../test/test_ui_node_input_attributes.py | 60 +- .../kratos/python/test/test_ui_node_meta.py | 46 +- .../test/test_ui_node_script_attributes.py | 57 +- .../test/test_ui_node_text_attributes.py | 55 +- clients/kratos/python/test/test_ui_nodes.py | 38 - clients/kratos/python/test/test_ui_text.py | 46 +- clients/kratos/python/test/test_ui_texts.py | 38 - .../python/test/test_update_identity_body.py | 58 +- .../test/test_update_login_flow_body.py | 75 +- ...test_update_login_flow_with_code_method.py | 47 +- ...te_login_flow_with_lookup_secret_method.py | 44 +- ...test_update_login_flow_with_oidc_method.py | 49 +- ...t_update_login_flow_with_passkey_method.py | 55 + ..._update_login_flow_with_password_method.py | 48 +- ...test_update_login_flow_with_totp_method.py | 45 +- ...update_login_flow_with_web_authn_method.py | 46 +- .../test/test_update_recovery_flow_body.py | 50 +- ...t_update_recovery_flow_with_code_method.py | 45 +- ...t_update_recovery_flow_with_link_method.py | 45 +- .../test_update_registration_flow_body.py | 65 +- ...date_registration_flow_with_code_method.py | 47 +- ...date_registration_flow_with_oidc_method.py | 49 +- ...e_registration_flow_with_passkey_method.py | 58 + ..._registration_flow_with_password_method.py | 47 +- ...e_registration_flow_with_profile_method.py | 58 + ...registration_flow_with_web_authn_method.py | 47 +- .../test/test_update_settings_flow_body.py | 74 +- ...update_settings_flow_with_lookup_method.py | 47 +- ...t_update_settings_flow_with_oidc_method.py | 47 +- ...pdate_settings_flow_with_passkey_method.py | 56 + ...date_settings_flow_with_password_method.py | 45 +- ...pdate_settings_flow_with_profile_method.py | 45 +- ...t_update_settings_flow_with_totp_method.py | 45 +- ...ate_settings_flow_with_web_authn_method.py | 46 +- .../test_update_verification_flow_body.py | 50 +- ...date_verification_flow_with_code_method.py | 45 +- ...date_verification_flow_with_link_method.py | 45 +- .../test/test_verifiable_identity_address.py | 51 +- .../python/test/test_verification_flow.py | 103 +- .../test/test_verification_flow_state.py | 22 +- clients/kratos/python/test/test_version.py | 40 +- clients/kratos/ruby/.gitlab-ci.yml | 2 +- clients/kratos/ruby/.openapi-generator/FILES | 14 +- .../kratos/ruby/.openapi-generator/VERSION | 2 +- clients/kratos/ruby/Gemfile.lock | 26 +- clients/kratos/ruby/README.md | 18 +- clients/kratos/ruby/docs/ContinueWith.md | 1 + .../docs/CreateRecoveryCodeForIdentityBody.md | 2 + clients/kratos/ruby/docs/FrontendApi.md | 4 +- clients/kratos/ruby/docs/IdentityApi.md | 22 +- .../kratos/ruby/docs/IdentityCredentials.md | 2 +- clients/kratos/ruby/docs/LoginFlow.md | 4 +- clients/kratos/ruby/docs/RecoveryFlow.md | 2 + clients/kratos/ruby/docs/RegistrationFlow.md | 2 +- clients/kratos/ruby/docs/SettingsFlow.md | 2 + .../kratos/ruby/docs/SuccessfulNativeLogin.md | 2 + clients/kratos/ruby/docs/UiNode.md | 2 +- .../ruby/docs/UiNodeAnchorAttributes.md | 2 +- clients/kratos/ruby/docs/UiNodeAttributes.md | 1 + .../kratos/ruby/docs/UiNodeImageAttributes.md | 2 +- .../kratos/ruby/docs/UiNodeInputAttributes.md | 4 +- .../ruby/docs/UiNodeScriptAttributes.md | 2 +- .../kratos/ruby/docs/UiNodeTextAttributes.md | 2 +- .../kratos/ruby/docs/UpdateLoginFlowBody.md | 4 + .../docs/UpdateLoginFlowWithCodeMethod.md | 4 +- .../docs/UpdateLoginFlowWithOidcMethod.md | 2 + .../docs/UpdateLoginFlowWithPasskeyMethod.md | 22 + .../docs/UpdateLoginFlowWithPasswordMethod.md | 4 +- .../docs/UpdateLoginFlowWithTotpMethod.md | 4 +- .../docs/UpdateLoginFlowWithWebAuthnMethod.md | 2 + .../ruby/docs/UpdateRecoveryFlowBody.md | 1 + .../docs/UpdateRecoveryFlowWithCodeMethod.md | 4 +- .../docs/UpdateRecoveryFlowWithLinkMethod.md | 4 +- .../ruby/docs/UpdateRegistrationFlowBody.md | 4 + ...UpdateRegistrationFlowWithPasskeyMethod.md | 26 + ...UpdateRegistrationFlowWithProfileMethod.md | 26 + .../ruby/docs/UpdateSettingsFlowBody.md | 4 + .../UpdateSettingsFlowWithLookupMethod.md | 4 +- .../docs/UpdateSettingsFlowWithOidcMethod.md | 2 + .../UpdateSettingsFlowWithPasskeyMethod.md | 24 + .../UpdateSettingsFlowWithPasswordMethod.md | 4 +- .../UpdateSettingsFlowWithProfileMethod.md | 4 +- .../docs/UpdateSettingsFlowWithTotpMethod.md | 4 +- .../UpdateSettingsFlowWithWebAuthnMethod.md | 2 + .../ruby/docs/UpdateVerificationFlowBody.md | 1 + .../UpdateVerificationFlowWithCodeMethod.md | 4 +- .../UpdateVerificationFlowWithLinkMethod.md | 4 +- clients/kratos/ruby/docs/VerificationFlow.md | 2 + clients/kratos/ruby/lib/ory-kratos-client.rb | 8 +- .../lib/ory-kratos-client/api/courier_api.rb | 4 +- .../lib/ory-kratos-client/api/frontend_api.rb | 7 +- .../lib/ory-kratos-client/api/identity_api.rb | 27 +- .../lib/ory-kratos-client/api/metadata_api.rb | 4 +- .../ruby/lib/ory-kratos-client/api_client.rb | 50 +- .../ruby/lib/ory-kratos-client/api_error.rb | 5 +- .../lib/ory-kratos-client/configuration.rb | 47 +- .../models/authenticator_assurance_level.rb | 13 +- .../models/batch_patch_identities_response.rb | 35 +- .../models/consistency_request_parameters.rb | 35 +- .../ory-kratos-client/models/continue_with.rb | 4 +- .../models/continue_with_recovery_ui.rb | 39 +- .../models/continue_with_recovery_ui_flow.rb | 37 +- .../continue_with_set_ory_session_token.rb | 39 +- .../models/continue_with_settings_ui.rb | 39 +- .../models/continue_with_settings_ui_flow.rb | 37 +- .../models/continue_with_verification_ui.rb | 39 +- .../continue_with_verification_ui_flow.rb | 39 +- .../models/courier_message_status.rb | 13 +- .../models/courier_message_type.rb | 13 +- .../models/create_identity_body.rb | 39 +- .../create_recovery_code_for_identity_body.rb | 55 +- .../create_recovery_link_for_identity_body.rb | 43 +- .../models/delete_my_sessions_count.rb | 35 +- ...enticator_assurance_level_not_satisfied.rb | 35 +- .../error_browser_location_change_required.rb | 35 +- .../models/error_flow_replaced.rb | 35 +- .../ory-kratos-client/models/error_generic.rb | 37 +- .../ory-kratos-client/models/flow_error.rb | 37 +- .../ory-kratos-client/models/generic_error.rb | 37 +- .../models/get_version200_response.rb | 37 +- .../models/health_not_ready_status.rb | 35 +- .../ory-kratos-client/models/health_status.rb | 35 +- .../lib/ory-kratos-client/models/identity.rb | 43 +- .../models/identity_credentials.rb | 41 +- .../models/identity_credentials_code.rb | 35 +- .../models/identity_credentials_oidc.rb | 35 +- .../identity_credentials_oidc_provider.rb | 35 +- .../models/identity_credentials_password.rb | 35 +- .../models/identity_patch.rb | 35 +- .../models/identity_patch_response.rb | 35 +- .../models/identity_schema_container.rb | 35 +- .../models/identity_with_credentials.rb | 35 +- .../models/identity_with_credentials_oidc.rb | 35 +- .../identity_with_credentials_oidc_config.rb | 35 +- ...y_with_credentials_oidc_config_provider.rb | 39 +- .../identity_with_credentials_password.rb | 35 +- ...entity_with_credentials_password_config.rb | 35 +- .../models/is_alive200_response.rb | 37 +- .../models/is_ready503_response.rb | 37 +- .../ory-kratos-client/models/json_patch.rb | 39 +- .../ory-kratos-client/models/login_flow.rb | 67 +- .../models/login_flow_state.rb | 13 +- .../ory-kratos-client/models/logout_flow.rb | 39 +- .../lib/ory-kratos-client/models/message.rb | 55 +- .../models/message_dispatch.rb | 45 +- .../models/needs_privileged_session_error.rb | 37 +- .../models/o_auth2_client.rb | 35 +- ...consent_request_open_id_connect_context.rb | 35 +- .../models/o_auth2_login_request.rb | 35 +- .../models/patch_identities_body.rb | 35 +- .../models/perform_native_logout_body.rb | 37 +- .../models/recovery_code_for_identity.rb | 39 +- .../ory-kratos-client/models/recovery_flow.rb | 61 +- .../models/recovery_flow_state.rb | 13 +- .../models/recovery_identity_address.rb | 41 +- .../models/recovery_link_for_identity.rb | 37 +- .../models/registration_flow.rb | 55 +- .../models/registration_flow_state.rb | 13 +- .../models/self_service_flow_expired_error.rb | 35 +- .../lib/ory-kratos-client/models/session.rb | 59 +- .../models/session_authentication_method.rb | 35 +- .../models/session_device.rb | 37 +- .../ory-kratos-client/models/settings_flow.rb | 63 +- .../models/settings_flow_state.rb | 13 +- .../successful_code_exchange_response.rb | 37 +- .../models/successful_native_login.rb | 51 +- .../models/successful_native_registration.rb | 37 +- .../models/token_pagination.rb | 47 +- .../models/token_pagination_headers.rb | 35 +- .../ory-kratos-client/models/ui_container.rb | 41 +- .../lib/ory-kratos-client/models/ui_node.rb | 51 +- .../models/ui_node_anchor_attributes.rb | 79 +- .../models/ui_node_attributes.rb | 4 +- .../models/ui_node_image_attributes.rb | 81 +- .../models/ui_node_input_attributes.rb | 69 +- .../ory-kratos-client/models/ui_node_meta.rb | 35 +- .../models/ui_node_script_attributes.rb | 89 +- .../models/ui_node_text_attributes.rb | 77 +- .../lib/ory-kratos-client/models/ui_text.rb | 41 +- .../models/update_identity_body.rb | 41 +- .../models/update_login_flow_body.rb | 6 +- .../update_login_flow_with_code_method.rb | 57 +- ...te_login_flow_with_lookup_secret_method.rb | 39 +- .../update_login_flow_with_oidc_method.rb | 51 +- .../update_login_flow_with_passkey_method.rb | 243 + .../update_login_flow_with_password_method.rb | 59 +- .../update_login_flow_with_totp_method.rb | 57 +- ...update_login_flow_with_web_authn_method.rb | 51 +- .../models/update_recovery_flow_body.rb | 4 +- .../update_recovery_flow_with_code_method.rb | 55 +- .../update_recovery_flow_with_link_method.rb | 57 +- .../models/update_registration_flow_body.rb | 6 +- ...date_registration_flow_with_code_method.rb | 39 +- ...date_registration_flow_with_oidc_method.rb | 39 +- ...e_registration_flow_with_passkey_method.rb | 270 + ..._registration_flow_with_password_method.rb | 41 +- ...e_registration_flow_with_profile_method.rb | 270 + ...registration_flow_with_web_authn_method.rb | 39 +- .../models/update_settings_flow_body.rb | 6 +- ...update_settings_flow_with_lookup_method.rb | 55 +- .../update_settings_flow_with_oidc_method.rb | 49 +- ...pdate_settings_flow_with_passkey_method.rb | 253 + ...date_settings_flow_with_password_method.rb | 57 +- ...pdate_settings_flow_with_profile_method.rb | 57 +- .../update_settings_flow_with_totp_method.rb | 55 +- ...ate_settings_flow_with_web_authn_method.rb | 49 +- .../models/update_verification_flow_body.rb | 4 +- ...date_verification_flow_with_code_method.rb | 55 +- ...date_verification_flow_with_link_method.rb | 57 +- .../models/verifiable_identity_address.rb | 43 +- .../models/verification_flow.rb | 55 +- .../models/verification_flow_state.rb | 13 +- .../lib/ory-kratos-client/models/version.rb | 35 +- .../ruby/lib/ory-kratos-client/version.rb | 6 +- clients/kratos/ruby/ory-kratos-client.gemspec | 7 +- .../kratos/ruby/spec/api/courier_api_spec.rb | 8 +- .../kratos/ruby/spec/api/frontend_api_spec.rb | 65 +- .../kratos/ruby/spec/api/identity_api_spec.rb | 47 +- .../kratos/ruby/spec/api/metadata_api_spec.rb | 10 +- clients/kratos/ruby/spec/api_client_spec.rb | 226 - .../kratos/ruby/spec/configuration_spec.rb | 42 - .../authenticator_assurance_level_spec.rb | 8 +- .../batch_patch_identities_response_spec.rb | 10 +- .../consistency_request_parameters_spec.rb | 10 +- .../continue_with_recovery_ui_flow_spec.rb | 12 +- .../models/continue_with_recovery_ui_spec.rb | 12 +- ...ontinue_with_set_ory_session_token_spec.rb | 12 +- .../continue_with_settings_ui_flow_spec.rb | 10 +- .../models/continue_with_settings_ui_spec.rb | 12 +- .../ruby/spec/models/continue_with_spec.rb | 5 +- ...continue_with_verification_ui_flow_spec.rb | 14 +- .../continue_with_verification_ui_spec.rb | 12 +- .../models/courier_message_status_spec.rb | 8 +- .../spec/models/courier_message_type_spec.rb | 8 +- .../spec/models/create_identity_body_spec.rb | 24 +- ...te_recovery_code_for_identity_body_spec.rb | 18 +- ...te_recovery_link_for_identity_body_spec.rb | 12 +- .../models/delete_my_sessions_count_spec.rb | 10 +- ...ator_assurance_level_not_satisfied_spec.rb | 12 +- ...r_browser_location_change_required_spec.rb | 12 +- .../spec/models/error_flow_replaced_spec.rb | 12 +- .../ruby/spec/models/error_generic_spec.rb | 10 +- .../ruby/spec/models/flow_error_spec.rb | 16 +- .../ruby/spec/models/generic_error_spec.rb | 24 +- .../models/get_version200_response_spec.rb | 10 +- .../models/health_not_ready_status_spec.rb | 10 +- .../ruby/spec/models/health_status_spec.rb | 10 +- .../models/identity_credentials_code_spec.rb | 12 +- ...identity_credentials_oidc_provider_spec.rb | 20 +- .../models/identity_credentials_oidc_spec.rb | 10 +- .../identity_credentials_password_spec.rb | 10 +- .../spec/models/identity_credentials_spec.rb | 22 +- .../models/identity_patch_response_spec.rb | 14 +- .../ruby/spec/models/identity_patch_spec.rb | 12 +- .../models/identity_schema_container_spec.rb | 12 +- .../kratos/ruby/spec/models/identity_spec.rb | 36 +- ...h_credentials_oidc_config_provider_spec.rb | 12 +- ...ntity_with_credentials_oidc_config_spec.rb | 12 +- .../identity_with_credentials_oidc_spec.rb | 10 +- ...y_with_credentials_password_config_spec.rb | 12 +- ...identity_with_credentials_password_spec.rb | 10 +- .../models/identity_with_credentials_spec.rb | 12 +- .../spec/models/is_alive200_response_spec.rb | 10 +- .../spec/models/is_ready503_response_spec.rb | 10 +- .../ruby/spec/models/json_patch_spec.rb | 16 +- .../ruby/spec/models/login_flow_spec.rb | 50 +- .../ruby/spec/models/login_flow_state_spec.rb | 8 +- .../ruby/spec/models/logout_flow_spec.rb | 12 +- .../ruby/spec/models/message_dispatch_spec.rb | 20 +- .../kratos/ruby/spec/models/message_spec.rb | 32 +- .../needs_privileged_session_error_spec.rb | 12 +- .../ruby/spec/models/o_auth2_client_spec.rb | 104 +- ...nt_request_open_id_connect_context_spec.rb | 18 +- .../spec/models/o_auth2_login_request_spec.rb | 26 +- .../spec/models/patch_identities_body_spec.rb | 10 +- .../models/perform_native_logout_body_spec.rb | 10 +- .../models/recovery_code_for_identity_spec.rb | 14 +- .../ruby/spec/models/recovery_flow_spec.rb | 34 +- .../spec/models/recovery_flow_state_spec.rb | 8 +- .../models/recovery_identity_address_spec.rb | 18 +- .../models/recovery_link_for_identity_spec.rb | 12 +- .../spec/models/registration_flow_spec.rb | 38 +- .../models/registration_flow_state_spec.rb | 8 +- .../self_service_flow_expired_error_spec.rb | 16 +- .../session_authentication_method_spec.rb | 18 +- .../ruby/spec/models/session_device_spec.rb | 16 +- .../kratos/ruby/spec/models/session_spec.rb | 28 +- .../ruby/spec/models/settings_flow_spec.rb | 36 +- .../spec/models/settings_flow_state_spec.rb | 8 +- .../successful_code_exchange_response_spec.rb | 12 +- .../models/successful_native_login_spec.rb | 18 +- .../successful_native_registration_spec.rb | 16 +- .../models/token_pagination_headers_spec.rb | 12 +- .../ruby/spec/models/token_pagination_spec.rb | 12 +- .../ruby/spec/models/ui_container_spec.rb | 16 +- .../models/ui_node_anchor_attributes_spec.rb | 20 +- .../spec/models/ui_node_attributes_spec.rb | 5 +- .../models/ui_node_image_attributes_spec.rb | 22 +- .../models/ui_node_input_attributes_spec.rb | 38 +- .../ruby/spec/models/ui_node_meta_spec.rb | 10 +- .../models/ui_node_script_attributes_spec.rb | 30 +- .../kratos/ruby/spec/models/ui_node_spec.rb | 20 +- .../models/ui_node_text_attributes_spec.rb | 18 +- .../kratos/ruby/spec/models/ui_text_spec.rb | 16 +- .../spec/models/update_identity_body_spec.rb | 20 +- .../models/update_login_flow_body_spec.rb | 5 +- ...update_login_flow_with_code_method_spec.rb | 24 +- ...gin_flow_with_lookup_secret_method_spec.rb | 14 +- ...update_login_flow_with_oidc_method_spec.rb | 28 +- ...ate_login_flow_with_passkey_method_spec.rb | 48 + ...te_login_flow_with_password_method_spec.rb | 24 +- ...update_login_flow_with_totp_method_spec.rb | 20 +- ...e_login_flow_with_web_authn_method_spec.rb | 22 +- .../models/update_recovery_flow_body_spec.rb | 5 +- ...ate_recovery_flow_with_code_method_spec.rb | 22 +- ...ate_recovery_flow_with_link_method_spec.rb | 20 +- .../update_registration_flow_body_spec.rb | 5 +- ...registration_flow_with_code_method_spec.rb | 20 +- ...registration_flow_with_oidc_method_spec.rb | 24 +- ...istration_flow_with_passkey_method_spec.rb | 60 + ...stration_flow_with_password_method_spec.rb | 18 +- ...istration_flow_with_profile_method_spec.rb | 60 + ...tration_flow_with_web_authn_method_spec.rb | 20 +- .../models/update_settings_flow_body_spec.rb | 5 +- ...e_settings_flow_with_lookup_method_spec.rb | 26 +- ...ate_settings_flow_with_oidc_method_spec.rb | 26 +- ..._settings_flow_with_passkey_method_spec.rb | 54 + ...settings_flow_with_password_method_spec.rb | 20 +- ..._settings_flow_with_profile_method_spec.rb | 20 +- ...ate_settings_flow_with_totp_method_spec.rb | 22 +- ...ettings_flow_with_web_authn_method_spec.rb | 24 +- .../update_verification_flow_body_spec.rb | 5 +- ...verification_flow_with_code_method_spec.rb | 22 +- ...verification_flow_with_link_method_spec.rb | 20 +- .../verifiable_identity_address_spec.rb | 24 +- .../spec/models/verification_flow_spec.rb | 32 +- .../models/verification_flow_state_spec.rb | 8 +- .../kratos/ruby/spec/models/version_spec.rb | 10 +- clients/kratos/ruby/spec/spec_helper.rb | 4 +- clients/kratos/rust/.gitignore | 4 +- clients/kratos/rust/.openapi-generator/FILES | 8 + .../kratos/rust/.openapi-generator/VERSION | 2 +- clients/kratos/rust/Cargo.lock | 958 +- clients/kratos/rust/Cargo.toml | 27 +- clients/kratos/rust/README.md | 11 +- .../rust/docs/AuthenticatorAssuranceLevel.md | 11 +- .../rust/docs/BatchPatchIdentitiesResponse.md | 2 +- clients/kratos/rust/docs/ContinueWith.md | 9 +- .../rust/docs/ContinueWithRecoveryUi.md | 2 +- .../rust/docs/ContinueWithSettingsUi.md | 2 +- .../rust/docs/ContinueWithVerificationUi.md | 2 +- clients/kratos/rust/docs/CourierApi.md | 8 +- .../kratos/rust/docs/CourierMessageStatus.md | 11 +- .../kratos/rust/docs/CourierMessageType.md | 9 +- .../kratos/rust/docs/CreateIdentityBody.md | 6 +- .../docs/CreateRecoveryCodeForIdentityBody.md | 1 + ...AuthenticatorAssuranceLevelNotSatisfied.md | 2 +- .../ErrorBrowserLocationChangeRequired.md | 2 +- clients/kratos/rust/docs/ErrorFlowReplaced.md | 2 +- clients/kratos/rust/docs/ErrorGeneric.md | 2 +- clients/kratos/rust/docs/FrontendApi.md | 105 +- .../kratos/rust/docs/HealthNotReadyStatus.md | 2 +- clients/kratos/rust/docs/Identity.md | 6 +- clients/kratos/rust/docs/IdentityApi.md | 65 +- .../kratos/rust/docs/IdentityCredentials.md | 2 +- .../rust/docs/IdentityCredentialsOidc.md | 2 +- clients/kratos/rust/docs/IdentityPatch.md | 2 +- .../rust/docs/IdentityWithCredentials.md | 4 +- .../rust/docs/IdentityWithCredentialsOidc.md | 2 +- .../docs/IdentityWithCredentialsOidcConfig.md | 4 +- .../docs/IdentityWithCredentialsPassword.md | 2 +- .../kratos/rust/docs/IsReady503Response.md | 2 +- clients/kratos/rust/docs/LoginFlow.md | 11 +- clients/kratos/rust/docs/LoginFlowState.md | 10 +- clients/kratos/rust/docs/Message.md | 6 +- clients/kratos/rust/docs/MetadataApi.md | 12 +- .../rust/docs/NeedsPrivilegedSessionError.md | 2 +- ...Auth2ConsentRequestOpenIdConnectContext.md | 2 +- .../kratos/rust/docs/OAuth2LoginRequest.md | 4 +- .../kratos/rust/docs/PatchIdentitiesBody.md | 2 +- clients/kratos/rust/docs/RecoveryFlow.md | 7 +- clients/kratos/rust/docs/RecoveryFlowState.md | 10 +- clients/kratos/rust/docs/RegistrationFlow.md | 8 +- .../kratos/rust/docs/RegistrationFlowState.md | 10 +- .../rust/docs/SelfServiceFlowExpiredError.md | 2 +- clients/kratos/rust/docs/Session.md | 8 +- .../rust/docs/SessionAuthenticationMethod.md | 2 +- clients/kratos/rust/docs/SettingsFlow.md | 9 +- clients/kratos/rust/docs/SettingsFlowState.md | 9 +- .../docs/SuccessfulCodeExchangeResponse.md | 2 +- .../kratos/rust/docs/SuccessfulNativeLogin.md | 3 +- .../rust/docs/SuccessfulNativeRegistration.md | 6 +- clients/kratos/rust/docs/UiContainer.md | 4 +- clients/kratos/rust/docs/UiNode.md | 10 +- .../rust/docs/UiNodeAnchorAttributes.md | 4 +- clients/kratos/rust/docs/UiNodeAttributes.md | 28 +- .../kratos/rust/docs/UiNodeImageAttributes.md | 2 +- .../kratos/rust/docs/UiNodeInputAttributes.md | 7 +- clients/kratos/rust/docs/UiNodeMeta.md | 2 +- .../rust/docs/UiNodeScriptAttributes.md | 6 +- .../kratos/rust/docs/UiNodeTextAttributes.md | 4 +- clients/kratos/rust/docs/UiText.md | 2 +- .../kratos/rust/docs/UpdateIdentityBody.md | 2 +- .../kratos/rust/docs/UpdateLoginFlowBody.md | 21 +- .../docs/UpdateLoginFlowWithCodeMethod.md | 1 + .../docs/UpdateLoginFlowWithOidcMethod.md | 1 + .../docs/UpdateLoginFlowWithPasskeyMethod.md | 13 + .../docs/UpdateLoginFlowWithPasswordMethod.md | 1 + .../docs/UpdateLoginFlowWithTotpMethod.md | 1 + .../docs/UpdateLoginFlowWithWebAuthnMethod.md | 1 + .../rust/docs/UpdateRecoveryFlowBody.md | 12 +- .../docs/UpdateRecoveryFlowWithCodeMethod.md | 1 + .../docs/UpdateRecoveryFlowWithLinkMethod.md | 1 + .../rust/docs/UpdateRegistrationFlowBody.md | 19 +- ...UpdateRegistrationFlowWithPasskeyMethod.md | 15 + ...UpdateRegistrationFlowWithProfileMethod.md | 15 + .../rust/docs/UpdateSettingsFlowBody.md | 23 +- .../UpdateSettingsFlowWithLookupMethod.md | 1 + .../docs/UpdateSettingsFlowWithOidcMethod.md | 1 + .../UpdateSettingsFlowWithPasskeyMethod.md | 14 + .../UpdateSettingsFlowWithPasswordMethod.md | 1 + .../UpdateSettingsFlowWithProfileMethod.md | 1 + .../docs/UpdateSettingsFlowWithTotpMethod.md | 1 + .../UpdateSettingsFlowWithWebAuthnMethod.md | 1 + .../rust/docs/UpdateVerificationFlowBody.md | 12 +- .../UpdateVerificationFlowWithCodeMethod.md | 1 + .../UpdateVerificationFlowWithLinkMethod.md | 1 + clients/kratos/rust/docs/VerificationFlow.md | 5 +- .../kratos/rust/docs/VerificationFlowState.md | 10 +- clients/kratos/rust/src/apis/configuration.rs | 7 +- clients/kratos/rust/src/apis/courier_api.rs | 64 +- clients/kratos/rust/src/apis/frontend_api.rs | 603 +- clients/kratos/rust/src/apis/identity_api.rs | 406 +- clients/kratos/rust/src/apis/metadata_api.rs | 57 +- clients/kratos/rust/src/apis/mod.rs | 29 + clients/kratos/rust/src/lib.rs | 4 +- .../models/authenticator_assurance_level.rs | 25 +- .../models/batch_patch_identities_response.rs | 21 +- .../models/consistency_request_parameters.rs | 25 +- .../kratos/rust/src/models/continue_with.rs | 41 +- .../src/models/continue_with_recovery_ui.rs | 26 +- .../models/continue_with_recovery_ui_flow.rs | 14 +- .../continue_with_set_ory_session_token.rs | 22 +- .../src/models/continue_with_settings_ui.rs | 26 +- .../models/continue_with_settings_ui_flow.rs | 12 +- .../models/continue_with_verification_ui.rs | 26 +- .../continue_with_verification_ui_flow.rs | 16 +- .../rust/src/models/courier_message_status.rs | 25 +- .../rust/src/models/courier_message_type.rs | 21 +- .../rust/src/models/create_identity_body.rs | 48 +- .../create_recovery_code_for_identity_body.rs | 20 +- .../create_recovery_link_for_identity_body.rs | 16 +- .../src/models/delete_my_sessions_count.rs | 19 +- ...enticator_assurance_level_not_satisfied.rs | 21 +- .../error_browser_location_change_required.rs | 21 +- .../rust/src/models/error_flow_replaced.rs | 23 +- .../kratos/rust/src/models/error_generic.rs | 18 +- clients/kratos/rust/src/models/flow_error.rs | 18 +- .../kratos/rust/src/models/generic_error.rs | 26 +- .../src/models/get_version_200_response.rs | 12 +- .../src/models/health_not_ready_status.rs | 19 +- .../kratos/rust/src/models/health_status.rs | 17 +- clients/kratos/rust/src/models/identity.rs | 66 +- .../rust/src/models/identity_credentials.rs | 45 +- .../src/models/identity_credentials_code.rs | 25 +- .../src/models/identity_credentials_oidc.rs | 19 +- .../identity_credentials_oidc_provider.rs | 27 +- .../models/identity_credentials_password.rs | 17 +- .../kratos/rust/src/models/identity_patch.rs | 23 +- .../src/models/identity_patch_response.rs | 29 +- .../src/models/identity_schema_container.rs | 21 +- .../src/models/identity_with_credentials.rs | 25 +- .../models/identity_with_credentials_oidc.rs | 21 +- .../identity_with_credentials_oidc_config.rs | 23 +- ...y_with_credentials_oidc_config_provider.rs | 16 +- .../identity_with_credentials_password.rs | 21 +- ...entity_with_credentials_password_config.rs | 21 +- .../rust/src/models/is_alive_200_response.rs | 12 +- .../rust/src/models/is_ready_503_response.rs | 16 +- clients/kratos/rust/src/models/json_patch.rs | 24 +- clients/kratos/rust/src/models/login_flow.rs | 80 +- .../rust/src/models/login_flow_state.rs | 23 +- clients/kratos/rust/src/models/logout_flow.rs | 16 +- clients/kratos/rust/src/models/message.rs | 48 +- .../rust/src/models/message_dispatch.rs | 30 +- clients/kratos/rust/src/models/mod.rs | 8 + .../models/needs_privileged_session_error.rs | 16 +- .../kratos/rust/src/models/o_auth2_client.rs | 119 +- ...consent_request_open_id_connect_context.rs | 29 +- .../rust/src/models/o_auth2_login_request.rs | 39 +- .../rust/src/models/patch_identities_body.rs | 21 +- .../src/models/perform_native_logout_body.rs | 14 +- .../src/models/recovery_code_for_identity.rs | 18 +- .../kratos/rust/src/models/recovery_flow.rs | 46 +- .../rust/src/models/recovery_flow_state.rs | 23 +- .../src/models/recovery_identity_address.rs | 20 +- .../src/models/recovery_link_for_identity.rs | 16 +- .../rust/src/models/registration_flow.rs | 66 +- .../src/models/registration_flow_state.rs | 23 +- .../models/self_service_flow_expired_error.rs | 27 +- clients/kratos/rust/src/models/session.rs | 40 +- .../models/session_authentication_method.rs | 37 +- .../kratos/rust/src/models/session_device.rs | 20 +- .../kratos/rust/src/models/settings_flow.rs | 50 +- .../rust/src/models/settings_flow_state.rs | 21 +- .../successful_code_exchange_response.rs | 20 +- .../src/models/successful_native_login.rs | 24 +- .../models/successful_native_registration.rs | 28 +- .../rust/src/models/token_pagination.rs | 19 +- .../src/models/token_pagination_headers.rs | 19 +- .../kratos/rust/src/models/ui_container.rs | 26 +- clients/kratos/rust/src/models/ui_node.rs | 50 +- .../src/models/ui_node_anchor_attributes.rs | 44 +- .../rust/src/models/ui_node_attributes.rs | 196 +- .../src/models/ui_node_image_attributes.rs | 44 +- .../src/models/ui_node_input_attributes.rs | 82 +- .../kratos/rust/src/models/ui_node_meta.rs | 21 +- .../src/models/ui_node_script_attributes.rs | 56 +- .../src/models/ui_node_text_attributes.rs | 42 +- clients/kratos/rust/src/models/ui_text.rs | 28 +- .../rust/src/models/update_identity_body.rs | 40 +- .../rust/src/models/update_login_flow_body.rs | 122 +- .../update_login_flow_with_code_method.rs | 26 +- ...te_login_flow_with_lookup_secret_method.rs | 18 +- .../update_login_flow_with_oidc_method.rs | 30 +- .../update_login_flow_with_passkey_method.rs | 38 + .../update_login_flow_with_password_method.rs | 26 +- .../update_login_flow_with_totp_method.rs | 22 +- ...update_login_flow_with_web_authn_method.rs | 24 +- .../src/models/update_recovery_flow_body.rs | 42 +- .../update_recovery_flow_with_code_method.rs | 30 +- .../update_recovery_flow_with_link_method.rs | 28 +- .../models/update_registration_flow_body.rs | 116 +- ...date_registration_flow_with_code_method.rs | 24 +- ...date_registration_flow_with_oidc_method.rs | 28 +- ...e_registration_flow_with_passkey_method.rs | 46 + ..._registration_flow_with_password_method.rs | 22 +- ...e_registration_flow_with_profile_method.rs | 46 + ...registration_flow_with_web_authn_method.rs | 24 +- .../src/models/update_settings_flow_body.rs | 122 +- ...update_settings_flow_with_lookup_method.rs | 28 +- .../update_settings_flow_with_oidc_method.rs | 28 +- ...pdate_settings_flow_with_passkey_method.rs | 42 + ...date_settings_flow_with_password_method.rs | 22 +- ...pdate_settings_flow_with_profile_method.rs | 22 +- .../update_settings_flow_with_totp_method.rs | 24 +- ...ate_settings_flow_with_web_authn_method.rs | 26 +- .../models/update_verification_flow_body.rs | 42 +- ...date_verification_flow_with_code_method.rs | 28 +- ...date_verification_flow_with_link_method.rs | 28 +- .../src/models/verifiable_identity_address.rs | 34 +- .../rust/src/models/verification_flow.rs | 42 +- .../src/models/verification_flow_state.rs | 23 +- clients/kratos/rust/src/models/version.rs | 17 +- clients/kratos/typescript-fetch/.gitignore | 4 + clients/kratos/typescript-fetch/.npmignore | 1 + .../.openapi-generator-ignore | 23 + .../typescript-fetch/.openapi-generator/FILES | 132 + .../.openapi-generator/VERSION | 1 + clients/kratos/typescript-fetch/LICENSE | 201 + clients/kratos/typescript-fetch/README.md | 46 + .../kratos/typescript-fetch/package-lock.json | 30 + clients/kratos/typescript-fetch/package.json | 22 + .../typescript-fetch/src/apis/CourierApi.ts | 134 + .../typescript-fetch/src/apis/FrontendApi.ts | 1519 ++ .../typescript-fetch/src/apis/IdentityApi.ts | 987 ++ .../typescript-fetch/src/apis/MetadataApi.ts | 120 + .../kratos/typescript-fetch/src/apis/index.ts | 6 + clients/kratos/typescript-fetch/src/index.ts | 5 + .../src/models/AuthenticatorAssuranceLevel.ts | 57 + .../models/BatchPatchIdentitiesResponse.ts | 67 + .../models/ConsistencyRequestParameters.ts | 90 + .../src/models/ContinueWith.ts | 91 + .../src/models/ContinueWithRecoveryUi.ts | 88 + .../src/models/ContinueWithRecoveryUiFlow.ts | 69 + .../models/ContinueWithSetOrySessionToken.ts | 81 + .../src/models/ContinueWithSettingsUi.ts | 88 + .../src/models/ContinueWithSettingsUiFlow.ts | 61 + .../src/models/ContinueWithVerificationUi.ts | 88 + .../models/ContinueWithVerificationUiFlow.ts | 78 + .../src/models/CourierMessageStatus.ts | 51 + .../src/models/CourierMessageType.ts | 49 + .../src/models/CreateIdentityBody.ts | 161 + .../CreateRecoveryCodeForIdentityBody.ts | 82 + .../CreateRecoveryLinkForIdentityBody.ts | 74 + .../src/models/DeleteMySessionsCount.ts | 60 + ...AuthenticatorAssuranceLevelNotSatisfied.ts | 75 + .../ErrorBrowserLocationChangeRequired.ts | 75 + .../src/models/ErrorFlowReplaced.ts | 75 + .../src/models/ErrorGeneric.ts | 68 + .../typescript-fetch/src/models/FlowError.ts | 85 + .../src/models/GenericError.ts | 127 + .../src/models/GetVersion200Response.ts | 61 + .../src/models/HealthNotReadyStatus.ts | 60 + .../src/models/HealthStatus.ts | 60 + .../typescript-fetch/src/models/Identity.ts | 209 + .../src/models/IdentityCredentials.ts | 129 + .../src/models/IdentityCredentialsCode.ts | 68 + .../src/models/IdentityCredentialsOidc.ts | 67 + .../models/IdentityCredentialsOidcProvider.ts | 100 + .../src/models/IdentityCredentialsPassword.ts | 60 + .../src/models/IdentityPatch.ts | 79 + .../src/models/IdentityPatchResponse.ts | 87 + .../src/models/IdentitySchemaContainer.ts | 68 + .../src/models/IdentityWithCredentials.ts | 81 + .../src/models/IdentityWithCredentialsOidc.ts | 67 + .../IdentityWithCredentialsOidcConfig.ts | 81 + ...entityWithCredentialsOidcConfigProvider.ts | 70 + .../models/IdentityWithCredentialsPassword.ts | 67 + .../IdentityWithCredentialsPasswordConfig.ts | 68 + .../src/models/IsAlive200Response.ts | 61 + .../src/models/IsReady503Response.ts | 61 + .../typescript-fetch/src/models/JsonPatch.ts | 92 + .../typescript-fetch/src/models/LoginFlow.ts | 268 + .../src/models/LoginFlowState.ts | 54 + .../typescript-fetch/src/models/LogoutFlow.ts | 72 + .../typescript-fetch/src/models/Message.ts | 209 + .../src/models/MessageDispatch.ts | 120 + .../src/models/NeedsPrivilegedSessionError.ts | 76 + .../src/models/OAuth2Client.ts | 436 + ...Auth2ConsentRequestOpenIDConnectContext.ts | 92 + .../src/models/OAuth2LoginRequest.ts | 137 + .../src/models/PatchIdentitiesBody.ts | 69 + .../src/models/PerformNativeLogoutBody.ts | 63 + .../src/models/RecoveryCodeForIdentity.ts | 82 + .../src/models/RecoveryFlow.ts | 170 + .../src/models/RecoveryFlowState.ts | 54 + .../src/models/RecoveryIdentityAddress.ts | 95 + .../src/models/RecoveryLinkForIdentity.ts | 73 + .../src/models/RegistrationFlow.ts | 226 + .../src/models/RegistrationFlowState.ts | 52 + .../src/models/SelfServiceFlowExpiredError.ts | 93 + .../typescript-fetch/src/models/Session.ts | 167 + .../src/models/SessionAuthenticationMethod.ts | 117 + .../src/models/SessionDevice.ts | 85 + .../src/models/SettingsFlow.ts | 190 + .../src/models/SettingsFlowState.ts | 52 + .../models/SuccessfulCodeExchangeResponse.ts | 83 + .../src/models/SuccessfulNativeLogin.ts | 100 + .../models/SuccessfulNativeRegistration.ts | 116 + .../src/models/TokenPagination.ts | 74 + .../src/models/TokenPaginationHeaders.ts | 74 + .../src/models/UiContainer.ts | 100 + .../typescript-fetch/src/models/UiNode.ts | 163 + .../src/models/UiNodeAnchorAttributes.ts | 117 + .../src/models/UiNodeAttributes.ts | 102 + .../src/models/UiNodeImageAttributes.ts | 119 + .../src/models/UiNodeInputAttributes.ts | 223 + .../typescript-fetch/src/models/UiNodeMeta.ts | 68 + .../src/models/UiNodeScriptAttributes.ts | 157 + .../src/models/UiNodeTextAttributes.ts | 106 + .../typescript-fetch/src/models/UiText.ts | 102 + .../src/models/UpdateIdentityBody.ts | 127 + .../src/models/UpdateLoginFlowBody.ts | 124 + .../models/UpdateLoginFlowWithCodeMethod.ts | 103 + .../UpdateLoginFlowWithLookupSecretMethod.ts | 78 + .../models/UpdateLoginFlowWithOidcMethod.ts | 135 + .../UpdateLoginFlowWithPasskeyMethod.ts | 79 + .../UpdateLoginFlowWithPasswordMethod.ts | 104 + .../models/UpdateLoginFlowWithTotpMethod.ts | 86 + .../UpdateLoginFlowWithWebAuthnMethod.ts | 96 + .../src/models/UpdateRecoveryFlowBody.ts | 69 + .../UpdateRecoveryFlowWithCodeMethod.ts | 119 + .../UpdateRecoveryFlowWithLinkMethod.ts | 107 + .../src/models/UpdateRegistrationFlowBody.ts | 102 + .../UpdateRegistrationFlowWithCodeMethod.ts | 104 + .../UpdateRegistrationFlowWithOidcMethod.ts | 135 + ...UpdateRegistrationFlowWithPasskeyMethod.ts | 99 + ...pdateRegistrationFlowWithPasswordMethod.ts | 97 + ...UpdateRegistrationFlowWithProfileMethod.ts | 103 + ...pdateRegistrationFlowWithWebAuthnMethod.ts | 109 + .../src/models/UpdateSettingsFlowBody.ts | 124 + .../UpdateSettingsFlowWithLookupMethod.ts | 111 + .../UpdateSettingsFlowWithOidcMethod.ts | 131 + .../UpdateSettingsFlowWithPasskeyMethod.ts | 92 + .../UpdateSettingsFlowWithPasswordMethod.ts | 88 + .../UpdateSettingsFlowWithProfileMethod.ts | 92 + .../UpdateSettingsFlowWithTotpMethod.ts | 97 + .../UpdateSettingsFlowWithWebAuthnMethod.ts | 110 + .../src/models/UpdateVerificationFlowBody.ts | 69 + .../UpdateVerificationFlowWithCodeMethod.ts | 119 + .../UpdateVerificationFlowWithLinkMethod.ts | 107 + .../src/models/VerifiableIdentityAddress.ts | 133 + .../src/models/VerificationFlow.ts | 157 + .../src/models/VerificationFlowState.ts | 54 + .../typescript-fetch/src/models/Version.ts | 60 + .../typescript-fetch/src/models/index.ts | 119 + .../kratos/typescript-fetch/src/runtime.ts | 426 + .../kratos/typescript-fetch/tsconfig.esm.json | 7 + clients/kratos/typescript-fetch/tsconfig.json | 16 + .../typescript/.openapi-generator/VERSION | 2 +- clients/kratos/typescript/README.md | 9 +- clients/kratos/typescript/api.ts | 782 +- clients/kratos/typescript/base.ts | 2 +- clients/kratos/typescript/common.ts | 2 +- clients/kratos/typescript/configuration.ts | 2 +- clients/kratos/typescript/index.ts | 2 +- clients/kratos/typescript/package-lock.json | 130 +- clients/kratos/typescript/package.json | 8 +- spec/kratos/v1.2.1.json | 7550 +-------- 2582 files changed, 128774 insertions(+), 92020 deletions(-) create mode 100644 clients/kratos/dart/doc/UpdateLoginFlowWithPasskeyMethod.md create mode 100644 clients/kratos/dart/doc/UpdateRegistrationFlowWithPasskeyMethod.md create mode 100644 clients/kratos/dart/doc/UpdateRegistrationFlowWithProfileMethod.md create mode 100644 clients/kratos/dart/doc/UpdateSettingsFlowWithPasskeyMethod.md create mode 100644 clients/kratos/dart/lib/src/model/update_login_flow_with_passkey_method.dart create mode 100644 clients/kratos/dart/lib/src/model/update_login_flow_with_passkey_method.g.dart create mode 100644 clients/kratos/dart/lib/src/model/update_registration_flow_with_passkey_method.dart create mode 100644 clients/kratos/dart/lib/src/model/update_registration_flow_with_passkey_method.g.dart create mode 100644 clients/kratos/dart/lib/src/model/update_registration_flow_with_profile_method.dart create mode 100644 clients/kratos/dart/lib/src/model/update_registration_flow_with_profile_method.g.dart create mode 100644 clients/kratos/dart/lib/src/model/update_settings_flow_with_passkey_method.dart create mode 100644 clients/kratos/dart/lib/src/model/update_settings_flow_with_passkey_method.g.dart create mode 100644 clients/kratos/dart/test/update_login_flow_with_passkey_method_test.dart create mode 100644 clients/kratos/dart/test/update_registration_flow_with_passkey_method_test.dart create mode 100644 clients/kratos/dart/test/update_registration_flow_with_profile_method_test.dart create mode 100644 clients/kratos/dart/test/update_settings_flow_with_passkey_method_test.dart create mode 100644 clients/kratos/dotnet/api/openapi.yaml rename clients/kratos/dotnet/docs/{KratosInlineResponse2001.md => KratosGetVersion200Response.md} (70%) rename clients/kratos/dotnet/docs/{KratosInlineResponse200.md => KratosIsAlive200Response.md} (86%) rename clients/kratos/dotnet/docs/{KratosInlineResponse503.md => KratosIsReady503Response.md} (88%) create mode 100644 clients/kratos/dotnet/docs/KratosUpdateLoginFlowWithPasskeyMethod.md create mode 100644 clients/kratos/dotnet/docs/KratosUpdateRegistrationFlowWithPasskeyMethod.md create mode 100644 clients/kratos/dotnet/docs/KratosUpdateRegistrationFlowWithProfileMethod.md create mode 100644 clients/kratos/dotnet/docs/KratosUpdateSettingsFlowWithPasskeyMethod.md rename clients/kratos/dotnet/src/Ory.Kratos.Client.Test/Model/{KratosInlineResponse2001Tests.cs => KratosGetVersion200ResponseTests.cs} (61%) rename clients/kratos/dotnet/src/Ory.Kratos.Client.Test/Model/{KratosInlineResponse200Tests.cs => KratosIsAlive200ResponseTests.cs} (68%) rename clients/kratos/dotnet/src/Ory.Kratos.Client.Test/Model/{KratosInlineResponse503Tests.cs => KratosIsReady503ResponseTests.cs} (68%) create mode 100644 clients/kratos/dotnet/src/Ory.Kratos.Client.Test/Model/KratosUpdateLoginFlowWithPasskeyMethodTests.cs create mode 100644 clients/kratos/dotnet/src/Ory.Kratos.Client.Test/Model/KratosUpdateRegistrationFlowWithPasskeyMethodTests.cs create mode 100644 clients/kratos/dotnet/src/Ory.Kratos.Client.Test/Model/KratosUpdateRegistrationFlowWithProfileMethodTests.cs create mode 100644 clients/kratos/dotnet/src/Ory.Kratos.Client.Test/Model/KratosUpdateSettingsFlowWithPasskeyMethodTests.cs create mode 100644 clients/kratos/dotnet/src/Ory.Kratos.Client/Model/KratosGetVersion200Response.cs delete mode 100644 clients/kratos/dotnet/src/Ory.Kratos.Client/Model/KratosInlineResponse2001.cs rename clients/kratos/dotnet/src/Ory.Kratos.Client/Model/{KratosInlineResponse200.cs => KratosIsAlive200Response.cs} (56%) rename clients/kratos/dotnet/src/Ory.Kratos.Client/Model/{KratosInlineResponse503.cs => KratosIsReady503Response.cs} (56%) create mode 100644 clients/kratos/dotnet/src/Ory.Kratos.Client/Model/KratosUpdateLoginFlowWithPasskeyMethod.cs create mode 100644 clients/kratos/dotnet/src/Ory.Kratos.Client/Model/KratosUpdateRegistrationFlowWithPasskeyMethod.cs create mode 100644 clients/kratos/dotnet/src/Ory.Kratos.Client/Model/KratosUpdateRegistrationFlowWithProfileMethod.cs create mode 100644 clients/kratos/dotnet/src/Ory.Kratos.Client/Model/KratosUpdateSettingsFlowWithPasskeyMethod.cs create mode 100644 clients/kratos/elixir/lib/ory/model/update_login_flow_with_passkey_method.ex create mode 100644 clients/kratos/elixir/lib/ory/model/update_registration_flow_with_passkey_method.ex create mode 100644 clients/kratos/elixir/lib/ory/model/update_registration_flow_with_profile_method.ex create mode 100644 clients/kratos/elixir/lib/ory/model/update_settings_flow_with_passkey_method.ex create mode 100644 clients/kratos/go/docs/UpdateLoginFlowWithPasskeyMethod.md create mode 100644 clients/kratos/go/docs/UpdateRegistrationFlowWithPasskeyMethod.md create mode 100644 clients/kratos/go/docs/UpdateRegistrationFlowWithProfileMethod.md create mode 100644 clients/kratos/go/docs/UpdateSettingsFlowWithPasskeyMethod.md create mode 100644 clients/kratos/go/model_update_login_flow_with_passkey_method.go create mode 100644 clients/kratos/go/model_update_registration_flow_with_passkey_method.go create mode 100644 clients/kratos/go/model_update_registration_flow_with_profile_method.go create mode 100644 clients/kratos/go/model_update_settings_flow_with_passkey_method.go create mode 100644 clients/kratos/java/docs/UpdateLoginFlowWithPasskeyMethod.md create mode 100644 clients/kratos/java/docs/UpdateRegistrationFlowWithPasskeyMethod.md create mode 100644 clients/kratos/java/docs/UpdateRegistrationFlowWithProfileMethod.md create mode 100644 clients/kratos/java/docs/UpdateSettingsFlowWithPasskeyMethod.md create mode 100644 clients/kratos/java/src/main/java/sh/ory/kratos/model/UpdateLoginFlowWithPasskeyMethod.java create mode 100644 clients/kratos/java/src/main/java/sh/ory/kratos/model/UpdateRegistrationFlowWithPasskeyMethod.java create mode 100644 clients/kratos/java/src/main/java/sh/ory/kratos/model/UpdateRegistrationFlowWithProfileMethod.java create mode 100644 clients/kratos/java/src/main/java/sh/ory/kratos/model/UpdateSettingsFlowWithPasskeyMethod.java create mode 100644 clients/kratos/java/src/test/java/sh/ory/kratos/model/UpdateLoginFlowWithPasskeyMethodTest.java create mode 100644 clients/kratos/java/src/test/java/sh/ory/kratos/model/UpdateRegistrationFlowWithPasskeyMethodTest.java create mode 100644 clients/kratos/java/src/test/java/sh/ory/kratos/model/UpdateRegistrationFlowWithProfileMethodTest.java create mode 100644 clients/kratos/java/src/test/java/sh/ory/kratos/model/UpdateSettingsFlowWithPasskeyMethodTest.java create mode 100644 clients/kratos/php/.php-cs-fixer.dist.php delete mode 100644 clients/kratos/php/.php_cs rename clients/kratos/php/docs/Model/{InlineResponse2001.md => GetVersion200Response.md} (92%) rename clients/kratos/php/docs/Model/{InlineResponse200.md => IsAlive200Response.md} (92%) rename clients/kratos/php/docs/Model/{InlineResponse503.md => IsReady503Response.md} (93%) create mode 100644 clients/kratos/php/docs/Model/UpdateLoginFlowWithPasskeyMethod.md create mode 100644 clients/kratos/php/docs/Model/UpdateRegistrationFlowWithPasskeyMethod.md create mode 100644 clients/kratos/php/docs/Model/UpdateRegistrationFlowWithProfileMethod.md create mode 100644 clients/kratos/php/docs/Model/UpdateSettingsFlowWithPasskeyMethod.md rename clients/kratos/php/lib/Model/{InlineResponse2001.php => GetVersion200Response.php} (67%) rename clients/kratos/php/lib/Model/{InlineResponse200.php => IsAlive200Response.php} (67%) rename clients/kratos/php/lib/Model/{InlineResponse503.php => IsReady503Response.php} (68%) create mode 100644 clients/kratos/php/lib/Model/UpdateLoginFlowWithPasskeyMethod.php create mode 100644 clients/kratos/php/lib/Model/UpdateRegistrationFlowWithPasskeyMethod.php create mode 100644 clients/kratos/php/lib/Model/UpdateRegistrationFlowWithProfileMethod.php create mode 100644 clients/kratos/php/lib/Model/UpdateSettingsFlowWithPasskeyMethod.php rename clients/kratos/php/test/Model/{InlineResponse2001Test.php => GetVersion200ResponseTest.php} (77%) rename clients/kratos/php/test/Model/{InlineResponse200Test.php => IsAlive200ResponseTest.php} (78%) rename clients/kratos/php/test/Model/{InlineResponse503Test.php => IsReady503ResponseTest.php} (78%) create mode 100644 clients/kratos/php/test/Model/UpdateLoginFlowWithPasskeyMethodTest.php create mode 100644 clients/kratos/php/test/Model/UpdateRegistrationFlowWithPasskeyMethodTest.php create mode 100644 clients/kratos/php/test/Model/UpdateRegistrationFlowWithProfileMethodTest.php create mode 100644 clients/kratos/php/test/Model/UpdateSettingsFlowWithPasskeyMethodTest.php create mode 100644 clients/kratos/python/.github/workflows/python.yml delete mode 100644 clients/kratos/python/docs/IdentitySchemas.md delete mode 100644 clients/kratos/python/docs/JsonPatchDocument.md delete mode 100644 clients/kratos/python/docs/NullDuration.md delete mode 100644 clients/kratos/python/docs/SessionAuthenticationMethods.md delete mode 100644 clients/kratos/python/docs/UiNodes.md delete mode 100644 clients/kratos/python/docs/UiTexts.md create mode 100644 clients/kratos/python/docs/UpdateLoginFlowWithPasskeyMethod.md create mode 100644 clients/kratos/python/docs/UpdateRegistrationFlowWithPasskeyMethod.md create mode 100644 clients/kratos/python/docs/UpdateRegistrationFlowWithProfileMethod.md create mode 100644 clients/kratos/python/docs/UpdateSettingsFlowWithPasskeyMethod.md create mode 100644 clients/kratos/python/ory_kratos_client/api_response.py delete mode 100644 clients/kratos/python/ory_kratos_client/apis/__init__.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/__init__.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/authenticator_assurance_level.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/batch_patch_identities_response.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/consistency_request_parameters.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/continue_with.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/continue_with_recovery_ui.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/continue_with_recovery_ui_flow.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/continue_with_set_ory_session_token.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/continue_with_settings_ui.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/continue_with_settings_ui_flow.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/continue_with_verification_ui.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/continue_with_verification_ui_flow.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/courier_message_status.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/courier_message_type.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/create_identity_body.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/create_recovery_code_for_identity_body.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/create_recovery_link_for_identity_body.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/delete_my_sessions_count.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/error_authenticator_assurance_level_not_satisfied.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/error_browser_location_change_required.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/error_flow_replaced.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/error_generic.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/flow_error.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/generic_error.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/get_version200_response.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/health_not_ready_status.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/health_status.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/identity.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/identity_credentials.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/identity_credentials_code.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/identity_credentials_oidc.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/identity_credentials_oidc_provider.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/identity_credentials_password.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/identity_patch.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/identity_patch_response.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/identity_schema_container.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/identity_schemas.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/identity_with_credentials.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/identity_with_credentials_oidc.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/identity_with_credentials_oidc_config.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/identity_with_credentials_oidc_config_provider.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/identity_with_credentials_password.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/identity_with_credentials_password_config.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/is_alive200_response.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/is_ready503_response.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/json_patch.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/json_patch_document.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/login_flow.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/login_flow_state.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/logout_flow.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/message.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/message_dispatch.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/needs_privileged_session_error.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/null_duration.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/o_auth2_client.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/o_auth2_consent_request_open_id_connect_context.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/o_auth2_login_request.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/patch_identities_body.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/perform_native_logout_body.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/recovery_code_for_identity.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/recovery_flow.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/recovery_flow_state.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/recovery_identity_address.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/recovery_link_for_identity.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/registration_flow.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/registration_flow_state.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/self_service_flow_expired_error.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/session.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/session_authentication_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/session_authentication_methods.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/session_device.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/settings_flow.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/settings_flow_state.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/successful_code_exchange_response.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/successful_native_login.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/successful_native_registration.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/token_pagination.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/token_pagination_headers.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/ui_container.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/ui_node.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/ui_node_anchor_attributes.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/ui_node_attributes.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/ui_node_image_attributes.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/ui_node_input_attributes.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/ui_node_meta.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/ui_node_script_attributes.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/ui_node_text_attributes.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/ui_nodes.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/ui_text.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/ui_texts.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_identity_body.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_login_flow_body.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_login_flow_with_code_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_login_flow_with_lookup_secret_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_login_flow_with_oidc_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_login_flow_with_password_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_login_flow_with_totp_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_login_flow_with_web_authn_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_recovery_flow_body.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_recovery_flow_with_code_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_recovery_flow_with_link_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_registration_flow_body.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_registration_flow_with_code_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_registration_flow_with_oidc_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_registration_flow_with_password_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_registration_flow_with_web_authn_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_settings_flow_body.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_settings_flow_with_lookup_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_settings_flow_with_oidc_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_settings_flow_with_password_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_settings_flow_with_profile_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_settings_flow_with_totp_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_settings_flow_with_web_authn_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_verification_flow_body.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_verification_flow_with_code_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/update_verification_flow_with_link_method.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/verifiable_identity_address.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/verification_flow.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/verification_flow_state.py delete mode 100644 clients/kratos/python/ory_kratos_client/model/version.py delete mode 100644 clients/kratos/python/ory_kratos_client/model_utils.py create mode 100644 clients/kratos/python/ory_kratos_client/models/authenticator_assurance_level.py create mode 100644 clients/kratos/python/ory_kratos_client/models/batch_patch_identities_response.py create mode 100644 clients/kratos/python/ory_kratos_client/models/consistency_request_parameters.py create mode 100644 clients/kratos/python/ory_kratos_client/models/continue_with.py create mode 100644 clients/kratos/python/ory_kratos_client/models/continue_with_recovery_ui.py create mode 100644 clients/kratos/python/ory_kratos_client/models/continue_with_recovery_ui_flow.py create mode 100644 clients/kratos/python/ory_kratos_client/models/continue_with_set_ory_session_token.py create mode 100644 clients/kratos/python/ory_kratos_client/models/continue_with_settings_ui.py create mode 100644 clients/kratos/python/ory_kratos_client/models/continue_with_settings_ui_flow.py create mode 100644 clients/kratos/python/ory_kratos_client/models/continue_with_verification_ui.py create mode 100644 clients/kratos/python/ory_kratos_client/models/continue_with_verification_ui_flow.py create mode 100644 clients/kratos/python/ory_kratos_client/models/courier_message_status.py create mode 100644 clients/kratos/python/ory_kratos_client/models/courier_message_type.py create mode 100644 clients/kratos/python/ory_kratos_client/models/create_identity_body.py create mode 100644 clients/kratos/python/ory_kratos_client/models/create_recovery_code_for_identity_body.py create mode 100644 clients/kratos/python/ory_kratos_client/models/create_recovery_link_for_identity_body.py create mode 100644 clients/kratos/python/ory_kratos_client/models/delete_my_sessions_count.py create mode 100644 clients/kratos/python/ory_kratos_client/models/error_authenticator_assurance_level_not_satisfied.py create mode 100644 clients/kratos/python/ory_kratos_client/models/error_browser_location_change_required.py create mode 100644 clients/kratos/python/ory_kratos_client/models/error_flow_replaced.py create mode 100644 clients/kratos/python/ory_kratos_client/models/error_generic.py create mode 100644 clients/kratos/python/ory_kratos_client/models/flow_error.py create mode 100644 clients/kratos/python/ory_kratos_client/models/generic_error.py create mode 100644 clients/kratos/python/ory_kratos_client/models/get_version200_response.py create mode 100644 clients/kratos/python/ory_kratos_client/models/health_not_ready_status.py create mode 100644 clients/kratos/python/ory_kratos_client/models/health_status.py create mode 100644 clients/kratos/python/ory_kratos_client/models/identity.py create mode 100644 clients/kratos/python/ory_kratos_client/models/identity_credentials.py create mode 100644 clients/kratos/python/ory_kratos_client/models/identity_credentials_code.py create mode 100644 clients/kratos/python/ory_kratos_client/models/identity_credentials_oidc.py create mode 100644 clients/kratos/python/ory_kratos_client/models/identity_credentials_oidc_provider.py create mode 100644 clients/kratos/python/ory_kratos_client/models/identity_credentials_password.py create mode 100644 clients/kratos/python/ory_kratos_client/models/identity_patch.py create mode 100644 clients/kratos/python/ory_kratos_client/models/identity_patch_response.py create mode 100644 clients/kratos/python/ory_kratos_client/models/identity_schema_container.py create mode 100644 clients/kratos/python/ory_kratos_client/models/identity_with_credentials.py create mode 100644 clients/kratos/python/ory_kratos_client/models/identity_with_credentials_oidc.py create mode 100644 clients/kratos/python/ory_kratos_client/models/identity_with_credentials_oidc_config.py create mode 100644 clients/kratos/python/ory_kratos_client/models/identity_with_credentials_oidc_config_provider.py create mode 100644 clients/kratos/python/ory_kratos_client/models/identity_with_credentials_password.py create mode 100644 clients/kratos/python/ory_kratos_client/models/identity_with_credentials_password_config.py create mode 100644 clients/kratos/python/ory_kratos_client/models/is_alive200_response.py create mode 100644 clients/kratos/python/ory_kratos_client/models/is_ready503_response.py create mode 100644 clients/kratos/python/ory_kratos_client/models/json_patch.py create mode 100644 clients/kratos/python/ory_kratos_client/models/login_flow.py create mode 100644 clients/kratos/python/ory_kratos_client/models/login_flow_state.py create mode 100644 clients/kratos/python/ory_kratos_client/models/logout_flow.py create mode 100644 clients/kratos/python/ory_kratos_client/models/message.py create mode 100644 clients/kratos/python/ory_kratos_client/models/message_dispatch.py create mode 100644 clients/kratos/python/ory_kratos_client/models/needs_privileged_session_error.py create mode 100644 clients/kratos/python/ory_kratos_client/models/o_auth2_client.py create mode 100644 clients/kratos/python/ory_kratos_client/models/o_auth2_consent_request_open_id_connect_context.py create mode 100644 clients/kratos/python/ory_kratos_client/models/o_auth2_login_request.py create mode 100644 clients/kratos/python/ory_kratos_client/models/patch_identities_body.py create mode 100644 clients/kratos/python/ory_kratos_client/models/perform_native_logout_body.py create mode 100644 clients/kratos/python/ory_kratos_client/models/recovery_code_for_identity.py create mode 100644 clients/kratos/python/ory_kratos_client/models/recovery_flow.py create mode 100644 clients/kratos/python/ory_kratos_client/models/recovery_flow_state.py create mode 100644 clients/kratos/python/ory_kratos_client/models/recovery_identity_address.py create mode 100644 clients/kratos/python/ory_kratos_client/models/recovery_link_for_identity.py create mode 100644 clients/kratos/python/ory_kratos_client/models/registration_flow.py create mode 100644 clients/kratos/python/ory_kratos_client/models/registration_flow_state.py create mode 100644 clients/kratos/python/ory_kratos_client/models/self_service_flow_expired_error.py create mode 100644 clients/kratos/python/ory_kratos_client/models/session.py create mode 100644 clients/kratos/python/ory_kratos_client/models/session_authentication_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/session_device.py create mode 100644 clients/kratos/python/ory_kratos_client/models/settings_flow.py create mode 100644 clients/kratos/python/ory_kratos_client/models/settings_flow_state.py create mode 100644 clients/kratos/python/ory_kratos_client/models/successful_code_exchange_response.py create mode 100644 clients/kratos/python/ory_kratos_client/models/successful_native_login.py create mode 100644 clients/kratos/python/ory_kratos_client/models/successful_native_registration.py create mode 100644 clients/kratos/python/ory_kratos_client/models/token_pagination.py create mode 100644 clients/kratos/python/ory_kratos_client/models/token_pagination_headers.py create mode 100644 clients/kratos/python/ory_kratos_client/models/ui_container.py create mode 100644 clients/kratos/python/ory_kratos_client/models/ui_node.py create mode 100644 clients/kratos/python/ory_kratos_client/models/ui_node_anchor_attributes.py create mode 100644 clients/kratos/python/ory_kratos_client/models/ui_node_attributes.py create mode 100644 clients/kratos/python/ory_kratos_client/models/ui_node_image_attributes.py create mode 100644 clients/kratos/python/ory_kratos_client/models/ui_node_input_attributes.py create mode 100644 clients/kratos/python/ory_kratos_client/models/ui_node_meta.py create mode 100644 clients/kratos/python/ory_kratos_client/models/ui_node_script_attributes.py create mode 100644 clients/kratos/python/ory_kratos_client/models/ui_node_text_attributes.py create mode 100644 clients/kratos/python/ory_kratos_client/models/ui_text.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_identity_body.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_login_flow_body.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_login_flow_with_code_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_login_flow_with_lookup_secret_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_login_flow_with_oidc_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_login_flow_with_passkey_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_login_flow_with_password_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_login_flow_with_totp_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_login_flow_with_web_authn_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_recovery_flow_body.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_recovery_flow_with_code_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_recovery_flow_with_link_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_registration_flow_body.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_registration_flow_with_code_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_registration_flow_with_oidc_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_registration_flow_with_passkey_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_registration_flow_with_password_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_registration_flow_with_profile_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_registration_flow_with_web_authn_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_settings_flow_body.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_settings_flow_with_lookup_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_settings_flow_with_oidc_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_settings_flow_with_passkey_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_settings_flow_with_password_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_settings_flow_with_profile_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_settings_flow_with_totp_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_settings_flow_with_web_authn_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_verification_flow_body.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_verification_flow_with_code_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/update_verification_flow_with_link_method.py create mode 100644 clients/kratos/python/ory_kratos_client/models/verifiable_identity_address.py create mode 100644 clients/kratos/python/ory_kratos_client/models/verification_flow.py create mode 100644 clients/kratos/python/ory_kratos_client/models/verification_flow_state.py create mode 100644 clients/kratos/python/ory_kratos_client/models/version.py create mode 100644 clients/kratos/python/ory_kratos_client/py.typed create mode 100644 clients/kratos/python/pyproject.toml delete mode 100644 clients/kratos/python/test/test_identity_schemas.py delete mode 100644 clients/kratos/python/test/test_json_patch_document.py delete mode 100644 clients/kratos/python/test/test_null_duration.py delete mode 100644 clients/kratos/python/test/test_session_authentication_methods.py delete mode 100644 clients/kratos/python/test/test_ui_nodes.py delete mode 100644 clients/kratos/python/test/test_ui_texts.py create mode 100644 clients/kratos/python/test/test_update_login_flow_with_passkey_method.py create mode 100644 clients/kratos/python/test/test_update_registration_flow_with_passkey_method.py create mode 100644 clients/kratos/python/test/test_update_registration_flow_with_profile_method.py create mode 100644 clients/kratos/python/test/test_update_settings_flow_with_passkey_method.py create mode 100644 clients/kratos/ruby/docs/UpdateLoginFlowWithPasskeyMethod.md create mode 100644 clients/kratos/ruby/docs/UpdateRegistrationFlowWithPasskeyMethod.md create mode 100644 clients/kratos/ruby/docs/UpdateRegistrationFlowWithProfileMethod.md create mode 100644 clients/kratos/ruby/docs/UpdateSettingsFlowWithPasskeyMethod.md create mode 100644 clients/kratos/ruby/lib/ory-kratos-client/models/update_login_flow_with_passkey_method.rb create mode 100644 clients/kratos/ruby/lib/ory-kratos-client/models/update_registration_flow_with_passkey_method.rb create mode 100644 clients/kratos/ruby/lib/ory-kratos-client/models/update_registration_flow_with_profile_method.rb create mode 100644 clients/kratos/ruby/lib/ory-kratos-client/models/update_settings_flow_with_passkey_method.rb delete mode 100644 clients/kratos/ruby/spec/api_client_spec.rb delete mode 100644 clients/kratos/ruby/spec/configuration_spec.rb create mode 100644 clients/kratos/ruby/spec/models/update_login_flow_with_passkey_method_spec.rb create mode 100644 clients/kratos/ruby/spec/models/update_registration_flow_with_passkey_method_spec.rb create mode 100644 clients/kratos/ruby/spec/models/update_registration_flow_with_profile_method_spec.rb create mode 100644 clients/kratos/ruby/spec/models/update_settings_flow_with_passkey_method_spec.rb create mode 100644 clients/kratos/rust/docs/UpdateLoginFlowWithPasskeyMethod.md create mode 100644 clients/kratos/rust/docs/UpdateRegistrationFlowWithPasskeyMethod.md create mode 100644 clients/kratos/rust/docs/UpdateRegistrationFlowWithProfileMethod.md create mode 100644 clients/kratos/rust/docs/UpdateSettingsFlowWithPasskeyMethod.md create mode 100644 clients/kratos/rust/src/models/update_login_flow_with_passkey_method.rs create mode 100644 clients/kratos/rust/src/models/update_registration_flow_with_passkey_method.rs create mode 100644 clients/kratos/rust/src/models/update_registration_flow_with_profile_method.rs create mode 100644 clients/kratos/rust/src/models/update_settings_flow_with_passkey_method.rs create mode 100644 clients/kratos/typescript-fetch/.gitignore create mode 100644 clients/kratos/typescript-fetch/.npmignore create mode 100644 clients/kratos/typescript-fetch/.openapi-generator-ignore create mode 100644 clients/kratos/typescript-fetch/.openapi-generator/FILES create mode 100644 clients/kratos/typescript-fetch/.openapi-generator/VERSION create mode 100644 clients/kratos/typescript-fetch/LICENSE create mode 100644 clients/kratos/typescript-fetch/README.md create mode 100644 clients/kratos/typescript-fetch/package-lock.json create mode 100644 clients/kratos/typescript-fetch/package.json create mode 100644 clients/kratos/typescript-fetch/src/apis/CourierApi.ts create mode 100644 clients/kratos/typescript-fetch/src/apis/FrontendApi.ts create mode 100644 clients/kratos/typescript-fetch/src/apis/IdentityApi.ts create mode 100644 clients/kratos/typescript-fetch/src/apis/MetadataApi.ts create mode 100644 clients/kratos/typescript-fetch/src/apis/index.ts create mode 100644 clients/kratos/typescript-fetch/src/index.ts create mode 100644 clients/kratos/typescript-fetch/src/models/AuthenticatorAssuranceLevel.ts create mode 100644 clients/kratos/typescript-fetch/src/models/BatchPatchIdentitiesResponse.ts create mode 100644 clients/kratos/typescript-fetch/src/models/ConsistencyRequestParameters.ts create mode 100644 clients/kratos/typescript-fetch/src/models/ContinueWith.ts create mode 100644 clients/kratos/typescript-fetch/src/models/ContinueWithRecoveryUi.ts create mode 100644 clients/kratos/typescript-fetch/src/models/ContinueWithRecoveryUiFlow.ts create mode 100644 clients/kratos/typescript-fetch/src/models/ContinueWithSetOrySessionToken.ts create mode 100644 clients/kratos/typescript-fetch/src/models/ContinueWithSettingsUi.ts create mode 100644 clients/kratos/typescript-fetch/src/models/ContinueWithSettingsUiFlow.ts create mode 100644 clients/kratos/typescript-fetch/src/models/ContinueWithVerificationUi.ts create mode 100644 clients/kratos/typescript-fetch/src/models/ContinueWithVerificationUiFlow.ts create mode 100644 clients/kratos/typescript-fetch/src/models/CourierMessageStatus.ts create mode 100644 clients/kratos/typescript-fetch/src/models/CourierMessageType.ts create mode 100644 clients/kratos/typescript-fetch/src/models/CreateIdentityBody.ts create mode 100644 clients/kratos/typescript-fetch/src/models/CreateRecoveryCodeForIdentityBody.ts create mode 100644 clients/kratos/typescript-fetch/src/models/CreateRecoveryLinkForIdentityBody.ts create mode 100644 clients/kratos/typescript-fetch/src/models/DeleteMySessionsCount.ts create mode 100644 clients/kratos/typescript-fetch/src/models/ErrorAuthenticatorAssuranceLevelNotSatisfied.ts create mode 100644 clients/kratos/typescript-fetch/src/models/ErrorBrowserLocationChangeRequired.ts create mode 100644 clients/kratos/typescript-fetch/src/models/ErrorFlowReplaced.ts create mode 100644 clients/kratos/typescript-fetch/src/models/ErrorGeneric.ts create mode 100644 clients/kratos/typescript-fetch/src/models/FlowError.ts create mode 100644 clients/kratos/typescript-fetch/src/models/GenericError.ts create mode 100644 clients/kratos/typescript-fetch/src/models/GetVersion200Response.ts create mode 100644 clients/kratos/typescript-fetch/src/models/HealthNotReadyStatus.ts create mode 100644 clients/kratos/typescript-fetch/src/models/HealthStatus.ts create mode 100644 clients/kratos/typescript-fetch/src/models/Identity.ts create mode 100644 clients/kratos/typescript-fetch/src/models/IdentityCredentials.ts create mode 100644 clients/kratos/typescript-fetch/src/models/IdentityCredentialsCode.ts create mode 100644 clients/kratos/typescript-fetch/src/models/IdentityCredentialsOidc.ts create mode 100644 clients/kratos/typescript-fetch/src/models/IdentityCredentialsOidcProvider.ts create mode 100644 clients/kratos/typescript-fetch/src/models/IdentityCredentialsPassword.ts create mode 100644 clients/kratos/typescript-fetch/src/models/IdentityPatch.ts create mode 100644 clients/kratos/typescript-fetch/src/models/IdentityPatchResponse.ts create mode 100644 clients/kratos/typescript-fetch/src/models/IdentitySchemaContainer.ts create mode 100644 clients/kratos/typescript-fetch/src/models/IdentityWithCredentials.ts create mode 100644 clients/kratos/typescript-fetch/src/models/IdentityWithCredentialsOidc.ts create mode 100644 clients/kratos/typescript-fetch/src/models/IdentityWithCredentialsOidcConfig.ts create mode 100644 clients/kratos/typescript-fetch/src/models/IdentityWithCredentialsOidcConfigProvider.ts create mode 100644 clients/kratos/typescript-fetch/src/models/IdentityWithCredentialsPassword.ts create mode 100644 clients/kratos/typescript-fetch/src/models/IdentityWithCredentialsPasswordConfig.ts create mode 100644 clients/kratos/typescript-fetch/src/models/IsAlive200Response.ts create mode 100644 clients/kratos/typescript-fetch/src/models/IsReady503Response.ts create mode 100644 clients/kratos/typescript-fetch/src/models/JsonPatch.ts create mode 100644 clients/kratos/typescript-fetch/src/models/LoginFlow.ts create mode 100644 clients/kratos/typescript-fetch/src/models/LoginFlowState.ts create mode 100644 clients/kratos/typescript-fetch/src/models/LogoutFlow.ts create mode 100644 clients/kratos/typescript-fetch/src/models/Message.ts create mode 100644 clients/kratos/typescript-fetch/src/models/MessageDispatch.ts create mode 100644 clients/kratos/typescript-fetch/src/models/NeedsPrivilegedSessionError.ts create mode 100644 clients/kratos/typescript-fetch/src/models/OAuth2Client.ts create mode 100644 clients/kratos/typescript-fetch/src/models/OAuth2ConsentRequestOpenIDConnectContext.ts create mode 100644 clients/kratos/typescript-fetch/src/models/OAuth2LoginRequest.ts create mode 100644 clients/kratos/typescript-fetch/src/models/PatchIdentitiesBody.ts create mode 100644 clients/kratos/typescript-fetch/src/models/PerformNativeLogoutBody.ts create mode 100644 clients/kratos/typescript-fetch/src/models/RecoveryCodeForIdentity.ts create mode 100644 clients/kratos/typescript-fetch/src/models/RecoveryFlow.ts create mode 100644 clients/kratos/typescript-fetch/src/models/RecoveryFlowState.ts create mode 100644 clients/kratos/typescript-fetch/src/models/RecoveryIdentityAddress.ts create mode 100644 clients/kratos/typescript-fetch/src/models/RecoveryLinkForIdentity.ts create mode 100644 clients/kratos/typescript-fetch/src/models/RegistrationFlow.ts create mode 100644 clients/kratos/typescript-fetch/src/models/RegistrationFlowState.ts create mode 100644 clients/kratos/typescript-fetch/src/models/SelfServiceFlowExpiredError.ts create mode 100644 clients/kratos/typescript-fetch/src/models/Session.ts create mode 100644 clients/kratos/typescript-fetch/src/models/SessionAuthenticationMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/SessionDevice.ts create mode 100644 clients/kratos/typescript-fetch/src/models/SettingsFlow.ts create mode 100644 clients/kratos/typescript-fetch/src/models/SettingsFlowState.ts create mode 100644 clients/kratos/typescript-fetch/src/models/SuccessfulCodeExchangeResponse.ts create mode 100644 clients/kratos/typescript-fetch/src/models/SuccessfulNativeLogin.ts create mode 100644 clients/kratos/typescript-fetch/src/models/SuccessfulNativeRegistration.ts create mode 100644 clients/kratos/typescript-fetch/src/models/TokenPagination.ts create mode 100644 clients/kratos/typescript-fetch/src/models/TokenPaginationHeaders.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UiContainer.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UiNode.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UiNodeAnchorAttributes.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UiNodeAttributes.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UiNodeImageAttributes.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UiNodeInputAttributes.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UiNodeMeta.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UiNodeScriptAttributes.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UiNodeTextAttributes.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UiText.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateIdentityBody.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateLoginFlowBody.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateLoginFlowWithCodeMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateLoginFlowWithLookupSecretMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateLoginFlowWithOidcMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateLoginFlowWithPasskeyMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateLoginFlowWithPasswordMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateLoginFlowWithTotpMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateLoginFlowWithWebAuthnMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateRecoveryFlowBody.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateRecoveryFlowWithCodeMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateRecoveryFlowWithLinkMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateRegistrationFlowBody.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateRegistrationFlowWithCodeMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateRegistrationFlowWithOidcMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateRegistrationFlowWithPasskeyMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateRegistrationFlowWithPasswordMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateRegistrationFlowWithProfileMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateRegistrationFlowWithWebAuthnMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateSettingsFlowBody.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateSettingsFlowWithLookupMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateSettingsFlowWithOidcMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateSettingsFlowWithPasskeyMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateSettingsFlowWithPasswordMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateSettingsFlowWithProfileMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateSettingsFlowWithTotpMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateSettingsFlowWithWebAuthnMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateVerificationFlowBody.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateVerificationFlowWithCodeMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/UpdateVerificationFlowWithLinkMethod.ts create mode 100644 clients/kratos/typescript-fetch/src/models/VerifiableIdentityAddress.ts create mode 100644 clients/kratos/typescript-fetch/src/models/VerificationFlow.ts create mode 100644 clients/kratos/typescript-fetch/src/models/VerificationFlowState.ts create mode 100644 clients/kratos/typescript-fetch/src/models/Version.ts create mode 100644 clients/kratos/typescript-fetch/src/models/index.ts create mode 100644 clients/kratos/typescript-fetch/src/runtime.ts create mode 100644 clients/kratos/typescript-fetch/tsconfig.esm.json create mode 100644 clients/kratos/typescript-fetch/tsconfig.json diff --git a/clients/kratos/dart/.openapi-generator/FILES b/clients/kratos/dart/.openapi-generator/FILES index 2e52e855a46..4761771f246 100644 --- a/clients/kratos/dart/.openapi-generator/FILES +++ b/clients/kratos/dart/.openapi-generator/FILES @@ -94,6 +94,7 @@ doc/UpdateLoginFlowBody.md doc/UpdateLoginFlowWithCodeMethod.md doc/UpdateLoginFlowWithLookupSecretMethod.md doc/UpdateLoginFlowWithOidcMethod.md +doc/UpdateLoginFlowWithPasskeyMethod.md doc/UpdateLoginFlowWithPasswordMethod.md doc/UpdateLoginFlowWithTotpMethod.md doc/UpdateLoginFlowWithWebAuthnMethod.md @@ -103,11 +104,14 @@ doc/UpdateRecoveryFlowWithLinkMethod.md doc/UpdateRegistrationFlowBody.md doc/UpdateRegistrationFlowWithCodeMethod.md doc/UpdateRegistrationFlowWithOidcMethod.md +doc/UpdateRegistrationFlowWithPasskeyMethod.md doc/UpdateRegistrationFlowWithPasswordMethod.md +doc/UpdateRegistrationFlowWithProfileMethod.md doc/UpdateRegistrationFlowWithWebAuthnMethod.md doc/UpdateSettingsFlowBody.md doc/UpdateSettingsFlowWithLookupMethod.md doc/UpdateSettingsFlowWithOidcMethod.md +doc/UpdateSettingsFlowWithPasskeyMethod.md doc/UpdateSettingsFlowWithPasswordMethod.md doc/UpdateSettingsFlowWithProfileMethod.md doc/UpdateSettingsFlowWithTotpMethod.md @@ -221,6 +225,7 @@ lib/src/model/update_login_flow_body.dart lib/src/model/update_login_flow_with_code_method.dart lib/src/model/update_login_flow_with_lookup_secret_method.dart lib/src/model/update_login_flow_with_oidc_method.dart +lib/src/model/update_login_flow_with_passkey_method.dart lib/src/model/update_login_flow_with_password_method.dart lib/src/model/update_login_flow_with_totp_method.dart lib/src/model/update_login_flow_with_web_authn_method.dart @@ -230,11 +235,14 @@ lib/src/model/update_recovery_flow_with_link_method.dart lib/src/model/update_registration_flow_body.dart lib/src/model/update_registration_flow_with_code_method.dart lib/src/model/update_registration_flow_with_oidc_method.dart +lib/src/model/update_registration_flow_with_passkey_method.dart lib/src/model/update_registration_flow_with_password_method.dart +lib/src/model/update_registration_flow_with_profile_method.dart lib/src/model/update_registration_flow_with_web_authn_method.dart lib/src/model/update_settings_flow_body.dart lib/src/model/update_settings_flow_with_lookup_method.dart lib/src/model/update_settings_flow_with_oidc_method.dart +lib/src/model/update_settings_flow_with_passkey_method.dart lib/src/model/update_settings_flow_with_password_method.dart lib/src/model/update_settings_flow_with_profile_method.dart lib/src/model/update_settings_flow_with_totp_method.dart @@ -340,6 +348,7 @@ test/update_login_flow_body_test.dart test/update_login_flow_with_code_method_test.dart test/update_login_flow_with_lookup_secret_method_test.dart test/update_login_flow_with_oidc_method_test.dart +test/update_login_flow_with_passkey_method_test.dart test/update_login_flow_with_password_method_test.dart test/update_login_flow_with_totp_method_test.dart test/update_login_flow_with_web_authn_method_test.dart @@ -349,11 +358,14 @@ test/update_recovery_flow_with_link_method_test.dart test/update_registration_flow_body_test.dart test/update_registration_flow_with_code_method_test.dart test/update_registration_flow_with_oidc_method_test.dart +test/update_registration_flow_with_passkey_method_test.dart test/update_registration_flow_with_password_method_test.dart +test/update_registration_flow_with_profile_method_test.dart test/update_registration_flow_with_web_authn_method_test.dart test/update_settings_flow_body_test.dart test/update_settings_flow_with_lookup_method_test.dart test/update_settings_flow_with_oidc_method_test.dart +test/update_settings_flow_with_passkey_method_test.dart test/update_settings_flow_with_password_method_test.dart test/update_settings_flow_with_profile_method_test.dart test/update_settings_flow_with_totp_method_test.dart diff --git a/clients/kratos/dart/.openapi-generator/VERSION b/clients/kratos/dart/.openapi-generator/VERSION index cd802a1ec4e..1985849fb58 100644 --- a/clients/kratos/dart/.openapi-generator/VERSION +++ b/clients/kratos/dart/.openapi-generator/VERSION @@ -1 +1 @@ -6.6.0 \ No newline at end of file +7.7.0 diff --git a/clients/kratos/dart/README.md b/clients/kratos/dart/README.md index f2ffed3a42f..1e4b78d78f1 100644 --- a/clients/kratos/dart/README.md +++ b/clients/kratos/dart/README.md @@ -4,7 +4,8 @@ This is the API specification for Ory Identities with features such as registrat This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: v1.1.0 +- API version: v1.2.1 +- Generator version: 7.7.0 - Build package: org.openapitools.codegen.languages.DartDioClientCodegen ## Requirements @@ -18,7 +19,7 @@ This Dart package is automatically generated by the [OpenAPI Generator](https:// To use the package from [pub.dev](https://pub.dev), please include the following in pubspec.yaml ```yaml dependencies: - ory_kratos_client: 1.1.0 + ory_kratos_client: 1.2.1 ``` ### Github @@ -53,7 +54,7 @@ final String id = id_example; // String | MessageID is the ID of the message. try { final response = await api.getCourierMessage(id); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print("Exception when calling CourierApi->getCourierMessage: $e\n"); } @@ -97,7 +98,7 @@ Class | Method | HTTP request | Description [*FrontendApi*](doc/FrontendApi.md) | [**updateRegistrationFlow**](doc/FrontendApi.md#updateregistrationflow) | **POST** /self-service/registration | Update Registration Flow [*FrontendApi*](doc/FrontendApi.md) | [**updateSettingsFlow**](doc/FrontendApi.md#updatesettingsflow) | **POST** /self-service/settings | Complete Settings Flow [*FrontendApi*](doc/FrontendApi.md) | [**updateVerificationFlow**](doc/FrontendApi.md#updateverificationflow) | **POST** /self-service/verification | Complete Verification Flow -[*IdentityApi*](doc/IdentityApi.md) | [**batchPatchIdentities**](doc/IdentityApi.md#batchpatchidentities) | **PATCH** /admin/identities | Create and deletes multiple identities +[*IdentityApi*](doc/IdentityApi.md) | [**batchPatchIdentities**](doc/IdentityApi.md#batchpatchidentities) | **PATCH** /admin/identities | Create multiple identities [*IdentityApi*](doc/IdentityApi.md) | [**createIdentity**](doc/IdentityApi.md#createidentity) | **POST** /admin/identities | Create an Identity [*IdentityApi*](doc/IdentityApi.md) | [**createRecoveryCodeForIdentity**](doc/IdentityApi.md#createrecoverycodeforidentity) | **POST** /admin/recovery/code | Create a Recovery Code [*IdentityApi*](doc/IdentityApi.md) | [**createRecoveryLinkForIdentity**](doc/IdentityApi.md#createrecoverylinkforidentity) | **POST** /admin/recovery/link | Create a Recovery Link @@ -210,6 +211,7 @@ Class | Method | HTTP request | Description - [UpdateLoginFlowWithCodeMethod](doc/UpdateLoginFlowWithCodeMethod.md) - [UpdateLoginFlowWithLookupSecretMethod](doc/UpdateLoginFlowWithLookupSecretMethod.md) - [UpdateLoginFlowWithOidcMethod](doc/UpdateLoginFlowWithOidcMethod.md) + - [UpdateLoginFlowWithPasskeyMethod](doc/UpdateLoginFlowWithPasskeyMethod.md) - [UpdateLoginFlowWithPasswordMethod](doc/UpdateLoginFlowWithPasswordMethod.md) - [UpdateLoginFlowWithTotpMethod](doc/UpdateLoginFlowWithTotpMethod.md) - [UpdateLoginFlowWithWebAuthnMethod](doc/UpdateLoginFlowWithWebAuthnMethod.md) @@ -219,11 +221,14 @@ Class | Method | HTTP request | Description - [UpdateRegistrationFlowBody](doc/UpdateRegistrationFlowBody.md) - [UpdateRegistrationFlowWithCodeMethod](doc/UpdateRegistrationFlowWithCodeMethod.md) - [UpdateRegistrationFlowWithOidcMethod](doc/UpdateRegistrationFlowWithOidcMethod.md) + - [UpdateRegistrationFlowWithPasskeyMethod](doc/UpdateRegistrationFlowWithPasskeyMethod.md) - [UpdateRegistrationFlowWithPasswordMethod](doc/UpdateRegistrationFlowWithPasswordMethod.md) + - [UpdateRegistrationFlowWithProfileMethod](doc/UpdateRegistrationFlowWithProfileMethod.md) - [UpdateRegistrationFlowWithWebAuthnMethod](doc/UpdateRegistrationFlowWithWebAuthnMethod.md) - [UpdateSettingsFlowBody](doc/UpdateSettingsFlowBody.md) - [UpdateSettingsFlowWithLookupMethod](doc/UpdateSettingsFlowWithLookupMethod.md) - [UpdateSettingsFlowWithOidcMethod](doc/UpdateSettingsFlowWithOidcMethod.md) + - [UpdateSettingsFlowWithPasskeyMethod](doc/UpdateSettingsFlowWithPasskeyMethod.md) - [UpdateSettingsFlowWithPasswordMethod](doc/UpdateSettingsFlowWithPasswordMethod.md) - [UpdateSettingsFlowWithProfileMethod](doc/UpdateSettingsFlowWithProfileMethod.md) - [UpdateSettingsFlowWithTotpMethod](doc/UpdateSettingsFlowWithTotpMethod.md) diff --git a/clients/kratos/dart/analysis_options.yaml b/clients/kratos/dart/analysis_options.yaml index 139ad7abf55..16a95850087 100644 --- a/clients/kratos/dart/analysis_options.yaml +++ b/clients/kratos/dart/analysis_options.yaml @@ -2,9 +2,7 @@ analyzer: language: strict-inference: true strict-raw-types: true - strong-mode: - implicit-dynamic: false - implicit-casts: false + strict-casts: false exclude: - test/*.dart errors: diff --git a/clients/kratos/dart/doc/CourierApi.md b/clients/kratos/dart/doc/CourierApi.md index ebbb998ba59..43d2105da10 100644 --- a/clients/kratos/dart/doc/CourierApi.md +++ b/clients/kratos/dart/doc/CourierApi.md @@ -34,7 +34,7 @@ final String id = id_example; // String | MessageID is the ID of the message. try { final response = api.getCourierMessage(id); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling CourierApi->getCourierMessage: $e\n'); } ``` @@ -84,7 +84,7 @@ final String recipient = recipient_example; // String | Recipient filters out me try { final response = api.listCourierMessages(pageSize, pageToken, status, recipient); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling CourierApi->listCourierMessages: $e\n'); } ``` diff --git a/clients/kratos/dart/doc/CreateRecoveryCodeForIdentityBody.md b/clients/kratos/dart/doc/CreateRecoveryCodeForIdentityBody.md index ee0a80d23d1..c47152f78f1 100644 --- a/clients/kratos/dart/doc/CreateRecoveryCodeForIdentityBody.md +++ b/clients/kratos/dart/doc/CreateRecoveryCodeForIdentityBody.md @@ -9,6 +9,7 @@ import 'package:ory_kratos_client/api.dart'; Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **expiresIn** | **String** | Code Expires In The recovery code will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`. | [optional] +**flowType** | **String** | The flow type can either be `api` or `browser`. | [optional] **identityId** | **String** | Identity to Recover The identity's ID you wish to recover. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/FrontendApi.md b/clients/kratos/dart/doc/FrontendApi.md index abd6c4f9435..a72e51339eb 100644 --- a/clients/kratos/dart/doc/FrontendApi.md +++ b/clients/kratos/dart/doc/FrontendApi.md @@ -42,7 +42,7 @@ Method | HTTP request | Description # **createBrowserLoginFlow** -> LoginFlow createBrowserLoginFlow(refresh, aal, returnTo, cookie, loginChallenge, organization) +> LoginFlow createBrowserLoginFlow(refresh, aal, returnTo, cookie, loginChallenge, organization, via) Create Login Flow for Browsers @@ -59,11 +59,12 @@ final String returnTo = returnTo_example; // String | The URL to return the brow final String 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. final String loginChallenge = loginChallenge_example; // String | An optional Hydra login challenge. If present, Kratos will cooperate with Ory Hydra to act as an OAuth2 identity provider. The value for this parameter comes from `login_challenge` URL Query parameter sent to your application (e.g. `/login?login_challenge=abcde`). final String organization = organization_example; // String | An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network. +final String via = via_example; // String | Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows. try { - final response = api.createBrowserLoginFlow(refresh, aal, returnTo, cookie, loginChallenge, organization); + final response = api.createBrowserLoginFlow(refresh, aal, returnTo, cookie, loginChallenge, organization, via); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->createBrowserLoginFlow: $e\n'); } ``` @@ -78,6 +79,7 @@ Name | Type | Description | Notes **cookie** | **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. | [optional] **loginChallenge** | **String**| An optional Hydra login challenge. If present, Kratos will cooperate with Ory Hydra to act as an OAuth2 identity provider. The value for this parameter comes from `login_challenge` URL Query parameter sent to your application (e.g. `/login?login_challenge=abcde`). | [optional] **organization** | **String**| An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network. | [optional] + **via** | **String**| Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows. | [optional] ### Return type @@ -112,7 +114,7 @@ final String returnTo = returnTo_example; // String | Return to URL The URL to try { final response = api.createBrowserLogoutFlow(cookie, returnTo); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->createBrowserLogoutFlow: $e\n'); } ``` @@ -156,7 +158,7 @@ final String returnTo = returnTo_example; // String | The URL to return the brow try { final response = api.createBrowserRecoveryFlow(returnTo); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->createBrowserRecoveryFlow: $e\n'); } ``` @@ -202,7 +204,7 @@ final String organization = organization_example; // String | try { final response = api.createBrowserRegistrationFlow(returnTo, loginChallenge, afterVerificationReturnTo, organization); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->createBrowserRegistrationFlow: $e\n'); } ``` @@ -249,7 +251,7 @@ final String cookie = cookie_example; // String | HTTP Cookies When using the S try { final response = api.createBrowserSettingsFlow(returnTo, cookie); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->createBrowserSettingsFlow: $e\n'); } ``` @@ -293,7 +295,7 @@ final String returnTo = returnTo_example; // String | The URL to return the brow try { final response = api.createBrowserVerificationFlow(returnTo); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->createBrowserVerificationFlow: $e\n'); } ``` @@ -341,7 +343,7 @@ final String via = via_example; // String | Via should contain the identity's cr try { final response = api.createNativeLoginFlow(refresh, aal, xSessionToken, returnSessionTokenExchangeCode, returnTo, via); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->createNativeLoginFlow: $e\n'); } ``` @@ -388,7 +390,7 @@ final api = OryKratosClient().getFrontendApi(); try { final response = api.createNativeRecoveryFlow(); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->createNativeRecoveryFlow: $e\n'); } ``` @@ -429,7 +431,7 @@ final String returnTo = returnTo_example; // String | The URL to return the brow try { final response = api.createNativeRegistrationFlow(returnSessionTokenExchangeCode, returnTo); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->createNativeRegistrationFlow: $e\n'); } ``` @@ -473,7 +475,7 @@ final String xSessionToken = xSessionToken_example; // String | The Session Toke try { final response = api.createNativeSettingsFlow(xSessionToken); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->createNativeSettingsFlow: $e\n'); } ``` @@ -515,7 +517,7 @@ final api = OryKratosClient().getFrontendApi(); try { final response = api.createNativeVerificationFlow(); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->createNativeVerificationFlow: $e\n'); } ``` @@ -556,7 +558,7 @@ final String cookie = cookie_example; // String | Set the Cookie Header. This is try { final response = api.disableMyOtherSessions(xSessionToken, cookie); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->disableMyOtherSessions: $e\n'); } ``` @@ -601,7 +603,7 @@ final String cookie = cookie_example; // String | Set the Cookie Header. This is try { api.disableMySession(id, xSessionToken, cookie); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->disableMySession: $e\n'); } ``` @@ -645,7 +647,7 @@ final String returnToCode = returnToCode_example; // String | The part of the co try { final response = api.exchangeSessionToken(initCode, returnToCode); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->exchangeSessionToken: $e\n'); } ``` @@ -689,7 +691,7 @@ final String id = id_example; // String | Error is the error's ID try { final response = api.getFlowError(id); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->getFlowError: $e\n'); } ``` @@ -733,7 +735,7 @@ final String cookie = cookie_example; // String | HTTP Cookies When using the S try { final response = api.getLoginFlow(id, cookie); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->getLoginFlow: $e\n'); } ``` @@ -778,7 +780,7 @@ final String cookie = cookie_example; // String | HTTP Cookies When using the S try { final response = api.getRecoveryFlow(id, cookie); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->getRecoveryFlow: $e\n'); } ``` @@ -823,7 +825,7 @@ final String cookie = cookie_example; // String | HTTP Cookies When using the S try { final response = api.getRegistrationFlow(id, cookie); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->getRegistrationFlow: $e\n'); } ``` @@ -869,7 +871,7 @@ final String cookie = cookie_example; // String | HTTP Cookies When using the S try { final response = api.getSettingsFlow(id, xSessionToken, cookie); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->getSettingsFlow: $e\n'); } ``` @@ -915,7 +917,7 @@ final String cookie = cookie_example; // String | HTTP Cookies When using the S try { final response = api.getVerificationFlow(id, cookie); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->getVerificationFlow: $e\n'); } ``` @@ -958,7 +960,7 @@ final api = OryKratosClient().getFrontendApi(); try { final response = api.getWebAuthnJavaScript(); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->getWebAuthnJavaScript: $e\n'); } ``` @@ -1003,7 +1005,7 @@ final String cookie = cookie_example; // String | Set the Cookie Header. This is try { final response = api.listMySessions(perPage, page, pageSize, pageToken, xSessionToken, cookie); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->listMySessions: $e\n'); } ``` @@ -1050,7 +1052,7 @@ final PerformNativeLogoutBody performNativeLogoutBody = ; // PerformNativeLogout try { api.performNativeLogout(performNativeLogoutBody); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->performNativeLogout: $e\n'); } ``` @@ -1095,7 +1097,7 @@ final String tokenizeAs = tokenizeAs_example; // String | Returns the session ad try { final response = api.toSession(xSessionToken, cookie, tokenizeAs); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->toSession: $e\n'); } ``` @@ -1143,7 +1145,7 @@ final String cookie = cookie_example; // String | HTTP Cookies When using the S try { final response = api.updateLoginFlow(flow, updateLoginFlowBody, xSessionToken, cookie); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->updateLoginFlow: $e\n'); } ``` @@ -1190,7 +1192,7 @@ final String cookie = cookie_example; // String | HTTP Cookies When using the S try { api.updateLogoutFlow(token, returnTo, cookie); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->updateLogoutFlow: $e\n'); } ``` @@ -1238,7 +1240,7 @@ final String cookie = cookie_example; // String | HTTP Cookies When using the S try { final response = api.updateRecoveryFlow(flow, updateRecoveryFlowBody, token, cookie); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->updateRecoveryFlow: $e\n'); } ``` @@ -1286,7 +1288,7 @@ final String cookie = cookie_example; // String | HTTP Cookies When using the S try { final response = api.updateRegistrationFlow(flow, updateRegistrationFlowBody, cookie); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->updateRegistrationFlow: $e\n'); } ``` @@ -1334,7 +1336,7 @@ final String cookie = cookie_example; // String | HTTP Cookies When using the S try { final response = api.updateSettingsFlow(flow, updateSettingsFlowBody, xSessionToken, cookie); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->updateSettingsFlow: $e\n'); } ``` @@ -1383,7 +1385,7 @@ final String cookie = cookie_example; // String | HTTP Cookies When using the S try { final response = api.updateVerificationFlow(flow, updateVerificationFlowBody, token, cookie); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling FrontendApi->updateVerificationFlow: $e\n'); } ``` diff --git a/clients/kratos/dart/doc/IdentityApi.md b/clients/kratos/dart/doc/IdentityApi.md index 11bfaa3a4cf..8c4d556552a 100644 --- a/clients/kratos/dart/doc/IdentityApi.md +++ b/clients/kratos/dart/doc/IdentityApi.md @@ -9,7 +9,7 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**batchPatchIdentities**](IdentityApi.md#batchpatchidentities) | **PATCH** /admin/identities | Create and deletes multiple identities +[**batchPatchIdentities**](IdentityApi.md#batchpatchidentities) | **PATCH** /admin/identities | Create multiple identities [**createIdentity**](IdentityApi.md#createidentity) | **POST** /admin/identities | Create an Identity [**createRecoveryCodeForIdentity**](IdentityApi.md#createrecoverycodeforidentity) | **POST** /admin/recovery/code | Create a Recovery Code [**createRecoveryLinkForIdentity**](IdentityApi.md#createrecoverylinkforidentity) | **POST** /admin/recovery/link | Create a Recovery Link @@ -32,9 +32,9 @@ Method | HTTP request | Description # **batchPatchIdentities** > BatchPatchIdentitiesResponse batchPatchIdentities(patchIdentitiesBody) -Create and deletes multiple identities +Create multiple identities -Creates or delete multiple [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model). This endpoint can also be used to [import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities) for instance passwords, social sign in configurations or multifactor methods. +Creates multiple [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model). This endpoint can also be used to [import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities) for instance passwords, social sign in configurations or multifactor methods. ### Example ```dart @@ -50,7 +50,7 @@ final PatchIdentitiesBody patchIdentitiesBody = ; // PatchIdentitiesBody | try { final response = api.batchPatchIdentities(patchIdentitiesBody); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->batchPatchIdentities: $e\n'); } ``` @@ -97,7 +97,7 @@ final CreateIdentityBody createIdentityBody = ; // CreateIdentityBody | try { final response = api.createIdentity(createIdentityBody); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->createIdentity: $e\n'); } ``` @@ -144,7 +144,7 @@ final CreateRecoveryCodeForIdentityBody createRecoveryCodeForIdentityBody = ; // try { final response = api.createRecoveryCodeForIdentity(createRecoveryCodeForIdentityBody); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->createRecoveryCodeForIdentity: $e\n'); } ``` @@ -192,7 +192,7 @@ final CreateRecoveryLinkForIdentityBody createRecoveryLinkForIdentityBody = ; // try { final response = api.createRecoveryLinkForIdentity(returnTo, createRecoveryLinkForIdentityBody); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->createRecoveryLinkForIdentity: $e\n'); } ``` @@ -239,7 +239,7 @@ final String id = id_example; // String | ID is the identity's ID. try { api.deleteIdentity(id); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->deleteIdentity: $e\n'); } ``` @@ -282,11 +282,11 @@ import 'package:ory_kratos_client/api.dart'; final api = OryKratosClient().getIdentityApi(); final String id = id_example; // String | ID is the identity's ID. -final String type = type_example; // String | Type is the type of credentials to be deleted. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode +final String type = type_example; // String | Type is the type of credentials to be deleted. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode try { api.deleteIdentityCredentials(id, type); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->deleteIdentityCredentials: $e\n'); } ``` @@ -296,7 +296,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **String**| ID is the identity's ID. | - **type** | **String**| Type is the type of credentials to be deleted. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | + **type** | **String**| Type is the type of credentials to be deleted. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | ### Return type @@ -333,7 +333,7 @@ final String id = id_example; // String | ID is the identity's ID. try { api.deleteIdentitySessions(id); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->deleteIdentitySessions: $e\n'); } ``` @@ -379,7 +379,7 @@ final String id = id_example; // String | ID is the session's ID. try { api.disableSession(id); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->disableSession: $e\n'); } ``` @@ -426,7 +426,7 @@ final String id = id_example; // String | ID is the session's ID. try { final response = api.extendSession(id); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->extendSession: $e\n'); } ``` @@ -474,7 +474,7 @@ final BuiltList includeCredential = ; // BuiltList | Include Cre try { final response = api.getIdentity(id, includeCredential); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->getIdentity: $e\n'); } ``` @@ -518,7 +518,7 @@ final String id = id_example; // String | ID must be set to the ID of schema you try { final response = api.getIdentitySchema(id); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->getIdentitySchema: $e\n'); } ``` @@ -566,7 +566,7 @@ final BuiltList expand = ; // BuiltList | ExpandOptions is a que try { final response = api.getSession(id, expand); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->getSession: $e\n'); } ``` @@ -594,7 +594,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **listIdentities** -> BuiltList listIdentities(perPage, page, pageSize, pageToken, consistency, ids, credentialsIdentifier, previewCredentialsIdentifierSimilar) +> BuiltList listIdentities(perPage, page, pageSize, pageToken, consistency, ids, credentialsIdentifier, previewCredentialsIdentifierSimilar, includeCredential) List Identities @@ -617,11 +617,12 @@ final String consistency = consistency_example; // String | Read Consistency Lev final BuiltList ids = ; // BuiltList | List of ids used to filter identities. If this list is empty, then no filter will be applied. final String credentialsIdentifier = credentialsIdentifier_example; // String | CredentialsIdentifier is the identifier (username, email) of the credentials to look up using exact match. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used. final String previewCredentialsIdentifierSimilar = previewCredentialsIdentifierSimilar_example; // String | This is an EXPERIMENTAL parameter that WILL CHANGE. Do NOT rely on consistent, deterministic behavior. THIS PARAMETER WILL BE REMOVED IN AN UPCOMING RELEASE WITHOUT ANY MIGRATION PATH. CredentialsIdentifierSimilar is the (partial) identifier (username, email) of the credentials to look up using similarity search. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used. +final BuiltList includeCredential = ; // BuiltList | Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available. try { - final response = api.listIdentities(perPage, page, pageSize, pageToken, consistency, ids, credentialsIdentifier, previewCredentialsIdentifierSimilar); + final response = api.listIdentities(perPage, page, pageSize, pageToken, consistency, ids, credentialsIdentifier, previewCredentialsIdentifierSimilar, includeCredential); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->listIdentities: $e\n'); } ``` @@ -638,6 +639,7 @@ Name | Type | Description | Notes **ids** | [**BuiltList<String>**](String.md)| List of ids used to filter identities. If this list is empty, then no filter will be applied. | [optional] **credentialsIdentifier** | **String**| CredentialsIdentifier is the identifier (username, email) of the credentials to look up using exact match. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used. | [optional] **previewCredentialsIdentifierSimilar** | **String**| This is an EXPERIMENTAL parameter that WILL CHANGE. Do NOT rely on consistent, deterministic behavior. THIS PARAMETER WILL BE REMOVED IN AN UPCOMING RELEASE WITHOUT ANY MIGRATION PATH. CredentialsIdentifierSimilar is the (partial) identifier (username, email) of the credentials to look up using similarity search. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used. | [optional] + **includeCredential** | [**BuiltList<String>**](String.md)| Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available. | [optional] ### Return type @@ -674,7 +676,7 @@ final String pageToken = pageToken_example; // String | Next Page Token The nex try { final response = api.listIdentitySchemas(perPage, page, pageSize, pageToken); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->listIdentitySchemas: $e\n'); } ``` @@ -729,7 +731,7 @@ final bool active = true; // bool | Active is a boolean flag that filters out se try { final response = api.listIdentitySessions(id, perPage, page, pageSize, pageToken, active); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->listIdentitySessions: $e\n'); } ``` @@ -784,7 +786,7 @@ final BuiltList expand = ; // BuiltList | ExpandOptions is a que try { final response = api.listSessions(pageSize, pageToken, active, expand); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->listSessions: $e\n'); } ``` @@ -835,7 +837,7 @@ final BuiltList jsonPatch = ; // BuiltList | try { final response = api.patchIdentity(id, jsonPatch); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->patchIdentity: $e\n'); } ``` @@ -884,7 +886,7 @@ final UpdateIdentityBody updateIdentityBody = ; // UpdateIdentityBody | try { final response = api.updateIdentity(id, updateIdentityBody); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling IdentityApi->updateIdentity: $e\n'); } ``` diff --git a/clients/kratos/dart/doc/IdentityCredentials.md b/clients/kratos/dart/doc/IdentityCredentials.md index b559835984d..452b586beb3 100644 --- a/clients/kratos/dart/doc/IdentityCredentials.md +++ b/clients/kratos/dart/doc/IdentityCredentials.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **config** | [**JsonObject**](.md) | | [optional] **createdAt** | [**DateTime**](DateTime.md) | CreatedAt is a helper struct field for gobuffalo.pop. | [optional] **identifiers** | **BuiltList<String>** | Identifiers represents a list of unique identifiers this credential type matches. | [optional] -**type** | **String** | Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional] +**type** | **String** | Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional] **updatedAt** | [**DateTime**](DateTime.md) | UpdatedAt is a helper struct field for gobuffalo.pop. | [optional] **version** | **int** | Version refers to the version of the credential. Useful when changing the config schema. | [optional] diff --git a/clients/kratos/dart/doc/LoginFlow.md b/clients/kratos/dart/doc/LoginFlow.md index 520f0c60944..dea3d253681 100644 --- a/clients/kratos/dart/doc/LoginFlow.md +++ b/clients/kratos/dart/doc/LoginFlow.md @@ -8,7 +8,7 @@ import 'package:ory_kratos_client/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**active** | **String** | The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional] +**active** | **String** | The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional] **createdAt** | [**DateTime**](DateTime.md) | CreatedAt is a helper struct field for gobuffalo.pop. | [optional] **expiresAt** | [**DateTime**](DateTime.md) | ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. | **id** | **String** | ID represents the flow's unique ID. When performing the login flow, this represents the id in the login UI's query parameter: http:///?flow= | @@ -22,6 +22,7 @@ Name | Type | Description | Notes **returnTo** | **String** | ReturnTo contains the requested return_to URL. | [optional] **sessionTokenExchangeCode** | **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] **state** | [**JsonObject**](.md) | 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. | +**transientPayload** | [**JsonObject**](.md) | TransientPayload is used to pass data from the login to hooks and email templates | [optional] **type** | **String** | The flow type can either be `api` or `browser`. | **ui** | [**UiContainer**](UiContainer.md) | | **updatedAt** | [**DateTime**](DateTime.md) | UpdatedAt is a helper struct field for gobuffalo.pop. | [optional] diff --git a/clients/kratos/dart/doc/MetadataApi.md b/clients/kratos/dart/doc/MetadataApi.md index b0969477ba2..e79a0ed6b1a 100644 --- a/clients/kratos/dart/doc/MetadataApi.md +++ b/clients/kratos/dart/doc/MetadataApi.md @@ -30,7 +30,7 @@ final api = OryKratosClient().getMetadataApi(); try { final response = api.getVersion(); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling MetadataApi->getVersion: $e\n'); } ``` @@ -69,7 +69,7 @@ final api = OryKratosClient().getMetadataApi(); try { final response = api.isAlive(); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling MetadataApi->isAlive: $e\n'); } ``` @@ -108,7 +108,7 @@ final api = OryKratosClient().getMetadataApi(); try { final response = api.isReady(); print(response); -} catch on DioError (e) { +} catch on DioException (e) { print('Exception when calling MetadataApi->isReady: $e\n'); } ``` diff --git a/clients/kratos/dart/doc/RecoveryFlow.md b/clients/kratos/dart/doc/RecoveryFlow.md index cf4ecabfe1c..5bd746372f3 100644 --- a/clients/kratos/dart/doc/RecoveryFlow.md +++ b/clients/kratos/dart/doc/RecoveryFlow.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **requestUrl** | **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. | **returnTo** | **String** | ReturnTo contains the requested return_to URL. | [optional] **state** | [**JsonObject**](.md) | 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. | +**transientPayload** | [**JsonObject**](.md) | TransientPayload is used to pass data from the recovery flow to hooks and email templates | [optional] **type** | **String** | The flow type can either be `api` or `browser`. | **ui** | [**UiContainer**](UiContainer.md) | | diff --git a/clients/kratos/dart/doc/RegistrationFlow.md b/clients/kratos/dart/doc/RegistrationFlow.md index 3f74c41b581..0ef62585fb2 100644 --- a/clients/kratos/dart/doc/RegistrationFlow.md +++ b/clients/kratos/dart/doc/RegistrationFlow.md @@ -8,7 +8,7 @@ import 'package:ory_kratos_client/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**active** | **String** | Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional] +**active** | **String** | Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional] **expiresAt** | [**DateTime**](DateTime.md) | ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. | **id** | **String** | ID represents the flow's unique ID. When performing the registration flow, this represents the id in the registration ui's query parameter: http:///?flow= | **issuedAt** | [**DateTime**](DateTime.md) | IssuedAt is the time (UTC) when the flow occurred. | diff --git a/clients/kratos/dart/doc/SettingsFlow.md b/clients/kratos/dart/doc/SettingsFlow.md index ab7b355e6e5..f4d8f80c25d 100644 --- a/clients/kratos/dart/doc/SettingsFlow.md +++ b/clients/kratos/dart/doc/SettingsFlow.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **requestUrl** | **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. | **returnTo** | **String** | ReturnTo contains the requested return_to URL. | [optional] **state** | [**JsonObject**](.md) | 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. | +**transientPayload** | [**JsonObject**](.md) | TransientPayload is used to pass data from the settings flow to hooks and email templates | [optional] **type** | **String** | The flow type can either be `api` or `browser`. | **ui** | [**UiContainer**](UiContainer.md) | | diff --git a/clients/kratos/dart/doc/SuccessfulNativeLogin.md b/clients/kratos/dart/doc/SuccessfulNativeLogin.md index 8c3fb4ccdf4..239fec38be0 100644 --- a/clients/kratos/dart/doc/SuccessfulNativeLogin.md +++ b/clients/kratos/dart/doc/SuccessfulNativeLogin.md @@ -8,6 +8,7 @@ import 'package:ory_kratos_client/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**continueWith** | [**BuiltList<ContinueWith>**](ContinueWith.md) | Contains a list of actions, that could follow this flow It can, for example, this will contain a reference to the verification flow, created as part of the user's registration or the token of the session. | [optional] **session** | [**Session**](Session.md) | | **sessionToken** | **String** | The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! | [optional] diff --git a/clients/kratos/dart/doc/UiNode.md b/clients/kratos/dart/doc/UiNode.md index 961879469c5..ca31bed79fd 100644 --- a/clients/kratos/dart/doc/UiNode.md +++ b/clients/kratos/dart/doc/UiNode.md @@ -9,7 +9,7 @@ import 'package:ory_kratos_client/api.dart'; Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **attributes** | [**UiNodeAttributes**](UiNodeAttributes.md) | | -**group** | **String** | Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup | +**group** | **String** | Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup | **messages** | [**BuiltList<UiText>**](UiText.md) | | **meta** | [**UiNodeMeta**](UiNodeMeta.md) | | **type** | **String** | The node's type text Text input Input img Image a Anchor script Script | diff --git a/clients/kratos/dart/doc/UiNodeAnchorAttributes.md b/clients/kratos/dart/doc/UiNodeAnchorAttributes.md index 2f6b88bd1e3..5999028d799 100644 --- a/clients/kratos/dart/doc/UiNodeAnchorAttributes.md +++ b/clients/kratos/dart/doc/UiNodeAnchorAttributes.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **href** | **String** | The link's href (destination) URL. format: uri | **id** | **String** | A unique identifier | -**nodeType** | **String** | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"a\". | +**nodeType** | **String** | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"a\". text Text input Input img Image a Anchor script Script | **title** | [**UiText**](UiText.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UiNodeAttributes.md b/clients/kratos/dart/doc/UiNodeAttributes.md index c217c680516..11c8486ff38 100644 --- a/clients/kratos/dart/doc/UiNodeAttributes.md +++ b/clients/kratos/dart/doc/UiNodeAttributes.md @@ -12,8 +12,9 @@ Name | Type | Description | Notes **disabled** | **bool** | Sets the input's disabled field to true or false. | **label** | [**UiText**](UiText.md) | | [optional] **name** | **String** | The input's element name. | -**nodeType** | **String** | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". | +**nodeType** | **String** | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script | **onclick** | **String** | OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. | [optional] +**onload** | **String** | OnLoad may contain javascript which should be executed on load. This is primarily used for WebAuthn. | [optional] **pattern** | **String** | The input's pattern. | [optional] **required_** | **bool** | Mark this input field as required. | [optional] **type** | **String** | The script MIME type | diff --git a/clients/kratos/dart/doc/UiNodeImageAttributes.md b/clients/kratos/dart/doc/UiNodeImageAttributes.md index 0a1070181d4..4fcbf247a1a 100644 --- a/clients/kratos/dart/doc/UiNodeImageAttributes.md +++ b/clients/kratos/dart/doc/UiNodeImageAttributes.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **height** | **int** | Height of the image | **id** | **String** | A unique identifier | -**nodeType** | **String** | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\". | +**nodeType** | **String** | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\". text Text input Input img Image a Anchor script Script | **src** | **String** | The image's source URL. format: uri | **width** | **int** | Width of the image | diff --git a/clients/kratos/dart/doc/UiNodeInputAttributes.md b/clients/kratos/dart/doc/UiNodeInputAttributes.md index 53845755619..eff23b03cfc 100644 --- a/clients/kratos/dart/doc/UiNodeInputAttributes.md +++ b/clients/kratos/dart/doc/UiNodeInputAttributes.md @@ -12,8 +12,9 @@ Name | Type | Description | Notes **disabled** | **bool** | Sets the input's disabled field to true or false. | **label** | [**UiText**](UiText.md) | | [optional] **name** | **String** | The input's element name. | -**nodeType** | **String** | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". | +**nodeType** | **String** | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script | **onclick** | **String** | OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. | [optional] +**onload** | **String** | OnLoad may contain javascript which should be executed on load. This is primarily used for WebAuthn. | [optional] **pattern** | **String** | The input's pattern. | [optional] **required_** | **bool** | Mark this input field as required. | [optional] **type** | **String** | The input's element type. text InputAttributeTypeText password InputAttributeTypePassword number InputAttributeTypeNumber checkbox InputAttributeTypeCheckbox hidden InputAttributeTypeHidden email InputAttributeTypeEmail tel InputAttributeTypeTel submit InputAttributeTypeSubmit button InputAttributeTypeButton datetime-local InputAttributeTypeDateTimeLocal date InputAttributeTypeDate url InputAttributeTypeURI | diff --git a/clients/kratos/dart/doc/UiNodeScriptAttributes.md b/clients/kratos/dart/doc/UiNodeScriptAttributes.md index bf1b42a9550..9593812a534 100644 --- a/clients/kratos/dart/doc/UiNodeScriptAttributes.md +++ b/clients/kratos/dart/doc/UiNodeScriptAttributes.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **crossorigin** | **String** | The script cross origin policy | **id** | **String** | A unique identifier | **integrity** | **String** | The script's integrity hash | -**nodeType** | **String** | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". | +**nodeType** | **String** | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script | **nonce** | **String** | Nonce for CSP A nonce you may want to use to improve your Content Security Policy. You do not have to use this value but if you want to improve your CSP policies you may use it. You can also choose to use your own nonce value! | **referrerpolicy** | **String** | The script referrer policy | **src** | **String** | The script source | diff --git a/clients/kratos/dart/doc/UiNodeTextAttributes.md b/clients/kratos/dart/doc/UiNodeTextAttributes.md index 49ccef76414..45e046dbbb4 100644 --- a/clients/kratos/dart/doc/UiNodeTextAttributes.md +++ b/clients/kratos/dart/doc/UiNodeTextAttributes.md @@ -9,7 +9,7 @@ import 'package:ory_kratos_client/api.dart'; Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **String** | A unique identifier | -**nodeType** | **String** | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"text\". | +**nodeType** | **String** | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"text\". text Text input Input img Image a Anchor script Script | **text** | [**UiText**](UiText.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateLoginFlowBody.md b/clients/kratos/dart/doc/UpdateLoginFlowBody.md index 4f6d20b9354..107fcee2bf7 100644 --- a/clients/kratos/dart/doc/UpdateLoginFlowBody.md +++ b/clients/kratos/dart/doc/UpdateLoginFlowBody.md @@ -8,11 +8,12 @@ import 'package:ory_kratos_client/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**csrfToken** | **String** | CSRFToken is the anti-CSRF token | +**csrfToken** | **String** | Sending the anti-csrf token is only required for browser login flows. | **identifier** | **String** | Identifier is the code identifier The identifier requires that the user has already completed the registration or settings with code flow. | -**method** | **String** | Method should be set to \"code\" when logging in using the code strategy. | +**method** | **String** | Method should be set to \"passkey\" when logging in using the Passkey strategy. | **password** | **String** | The user's password. | **passwordIdentifier** | **String** | Identifier is the email or username of the user trying to log in. This field is deprecated! | [optional] +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] **idToken** | **String** | IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple | [optional] **idTokenNonce** | **String** | IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and required. | [optional] **provider** | **String** | The provider to register with | @@ -23,6 +24,7 @@ Name | Type | Description | Notes **lookupSecret** | **String** | The lookup secret. | **code** | **String** | Code is the 6 digits code sent to the user | [optional] **resend** | **String** | Resend is set when the user wants to resend the code | [optional] +**passkeyLogin** | **String** | Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateLoginFlowWithCodeMethod.md b/clients/kratos/dart/doc/UpdateLoginFlowWithCodeMethod.md index 705dcaf5ecc..a9b8c5c03db 100644 --- a/clients/kratos/dart/doc/UpdateLoginFlowWithCodeMethod.md +++ b/clients/kratos/dart/doc/UpdateLoginFlowWithCodeMethod.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **identifier** | **String** | Identifier is the code identifier The identifier requires that the user has already completed the registration or settings with code flow. | [optional] **method** | **String** | Method should be set to \"code\" when logging in using the code strategy. | **resend** | **String** | Resend is set when the user wants to resend the code | [optional] +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateLoginFlowWithOidcMethod.md b/clients/kratos/dart/doc/UpdateLoginFlowWithOidcMethod.md index df002efacfe..bfeb2b44ddf 100644 --- a/clients/kratos/dart/doc/UpdateLoginFlowWithOidcMethod.md +++ b/clients/kratos/dart/doc/UpdateLoginFlowWithOidcMethod.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **method** | **String** | Method to use This field must be set to `oidc` when using the oidc method. | **provider** | **String** | The provider to register with | **traits** | [**JsonObject**](.md) | The identity traits. This is a placeholder for the registration flow. | [optional] +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] **upstreamParameters** | [**JsonObject**](.md) | UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateLoginFlowWithPasskeyMethod.md b/clients/kratos/dart/doc/UpdateLoginFlowWithPasskeyMethod.md new file mode 100644 index 00000000000..d50dd7c327c --- /dev/null +++ b/clients/kratos/dart/doc/UpdateLoginFlowWithPasskeyMethod.md @@ -0,0 +1,17 @@ +# ory_kratos_client.model.UpdateLoginFlowWithPasskeyMethod + +## Load the model package +```dart +import 'package:ory_kratos_client/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**csrfToken** | **String** | Sending the anti-csrf token is only required for browser login flows. | [optional] +**method** | **String** | Method should be set to \"passkey\" when logging in using the Passkey strategy. | +**passkeyLogin** | **String** | Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/clients/kratos/dart/doc/UpdateLoginFlowWithPasswordMethod.md b/clients/kratos/dart/doc/UpdateLoginFlowWithPasswordMethod.md index b1d6eac6c4c..4065377b778 100644 --- a/clients/kratos/dart/doc/UpdateLoginFlowWithPasswordMethod.md +++ b/clients/kratos/dart/doc/UpdateLoginFlowWithPasswordMethod.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **method** | **String** | Method should be set to \"password\" when logging in using the identifier and password strategy. | **password** | **String** | The user's password. | **passwordIdentifier** | **String** | Identifier is the email or username of the user trying to log in. This field is deprecated! | [optional] +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateLoginFlowWithTotpMethod.md b/clients/kratos/dart/doc/UpdateLoginFlowWithTotpMethod.md index 5ea8bf21086..fe8cb5353d0 100644 --- a/clients/kratos/dart/doc/UpdateLoginFlowWithTotpMethod.md +++ b/clients/kratos/dart/doc/UpdateLoginFlowWithTotpMethod.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **csrfToken** | **String** | Sending the anti-csrf token is only required for browser login flows. | [optional] **method** | **String** | Method should be set to \"totp\" when logging in using the TOTP strategy. | **totpCode** | **String** | The TOTP code. | +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateLoginFlowWithWebAuthnMethod.md b/clients/kratos/dart/doc/UpdateLoginFlowWithWebAuthnMethod.md index b825f5edd1c..34a649f399f 100644 --- a/clients/kratos/dart/doc/UpdateLoginFlowWithWebAuthnMethod.md +++ b/clients/kratos/dart/doc/UpdateLoginFlowWithWebAuthnMethod.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **csrfToken** | **String** | Sending the anti-csrf token is only required for browser login flows. | [optional] **identifier** | **String** | Identifier is the email or username of the user trying to log in. | **method** | **String** | Method should be set to \"webAuthn\" when logging in using the WebAuthn strategy. | +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] **webauthnLogin** | **String** | Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateRecoveryFlowBody.md b/clients/kratos/dart/doc/UpdateRecoveryFlowBody.md index 2dc5b647437..719032615d4 100644 --- a/clients/kratos/dart/doc/UpdateRecoveryFlowBody.md +++ b/clients/kratos/dart/doc/UpdateRecoveryFlowBody.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **csrfToken** | **String** | Sending the anti-csrf token is only required for browser login flows. | [optional] **email** | **String** | The email address of the account to recover If the email belongs to a valid account, a recovery email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email | **method** | **String** | Method is the method that should be used for this recovery flow Allowed values are `link` and `code`. link RecoveryStrategyLink code RecoveryStrategyCode | +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] **code** | **String** | Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateRecoveryFlowWithCodeMethod.md b/clients/kratos/dart/doc/UpdateRecoveryFlowWithCodeMethod.md index 6aae87040fa..408584bbb64 100644 --- a/clients/kratos/dart/doc/UpdateRecoveryFlowWithCodeMethod.md +++ b/clients/kratos/dart/doc/UpdateRecoveryFlowWithCodeMethod.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **csrfToken** | **String** | Sending the anti-csrf token is only required for browser login flows. | [optional] **email** | **String** | The email address of the account to recover If the email belongs to a valid account, a recovery email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email | [optional] **method** | **String** | Method is the method that should be used for this recovery flow Allowed values are `link` and `code`. link RecoveryStrategyLink code RecoveryStrategyCode | +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateRecoveryFlowWithLinkMethod.md b/clients/kratos/dart/doc/UpdateRecoveryFlowWithLinkMethod.md index 2bc3e2817ce..c720b0b4156 100644 --- a/clients/kratos/dart/doc/UpdateRecoveryFlowWithLinkMethod.md +++ b/clients/kratos/dart/doc/UpdateRecoveryFlowWithLinkMethod.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **csrfToken** | **String** | Sending the anti-csrf token is only required for browser login flows. | [optional] **email** | **String** | Email to Recover Needs to be set when initiating the flow. If the email is a registered recovery email, a recovery link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email | **method** | **String** | Method is the method that should be used for this recovery flow Allowed values are `link` and `code` link RecoveryStrategyLink code RecoveryStrategyCode | +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateRegistrationFlowBody.md b/clients/kratos/dart/doc/UpdateRegistrationFlowBody.md index e9383253336..ca00b6661b6 100644 --- a/clients/kratos/dart/doc/UpdateRegistrationFlowBody.md +++ b/clients/kratos/dart/doc/UpdateRegistrationFlowBody.md @@ -8,8 +8,8 @@ import 'package:ory_kratos_client/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**csrfToken** | **String** | The CSRF Token | [optional] -**method** | **String** | Method to use This field must be set to `code` when using the code method. | +**csrfToken** | **String** | CSRFToken is the anti-CSRF token | [optional] +**method** | **String** | Method Should be set to \"passkey\" when trying to add, update, or remove a Passkey. | **password** | **String** | Password to sign the user up with | **traits** | [**JsonObject**](.md) | The identity's traits | **transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] @@ -21,6 +21,7 @@ Name | Type | Description | Notes **webauthnRegisterDisplayname** | **String** | Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. | [optional] **code** | **String** | The OTP Code sent to the user | [optional] **resend** | **String** | Resend restarts the flow with a new code | [optional] +**passkeyRegister** | **String** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateRegistrationFlowWithPasskeyMethod.md b/clients/kratos/dart/doc/UpdateRegistrationFlowWithPasskeyMethod.md new file mode 100644 index 00000000000..7cae737c031 --- /dev/null +++ b/clients/kratos/dart/doc/UpdateRegistrationFlowWithPasskeyMethod.md @@ -0,0 +1,19 @@ +# ory_kratos_client.model.UpdateRegistrationFlowWithPasskeyMethod + +## Load the model package +```dart +import 'package:ory_kratos_client/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**csrfToken** | **String** | CSRFToken is the anti-CSRF token | [optional] +**method** | **String** | Method Should be set to \"passkey\" when trying to add, update, or remove a Passkey. | +**passkeyRegister** | **String** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] +**traits** | [**JsonObject**](.md) | The identity's traits | +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/clients/kratos/dart/doc/UpdateRegistrationFlowWithProfileMethod.md b/clients/kratos/dart/doc/UpdateRegistrationFlowWithProfileMethod.md new file mode 100644 index 00000000000..89fff9c48d9 --- /dev/null +++ b/clients/kratos/dart/doc/UpdateRegistrationFlowWithProfileMethod.md @@ -0,0 +1,19 @@ +# ory_kratos_client.model.UpdateRegistrationFlowWithProfileMethod + +## Load the model package +```dart +import 'package:ory_kratos_client/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**csrfToken** | **String** | The Anti-CSRF Token This token is only required when performing browser flows. | [optional] +**method** | **String** | Method Should be set to profile when trying to update a profile. | +**screen** | **String** | Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. | [optional] +**traits** | [**JsonObject**](.md) | Traits The identity's traits. | +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/clients/kratos/dart/doc/UpdateSettingsFlowBody.md b/clients/kratos/dart/doc/UpdateSettingsFlowBody.md index d79163ef941..89b3bb7978f 100644 --- a/clients/kratos/dart/doc/UpdateSettingsFlowBody.md +++ b/clients/kratos/dart/doc/UpdateSettingsFlowBody.md @@ -9,8 +9,9 @@ import 'package:ory_kratos_client/api.dart'; Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **csrfToken** | **String** | CSRFToken is the anti-CSRF token | [optional] -**method** | **String** | Method Should be set to \"lookup\" when trying to add, update, or remove a lookup pairing. | +**method** | **String** | Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. | **password** | **String** | Password is the updated password | +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] **traits** | [**JsonObject**](.md) | The identity's traits in: body | **flow** | **String** | Flow ID is the flow's ID. in: query | [optional] **link** | **String** | Link this provider Either this or `unlink` must be set. type: string in: body | [optional] @@ -25,6 +26,8 @@ Name | Type | Description | Notes **lookupSecretDisable** | **bool** | Disables this method if true. | [optional] **lookupSecretRegenerate** | **bool** | If set to true will regenerate the lookup secrets | [optional] **lookupSecretReveal** | **bool** | If set to true will reveal the lookup secrets | [optional] +**passkeyRemove** | **String** | Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] +**passkeySettingsRegister** | **String** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateSettingsFlowWithLookupMethod.md b/clients/kratos/dart/doc/UpdateSettingsFlowWithLookupMethod.md index 9ec2379fb3a..a69c4ce15f5 100644 --- a/clients/kratos/dart/doc/UpdateSettingsFlowWithLookupMethod.md +++ b/clients/kratos/dart/doc/UpdateSettingsFlowWithLookupMethod.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **lookupSecretRegenerate** | **bool** | If set to true will regenerate the lookup secrets | [optional] **lookupSecretReveal** | **bool** | If set to true will reveal the lookup secrets | [optional] **method** | **String** | Method Should be set to \"lookup\" when trying to add, update, or remove a lookup pairing. | +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateSettingsFlowWithOidcMethod.md b/clients/kratos/dart/doc/UpdateSettingsFlowWithOidcMethod.md index f00e7b27e23..a11d3be1f44 100644 --- a/clients/kratos/dart/doc/UpdateSettingsFlowWithOidcMethod.md +++ b/clients/kratos/dart/doc/UpdateSettingsFlowWithOidcMethod.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **link** | **String** | Link this provider Either this or `unlink` must be set. type: string in: body | [optional] **method** | **String** | Method Should be set to profile when trying to update a profile. | **traits** | [**JsonObject**](.md) | The identity's traits in: body | [optional] +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] **unlink** | **String** | Unlink this provider Either this or `link` must be set. type: string in: body | [optional] **upstreamParameters** | [**JsonObject**](.md) | UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. | [optional] diff --git a/clients/kratos/dart/doc/UpdateSettingsFlowWithPasskeyMethod.md b/clients/kratos/dart/doc/UpdateSettingsFlowWithPasskeyMethod.md new file mode 100644 index 00000000000..0a9def15571 --- /dev/null +++ b/clients/kratos/dart/doc/UpdateSettingsFlowWithPasskeyMethod.md @@ -0,0 +1,18 @@ +# ory_kratos_client.model.UpdateSettingsFlowWithPasskeyMethod + +## Load the model package +```dart +import 'package:ory_kratos_client/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**csrfToken** | **String** | CSRFToken is the anti-CSRF token | [optional] +**method** | **String** | Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. | +**passkeyRemove** | **String** | Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] +**passkeySettingsRegister** | **String** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/clients/kratos/dart/doc/UpdateSettingsFlowWithPasswordMethod.md b/clients/kratos/dart/doc/UpdateSettingsFlowWithPasswordMethod.md index 3023e64eef5..8b4a55ade8f 100644 --- a/clients/kratos/dart/doc/UpdateSettingsFlowWithPasswordMethod.md +++ b/clients/kratos/dart/doc/UpdateSettingsFlowWithPasswordMethod.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **csrfToken** | **String** | CSRFToken is the anti-CSRF token | [optional] **method** | **String** | Method Should be set to password when trying to update a password. | **password** | **String** | Password is the updated password | +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateSettingsFlowWithProfileMethod.md b/clients/kratos/dart/doc/UpdateSettingsFlowWithProfileMethod.md index 0f1a696158b..8635777237a 100644 --- a/clients/kratos/dart/doc/UpdateSettingsFlowWithProfileMethod.md +++ b/clients/kratos/dart/doc/UpdateSettingsFlowWithProfileMethod.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **csrfToken** | **String** | The Anti-CSRF Token This token is only required when performing browser flows. | [optional] **method** | **String** | Method Should be set to profile when trying to update a profile. | **traits** | [**JsonObject**](.md) | Traits The identity's traits. | +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateSettingsFlowWithTotpMethod.md b/clients/kratos/dart/doc/UpdateSettingsFlowWithTotpMethod.md index 9e2b5930d25..c36f09a2840 100644 --- a/clients/kratos/dart/doc/UpdateSettingsFlowWithTotpMethod.md +++ b/clients/kratos/dart/doc/UpdateSettingsFlowWithTotpMethod.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **method** | **String** | Method Should be set to \"totp\" when trying to add, update, or remove a totp pairing. | **totpCode** | **String** | ValidationTOTP must contain a valid TOTP based on the | [optional] **totpUnlink** | **bool** | UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device. | [optional] +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateSettingsFlowWithWebAuthnMethod.md b/clients/kratos/dart/doc/UpdateSettingsFlowWithWebAuthnMethod.md index 1fa675966ea..9c6379cea8f 100644 --- a/clients/kratos/dart/doc/UpdateSettingsFlowWithWebAuthnMethod.md +++ b/clients/kratos/dart/doc/UpdateSettingsFlowWithWebAuthnMethod.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **csrfToken** | **String** | CSRFToken is the anti-CSRF token | [optional] **method** | **String** | Method Should be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing. | +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] **webauthnRegister** | **String** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] **webauthnRegisterDisplayname** | **String** | Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. | [optional] **webauthnRemove** | **String** | Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] diff --git a/clients/kratos/dart/doc/UpdateVerificationFlowBody.md b/clients/kratos/dart/doc/UpdateVerificationFlowBody.md index 21446c0c587..652e0278e26 100644 --- a/clients/kratos/dart/doc/UpdateVerificationFlowBody.md +++ b/clients/kratos/dart/doc/UpdateVerificationFlowBody.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **csrfToken** | **String** | Sending the anti-csrf token is only required for browser login flows. | [optional] **email** | **String** | The email address to verify If the email belongs to a valid account, a verifiation email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email | **method** | **String** | Method is the method that should be used for this verification flow Allowed values are `link` and `code`. link VerificationStrategyLink code VerificationStrategyCode | +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] **code** | **String** | Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateVerificationFlowWithCodeMethod.md b/clients/kratos/dart/doc/UpdateVerificationFlowWithCodeMethod.md index a754607c3da..5711993f991 100644 --- a/clients/kratos/dart/doc/UpdateVerificationFlowWithCodeMethod.md +++ b/clients/kratos/dart/doc/UpdateVerificationFlowWithCodeMethod.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **csrfToken** | **String** | Sending the anti-csrf token is only required for browser login flows. | [optional] **email** | **String** | The email address to verify If the email belongs to a valid account, a verifiation email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email | [optional] **method** | **String** | Method is the method that should be used for this verification flow Allowed values are `link` and `code`. link VerificationStrategyLink code VerificationStrategyCode | +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/UpdateVerificationFlowWithLinkMethod.md b/clients/kratos/dart/doc/UpdateVerificationFlowWithLinkMethod.md index 08b949ea0a5..5a353150c4e 100644 --- a/clients/kratos/dart/doc/UpdateVerificationFlowWithLinkMethod.md +++ b/clients/kratos/dart/doc/UpdateVerificationFlowWithLinkMethod.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **csrfToken** | **String** | Sending the anti-csrf token is only required for browser login flows. | [optional] **email** | **String** | Email to Verify Needs to be set when initiating the flow. If the email is a registered verification email, a verification link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email | **method** | **String** | Method is the method that should be used for this verification flow Allowed values are `link` and `code` link VerificationStrategyLink code VerificationStrategyCode | +**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/kratos/dart/doc/VerificationFlow.md b/clients/kratos/dart/doc/VerificationFlow.md index 3bd9c44639d..59ddfb42002 100644 --- a/clients/kratos/dart/doc/VerificationFlow.md +++ b/clients/kratos/dart/doc/VerificationFlow.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **requestUrl** | **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] **returnTo** | **String** | ReturnTo contains the requested return_to URL. | [optional] **state** | [**JsonObject**](.md) | 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. | +**transientPayload** | [**JsonObject**](.md) | TransientPayload is used to pass data from the verification flow to hooks and email templates | [optional] **type** | **String** | The flow type can either be `api` or `browser`. | **ui** | [**UiContainer**](UiContainer.md) | | diff --git a/clients/kratos/dart/lib/ory_kratos_client.dart b/clients/kratos/dart/lib/ory_kratos_client.dart index 3c72d347e3c..d8e10930d41 100644 --- a/clients/kratos/dart/lib/ory_kratos_client.dart +++ b/clients/kratos/dart/lib/ory_kratos_client.dart @@ -102,6 +102,7 @@ export 'package:ory_kratos_client/src/model/update_login_flow_body.dart'; export 'package:ory_kratos_client/src/model/update_login_flow_with_code_method.dart'; export 'package:ory_kratos_client/src/model/update_login_flow_with_lookup_secret_method.dart'; export 'package:ory_kratos_client/src/model/update_login_flow_with_oidc_method.dart'; +export 'package:ory_kratos_client/src/model/update_login_flow_with_passkey_method.dart'; export 'package:ory_kratos_client/src/model/update_login_flow_with_password_method.dart'; export 'package:ory_kratos_client/src/model/update_login_flow_with_totp_method.dart'; export 'package:ory_kratos_client/src/model/update_login_flow_with_web_authn_method.dart'; @@ -111,11 +112,14 @@ export 'package:ory_kratos_client/src/model/update_recovery_flow_with_link_metho export 'package:ory_kratos_client/src/model/update_registration_flow_body.dart'; export 'package:ory_kratos_client/src/model/update_registration_flow_with_code_method.dart'; export 'package:ory_kratos_client/src/model/update_registration_flow_with_oidc_method.dart'; +export 'package:ory_kratos_client/src/model/update_registration_flow_with_passkey_method.dart'; export 'package:ory_kratos_client/src/model/update_registration_flow_with_password_method.dart'; +export 'package:ory_kratos_client/src/model/update_registration_flow_with_profile_method.dart'; export 'package:ory_kratos_client/src/model/update_registration_flow_with_web_authn_method.dart'; export 'package:ory_kratos_client/src/model/update_settings_flow_body.dart'; export 'package:ory_kratos_client/src/model/update_settings_flow_with_lookup_method.dart'; export 'package:ory_kratos_client/src/model/update_settings_flow_with_oidc_method.dart'; +export 'package:ory_kratos_client/src/model/update_settings_flow_with_passkey_method.dart'; export 'package:ory_kratos_client/src/model/update_settings_flow_with_password_method.dart'; export 'package:ory_kratos_client/src/model/update_settings_flow_with_profile_method.dart'; export 'package:ory_kratos_client/src/model/update_settings_flow_with_totp_method.dart'; diff --git a/clients/kratos/dart/lib/src/api/courier_api.dart b/clients/kratos/dart/lib/src/api/courier_api.dart index 7d1b64d7d45..672a023f2c9 100644 --- a/clients/kratos/dart/lib/src/api/courier_api.dart +++ b/clients/kratos/dart/lib/src/api/courier_api.dart @@ -34,7 +34,7 @@ class CourierApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [Message] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> getCourierMessage({ required String id, CancelToken? cancelToken, @@ -44,7 +44,7 @@ class CourierApi { ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress, }) async { - final _path = r'/admin/courier/messages/{id}'.replaceAll('{' r'id' '}', id.toString()); + final _path = r'/admin/courier/messages/{id}'.replaceAll('{' r'id' '}', encodeQueryParameter(_serializers, id, const FullType(String)).toString()); final _options = Options( method: r'GET', headers: { @@ -82,10 +82,10 @@ class CourierApi { ) as Message; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -119,7 +119,7 @@ class CourierApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [BuiltList] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future>> listCourierMessages({ int? pageSize = 250, String? pageToken, @@ -178,10 +178,10 @@ class CourierApi { ) as BuiltList; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); diff --git a/clients/kratos/dart/lib/src/api/frontend_api.dart b/clients/kratos/dart/lib/src/api/frontend_api.dart index 73d6a5bbfa2..d064ba32ebb 100644 --- a/clients/kratos/dart/lib/src/api/frontend_api.dart +++ b/clients/kratos/dart/lib/src/api/frontend_api.dart @@ -47,6 +47,7 @@ class FrontendApi { /// * [cookie] - 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. /// * [loginChallenge] - An optional Hydra login challenge. If present, Kratos will cooperate with Ory Hydra to act as an OAuth2 identity provider. The value for this parameter comes from `login_challenge` URL Query parameter sent to your application (e.g. `/login?login_challenge=abcde`). /// * [organization] - An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network. + /// * [via] - Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows. /// * [cancelToken] - A [CancelToken] that can be used to cancel the operation /// * [headers] - Can be used to add additional headers to the request /// * [extras] - Can be used to add flags to the request @@ -55,7 +56,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [LoginFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> createBrowserLoginFlow({ bool? refresh, String? aal, @@ -63,6 +64,7 @@ class FrontendApi { String? cookie, String? loginChallenge, String? organization, + String? via, CancelToken? cancelToken, Map? headers, Map? extra, @@ -90,6 +92,7 @@ class FrontendApi { if (returnTo != null) r'return_to': encodeQueryParameter(_serializers, returnTo, const FullType(String)), if (loginChallenge != null) r'login_challenge': encodeQueryParameter(_serializers, loginChallenge, const FullType(String)), if (organization != null) r'organization': encodeQueryParameter(_serializers, organization, const FullType(String)), + if (via != null) r'via': encodeQueryParameter(_serializers, via, const FullType(String)), }; final _response = await _dio.request( @@ -111,10 +114,10 @@ class FrontendApi { ) as LoginFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -146,7 +149,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [LogoutFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> createBrowserLogoutFlow({ String? cookie, String? returnTo, @@ -194,10 +197,10 @@ class FrontendApi { ) as LogoutFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -228,7 +231,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [RecoveryFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> createBrowserRecoveryFlow({ String? returnTo, CancelToken? cancelToken, @@ -274,10 +277,10 @@ class FrontendApi { ) as RecoveryFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -311,7 +314,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [RegistrationFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> createBrowserRegistrationFlow({ String? returnTo, String? loginChallenge, @@ -363,10 +366,10 @@ class FrontendApi { ) as RegistrationFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -398,7 +401,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [SettingsFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> createBrowserSettingsFlow({ String? returnTo, String? cookie, @@ -446,10 +449,10 @@ class FrontendApi { ) as SettingsFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -480,7 +483,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [VerificationFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> createBrowserVerificationFlow({ String? returnTo, CancelToken? cancelToken, @@ -526,10 +529,10 @@ class FrontendApi { ) as VerificationFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -565,7 +568,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [LoginFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> createNativeLoginFlow({ bool? refresh, String? aal, @@ -621,10 +624,10 @@ class FrontendApi { ) as LoginFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -654,7 +657,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [RecoveryFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> createNativeRecoveryFlow({ CancelToken? cancelToken, Map? headers, @@ -694,10 +697,10 @@ class FrontendApi { ) as RecoveryFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -729,7 +732,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [RegistrationFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> createNativeRegistrationFlow({ bool? returnSessionTokenExchangeCode, String? returnTo, @@ -777,10 +780,10 @@ class FrontendApi { ) as RegistrationFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -811,7 +814,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [SettingsFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> createNativeSettingsFlow({ String? xSessionToken, CancelToken? cancelToken, @@ -853,10 +856,10 @@ class FrontendApi { ) as SettingsFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -886,7 +889,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [VerificationFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> createNativeVerificationFlow({ CancelToken? cancelToken, Map? headers, @@ -926,10 +929,10 @@ class FrontendApi { ) as VerificationFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -961,7 +964,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [DeleteMySessionsCount] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> disableMyOtherSessions({ String? xSessionToken, String? cookie, @@ -1005,10 +1008,10 @@ class FrontendApi { ) as DeleteMySessionsCount; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1041,7 +1044,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> disableMySession({ required String id, String? xSessionToken, @@ -1053,7 +1056,7 @@ class FrontendApi { ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress, }) async { - final _path = r'/sessions/{id}'.replaceAll('{' r'id' '}', id.toString()); + final _path = r'/sessions/{id}'.replaceAll('{' r'id' '}', encodeQueryParameter(_serializers, id, const FullType(String)).toString()); final _options = Options( method: r'DELETE', headers: { @@ -1093,7 +1096,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [SuccessfulNativeLogin] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> exchangeSessionToken({ required String initCode, required String returnToCode, @@ -1141,10 +1144,10 @@ class FrontendApi { ) as SuccessfulNativeLogin; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1175,7 +1178,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [FlowError] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> getFlowError({ required String id, CancelToken? cancelToken, @@ -1221,10 +1224,10 @@ class FrontendApi { ) as FlowError; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1256,7 +1259,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [LoginFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> getLoginFlow({ required String id, String? cookie, @@ -1304,10 +1307,10 @@ class FrontendApi { ) as LoginFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1339,7 +1342,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [RecoveryFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> getRecoveryFlow({ required String id, String? cookie, @@ -1387,10 +1390,10 @@ class FrontendApi { ) as RecoveryFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1422,7 +1425,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [RegistrationFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> getRegistrationFlow({ required String id, String? cookie, @@ -1470,10 +1473,10 @@ class FrontendApi { ) as RegistrationFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1506,7 +1509,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [SettingsFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> getSettingsFlow({ required String id, String? xSessionToken, @@ -1556,10 +1559,10 @@ class FrontendApi { ) as SettingsFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1591,7 +1594,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [VerificationFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> getVerificationFlow({ required String id, String? cookie, @@ -1639,10 +1642,10 @@ class FrontendApi { ) as VerificationFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1672,7 +1675,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [String] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> getWebAuthnJavaScript({ CancelToken? cancelToken, Map? headers, @@ -1709,10 +1712,10 @@ class FrontendApi { _responseData = rawResponse == null ? null : rawResponse as String; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1748,7 +1751,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [BuiltList] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future>> listMySessions({ int? perPage = 250, int? page, @@ -1804,10 +1807,10 @@ class FrontendApi { ) as BuiltList; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1838,7 +1841,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> performNativeLogout({ required PerformNativeLogoutBody performNativeLogoutBody, CancelToken? cancelToken, @@ -1869,12 +1872,12 @@ class FrontendApi { _bodyData = _serializers.serialize(performNativeLogoutBody, specifiedType: _type); } catch(error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _options.compose( _dio.options, _path, ), - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1907,7 +1910,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [Session] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> toSession({ String? xSessionToken, String? cookie, @@ -1957,10 +1960,10 @@ class FrontendApi { ) as Session; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1994,7 +1997,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [SuccessfulNativeLogin] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> updateLoginFlow({ required String flow, required UpdateLoginFlowBody updateLoginFlowBody, @@ -2034,13 +2037,13 @@ class FrontendApi { _bodyData = _serializers.serialize(updateLoginFlowBody, specifiedType: _type); } catch(error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _options.compose( _dio.options, _path, queryParameters: _queryParameters, ), - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -2066,10 +2069,10 @@ class FrontendApi { ) as SuccessfulNativeLogin; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -2102,7 +2105,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> updateLogoutFlow({ String? token, String? returnTo, @@ -2161,7 +2164,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [RecoveryFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> updateRecoveryFlow({ required String flow, required UpdateRecoveryFlowBody updateRecoveryFlowBody, @@ -2201,13 +2204,13 @@ class FrontendApi { _bodyData = _serializers.serialize(updateRecoveryFlowBody, specifiedType: _type); } catch(error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _options.compose( _dio.options, _path, queryParameters: _queryParameters, ), - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -2233,10 +2236,10 @@ class FrontendApi { ) as RecoveryFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -2269,7 +2272,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [SuccessfulNativeRegistration] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> updateRegistrationFlow({ required String flow, required UpdateRegistrationFlowBody updateRegistrationFlowBody, @@ -2307,13 +2310,13 @@ class FrontendApi { _bodyData = _serializers.serialize(updateRegistrationFlowBody, specifiedType: _type); } catch(error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _options.compose( _dio.options, _path, queryParameters: _queryParameters, ), - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -2339,10 +2342,10 @@ class FrontendApi { ) as SuccessfulNativeRegistration; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -2376,7 +2379,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [SettingsFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> updateSettingsFlow({ required String flow, required UpdateSettingsFlowBody updateSettingsFlowBody, @@ -2416,13 +2419,13 @@ class FrontendApi { _bodyData = _serializers.serialize(updateSettingsFlowBody, specifiedType: _type); } catch(error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _options.compose( _dio.options, _path, queryParameters: _queryParameters, ), - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -2448,10 +2451,10 @@ class FrontendApi { ) as SettingsFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -2485,7 +2488,7 @@ class FrontendApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [VerificationFlow] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> updateVerificationFlow({ required String flow, required UpdateVerificationFlowBody updateVerificationFlowBody, @@ -2525,13 +2528,13 @@ class FrontendApi { _bodyData = _serializers.serialize(updateVerificationFlowBody, specifiedType: _type); } catch(error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _options.compose( _dio.options, _path, queryParameters: _queryParameters, ), - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -2557,10 +2560,10 @@ class FrontendApi { ) as VerificationFlow; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); diff --git a/clients/kratos/dart/lib/src/api/identity_api.dart b/clients/kratos/dart/lib/src/api/identity_api.dart index bc1f49c1040..b2c31a3251c 100644 --- a/clients/kratos/dart/lib/src/api/identity_api.dart +++ b/clients/kratos/dart/lib/src/api/identity_api.dart @@ -32,8 +32,8 @@ class IdentityApi { const IdentityApi(this._dio, this._serializers); - /// Create and deletes multiple identities - /// Creates or delete multiple [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model). This endpoint can also be used to [import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities) for instance passwords, social sign in configurations or multifactor methods. + /// Create multiple identities + /// Creates multiple [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model). This endpoint can also be used to [import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities) for instance passwords, social sign in configurations or multifactor methods. /// /// Parameters: /// * [patchIdentitiesBody] @@ -45,7 +45,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [BatchPatchIdentitiesResponse] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> batchPatchIdentities({ PatchIdentitiesBody? patchIdentitiesBody, CancelToken? cancelToken, @@ -83,12 +83,12 @@ class IdentityApi { _bodyData = patchIdentitiesBody == null ? null : _serializers.serialize(patchIdentitiesBody, specifiedType: _type); } catch(error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _options.compose( _dio.options, _path, ), - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -113,10 +113,10 @@ class IdentityApi { ) as BatchPatchIdentitiesResponse; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -147,7 +147,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [Identity] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> createIdentity({ CreateIdentityBody? createIdentityBody, CancelToken? cancelToken, @@ -185,12 +185,12 @@ class IdentityApi { _bodyData = createIdentityBody == null ? null : _serializers.serialize(createIdentityBody, specifiedType: _type); } catch(error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _options.compose( _dio.options, _path, ), - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -215,10 +215,10 @@ class IdentityApi { ) as Identity; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -249,7 +249,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [RecoveryCodeForIdentity] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> createRecoveryCodeForIdentity({ CreateRecoveryCodeForIdentityBody? createRecoveryCodeForIdentityBody, CancelToken? cancelToken, @@ -287,12 +287,12 @@ class IdentityApi { _bodyData = createRecoveryCodeForIdentityBody == null ? null : _serializers.serialize(createRecoveryCodeForIdentityBody, specifiedType: _type); } catch(error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _options.compose( _dio.options, _path, ), - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -317,10 +317,10 @@ class IdentityApi { ) as RecoveryCodeForIdentity; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -352,7 +352,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [RecoveryLinkForIdentity] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> createRecoveryLinkForIdentity({ String? returnTo, CreateRecoveryLinkForIdentityBody? createRecoveryLinkForIdentityBody, @@ -395,13 +395,13 @@ class IdentityApi { _bodyData = createRecoveryLinkForIdentityBody == null ? null : _serializers.serialize(createRecoveryLinkForIdentityBody, specifiedType: _type); } catch(error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _options.compose( _dio.options, _path, queryParameters: _queryParameters, ), - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -427,10 +427,10 @@ class IdentityApi { ) as RecoveryLinkForIdentity; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -461,7 +461,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> deleteIdentity({ required String id, CancelToken? cancelToken, @@ -471,7 +471,7 @@ class IdentityApi { ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress, }) async { - final _path = r'/admin/identities/{id}'.replaceAll('{' r'id' '}', id.toString()); + final _path = r'/admin/identities/{id}'.replaceAll('{' r'id' '}', encodeQueryParameter(_serializers, id, const FullType(String)).toString()); final _options = Options( method: r'DELETE', headers: { @@ -507,7 +507,7 @@ class IdentityApi { /// /// Parameters: /// * [id] - ID is the identity's ID. - /// * [type] - Type is the type of credentials to be deleted. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + /// * [type] - Type is the type of credentials to be deleted. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode /// * [cancelToken] - A [CancelToken] that can be used to cancel the operation /// * [headers] - Can be used to add additional headers to the request /// * [extras] - Can be used to add flags to the request @@ -516,7 +516,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> deleteIdentityCredentials({ required String id, required String type, @@ -527,7 +527,7 @@ class IdentityApi { ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress, }) async { - final _path = r'/admin/identities/{id}/credentials/{type}'.replaceAll('{' r'id' '}', id.toString()).replaceAll('{' r'type' '}', type.toString()); + final _path = r'/admin/identities/{id}/credentials/{type}'.replaceAll('{' r'id' '}', encodeQueryParameter(_serializers, id, const FullType(String)).toString()).replaceAll('{' r'type' '}', encodeQueryParameter(_serializers, type, const FullType(String)).toString()); final _options = Options( method: r'DELETE', headers: { @@ -571,7 +571,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> deleteIdentitySessions({ required String id, CancelToken? cancelToken, @@ -581,7 +581,7 @@ class IdentityApi { ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress, }) async { - final _path = r'/admin/identities/{id}/sessions'.replaceAll('{' r'id' '}', id.toString()); + final _path = r'/admin/identities/{id}/sessions'.replaceAll('{' r'id' '}', encodeQueryParameter(_serializers, id, const FullType(String)).toString()); final _options = Options( method: r'DELETE', headers: { @@ -625,7 +625,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> disableSession({ required String id, CancelToken? cancelToken, @@ -635,7 +635,7 @@ class IdentityApi { ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress, }) async { - final _path = r'/admin/sessions/{id}'.replaceAll('{' r'id' '}', id.toString()); + final _path = r'/admin/sessions/{id}'.replaceAll('{' r'id' '}', encodeQueryParameter(_serializers, id, const FullType(String)).toString()); final _options = Options( method: r'DELETE', headers: { @@ -679,7 +679,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [Session] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> extendSession({ required String id, CancelToken? cancelToken, @@ -689,7 +689,7 @@ class IdentityApi { ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress, }) async { - final _path = r'/admin/sessions/{id}/extend'.replaceAll('{' r'id' '}', id.toString()); + final _path = r'/admin/sessions/{id}/extend'.replaceAll('{' r'id' '}', encodeQueryParameter(_serializers, id, const FullType(String)).toString()); final _options = Options( method: r'PATCH', headers: { @@ -727,10 +727,10 @@ class IdentityApi { ) as Session; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -762,7 +762,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [Identity] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> getIdentity({ required String id, BuiltList? includeCredential, @@ -773,7 +773,7 @@ class IdentityApi { ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress, }) async { - final _path = r'/admin/identities/{id}'.replaceAll('{' r'id' '}', id.toString()); + final _path = r'/admin/identities/{id}'.replaceAll('{' r'id' '}', encodeQueryParameter(_serializers, id, const FullType(String)).toString()); final _options = Options( method: r'GET', headers: { @@ -816,10 +816,10 @@ class IdentityApi { ) as Identity; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -850,7 +850,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [JsonObject] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> getIdentitySchema({ required String id, CancelToken? cancelToken, @@ -860,7 +860,7 @@ class IdentityApi { ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress, }) async { - final _path = r'/schemas/{id}'.replaceAll('{' r'id' '}', id.toString()); + final _path = r'/schemas/{id}'.replaceAll('{' r'id' '}', encodeQueryParameter(_serializers, id, const FullType(String)).toString()); final _options = Options( method: r'GET', headers: { @@ -891,10 +891,10 @@ class IdentityApi { ) as JsonObject; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -926,7 +926,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [Session] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> getSession({ required String id, BuiltList? expand, @@ -937,7 +937,7 @@ class IdentityApi { ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress, }) async { - final _path = r'/admin/sessions/{id}'.replaceAll('{' r'id' '}', id.toString()); + final _path = r'/admin/sessions/{id}'.replaceAll('{' r'id' '}', encodeQueryParameter(_serializers, id, const FullType(String)).toString()); final _options = Options( method: r'GET', headers: { @@ -980,10 +980,10 @@ class IdentityApi { ) as Session; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1013,6 +1013,7 @@ class IdentityApi { /// * [ids] - List of ids used to filter identities. If this list is empty, then no filter will be applied. /// * [credentialsIdentifier] - CredentialsIdentifier is the identifier (username, email) of the credentials to look up using exact match. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used. /// * [previewCredentialsIdentifierSimilar] - This is an EXPERIMENTAL parameter that WILL CHANGE. Do NOT rely on consistent, deterministic behavior. THIS PARAMETER WILL BE REMOVED IN AN UPCOMING RELEASE WITHOUT ANY MIGRATION PATH. CredentialsIdentifierSimilar is the (partial) identifier (username, email) of the credentials to look up using similarity search. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used. + /// * [includeCredential] - Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available. /// * [cancelToken] - A [CancelToken] that can be used to cancel the operation /// * [headers] - Can be used to add additional headers to the request /// * [extras] - Can be used to add flags to the request @@ -1021,7 +1022,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [BuiltList] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future>> listIdentities({ int? perPage = 250, int? page, @@ -1031,6 +1032,7 @@ class IdentityApi { BuiltList? ids, String? credentialsIdentifier, String? previewCredentialsIdentifierSimilar, + BuiltList? includeCredential, CancelToken? cancelToken, Map? headers, Map? extra, @@ -1067,6 +1069,7 @@ class IdentityApi { if (ids != null) r'ids': encodeCollectionQueryParameter(_serializers, ids, const FullType(BuiltList, [FullType(String)]), format: ListFormat.multi,), if (credentialsIdentifier != null) r'credentials_identifier': encodeQueryParameter(_serializers, credentialsIdentifier, const FullType(String)), if (previewCredentialsIdentifierSimilar != null) r'preview_credentials_identifier_similar': encodeQueryParameter(_serializers, previewCredentialsIdentifierSimilar, const FullType(String)), + if (includeCredential != null) r'include_credential': encodeCollectionQueryParameter(_serializers, includeCredential, const FullType(BuiltList, [FullType(String)]), format: ListFormat.multi,), }; final _response = await _dio.request( @@ -1088,10 +1091,10 @@ class IdentityApi { ) as BuiltList; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1125,7 +1128,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [BuiltList] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future>> listIdentitySchemas({ int? perPage = 250, int? page, @@ -1177,10 +1180,10 @@ class IdentityApi { ) as BuiltList; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1216,7 +1219,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [BuiltList] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future>> listIdentitySessions({ required String id, int? perPage = 250, @@ -1231,7 +1234,7 @@ class IdentityApi { ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress, }) async { - final _path = r'/admin/identities/{id}/sessions'.replaceAll('{' r'id' '}', id.toString()); + final _path = r'/admin/identities/{id}/sessions'.replaceAll('{' r'id' '}', encodeQueryParameter(_serializers, id, const FullType(String)).toString()); final _options = Options( method: r'GET', headers: { @@ -1278,10 +1281,10 @@ class IdentityApi { ) as BuiltList; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1315,7 +1318,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [BuiltList] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future>> listSessions({ int? pageSize = 250, String? pageToken, @@ -1374,10 +1377,10 @@ class IdentityApi { ) as BuiltList; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1409,7 +1412,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [Identity] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> patchIdentity({ required String id, BuiltList? jsonPatch, @@ -1420,7 +1423,7 @@ class IdentityApi { ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress, }) async { - final _path = r'/admin/identities/{id}'.replaceAll('{' r'id' '}', id.toString()); + final _path = r'/admin/identities/{id}'.replaceAll('{' r'id' '}', encodeQueryParameter(_serializers, id, const FullType(String)).toString()); final _options = Options( method: r'PATCH', headers: { @@ -1448,12 +1451,12 @@ class IdentityApi { _bodyData = jsonPatch == null ? null : _serializers.serialize(jsonPatch, specifiedType: _type); } catch(error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _options.compose( _dio.options, _path, ), - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1478,10 +1481,10 @@ class IdentityApi { ) as Identity; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1513,7 +1516,7 @@ class IdentityApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [Identity] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> updateIdentity({ required String id, UpdateIdentityBody? updateIdentityBody, @@ -1524,7 +1527,7 @@ class IdentityApi { ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress, }) async { - final _path = r'/admin/identities/{id}'.replaceAll('{' r'id' '}', id.toString()); + final _path = r'/admin/identities/{id}'.replaceAll('{' r'id' '}', encodeQueryParameter(_serializers, id, const FullType(String)).toString()); final _options = Options( method: r'PUT', headers: { @@ -1552,12 +1555,12 @@ class IdentityApi { _bodyData = updateIdentityBody == null ? null : _serializers.serialize(updateIdentityBody, specifiedType: _type); } catch(error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _options.compose( _dio.options, _path, ), - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -1582,10 +1585,10 @@ class IdentityApi { ) as Identity; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); diff --git a/clients/kratos/dart/lib/src/api/metadata_api.dart b/clients/kratos/dart/lib/src/api/metadata_api.dart index b17443e1877..7f907ef7231 100644 --- a/clients/kratos/dart/lib/src/api/metadata_api.dart +++ b/clients/kratos/dart/lib/src/api/metadata_api.dart @@ -31,7 +31,7 @@ class MetadataApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [GetVersion200Response] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> getVersion({ CancelToken? cancelToken, Map? headers, @@ -71,10 +71,10 @@ class MetadataApi { ) as GetVersion200Response; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -104,7 +104,7 @@ class MetadataApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [IsAlive200Response] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> isAlive({ CancelToken? cancelToken, Map? headers, @@ -144,10 +144,10 @@ class MetadataApi { ) as IsAlive200Response; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); @@ -177,7 +177,7 @@ class MetadataApi { /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress /// /// Returns a [Future] containing a [Response] with a [IsAlive200Response] as data - /// Throws [DioError] if API call or serialization fails + /// Throws [DioException] if API call or serialization fails Future> isReady({ CancelToken? cancelToken, Map? headers, @@ -217,10 +217,10 @@ class MetadataApi { ) as IsAlive200Response; } catch (error, stackTrace) { - throw DioError( + throw DioException( requestOptions: _response.requestOptions, response: _response, - type: DioErrorType.unknown, + type: DioExceptionType.unknown, error: error, stackTrace: stackTrace, ); diff --git a/clients/kratos/dart/lib/src/auth/basic_auth.dart b/clients/kratos/dart/lib/src/auth/basic_auth.dart index 67985eabbde..cc3211e4a6c 100644 --- a/clients/kratos/dart/lib/src/auth/basic_auth.dart +++ b/clients/kratos/dart/lib/src/auth/basic_auth.dart @@ -22,7 +22,7 @@ class BasicAuthInterceptor extends AuthInterceptor { RequestOptions options, RequestInterceptorHandler handler, ) { - final metadataAuthInfo = getAuthInfo(options, (secure) => (secure['type'] == 'http' && secure['scheme'] == 'basic') || secure['type'] == 'basic'); + final metadataAuthInfo = getAuthInfo(options, (secure) => (secure['type'] == 'http' && secure['scheme']?.toLowerCase() == 'basic') || secure['type'] == 'basic'); for (final info in metadataAuthInfo) { final authName = info['name'] as String; final basicAuthInfo = authInfo[authName]; diff --git a/clients/kratos/dart/lib/src/auth/bearer_auth.dart b/clients/kratos/dart/lib/src/auth/bearer_auth.dart index e78eef9e336..280ccba607d 100644 --- a/clients/kratos/dart/lib/src/auth/bearer_auth.dart +++ b/clients/kratos/dart/lib/src/auth/bearer_auth.dart @@ -13,7 +13,7 @@ class BearerAuthInterceptor extends AuthInterceptor { RequestOptions options, RequestInterceptorHandler handler, ) { - final authInfo = getAuthInfo(options, (secure) => secure['type'] == 'http' && secure['scheme'] == 'bearer'); + final authInfo = getAuthInfo(options, (secure) => secure['type'] == 'http' && secure['scheme']?.toLowerCase() == 'bearer'); for (final info in authInfo) { final token = tokens[info['name']]; if (token != null) { diff --git a/clients/kratos/dart/lib/src/model/create_recovery_code_for_identity_body.dart b/clients/kratos/dart/lib/src/model/create_recovery_code_for_identity_body.dart index 9399a278299..f294d76c2f7 100644 --- a/clients/kratos/dart/lib/src/model/create_recovery_code_for_identity_body.dart +++ b/clients/kratos/dart/lib/src/model/create_recovery_code_for_identity_body.dart @@ -12,6 +12,7 @@ part 'create_recovery_code_for_identity_body.g.dart'; /// /// Properties: /// * [expiresIn] - Code Expires In The recovery code will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`. +/// * [flowType] - The flow type can either be `api` or `browser`. /// * [identityId] - Identity to Recover The identity's ID you wish to recover. @BuiltValue() abstract class CreateRecoveryCodeForIdentityBody implements Built { @@ -19,6 +20,10 @@ abstract class CreateRecoveryCodeForIdentityBody implements Built _$this._expiresIn; set expiresIn(String? expiresIn) => _$this._expiresIn = expiresIn; + String? _flowType; + String? get flowType => _$this._flowType; + set flowType(String? flowType) => _$this._flowType = flowType; + String? _identityId; String? get identityId => _$this._identityId; set identityId(String? identityId) => _$this._identityId = identityId; @@ -82,6 +91,7 @@ class CreateRecoveryCodeForIdentityBodyBuilder final $v = _$v; if ($v != null) { _expiresIn = $v.expiresIn; + _flowType = $v.flowType; _identityId = $v.identityId; _$v = null; } @@ -107,6 +117,7 @@ class CreateRecoveryCodeForIdentityBodyBuilder final _$result = _$v ?? new _$CreateRecoveryCodeForIdentityBody._( expiresIn: expiresIn, + flowType: flowType, identityId: BuiltValueNullFieldError.checkNotNull(identityId, r'CreateRecoveryCodeForIdentityBody', 'identityId')); replace(_$result); diff --git a/clients/kratos/dart/lib/src/model/identity_credentials.dart b/clients/kratos/dart/lib/src/model/identity_credentials.dart index 4c5f460a01d..085d479c55b 100644 --- a/clients/kratos/dart/lib/src/model/identity_credentials.dart +++ b/clients/kratos/dart/lib/src/model/identity_credentials.dart @@ -16,7 +16,7 @@ part 'identity_credentials.g.dart'; /// * [config] /// * [createdAt] - CreatedAt is a helper struct field for gobuffalo.pop. /// * [identifiers] - Identifiers represents a list of unique identifiers this credential type matches. -/// * [type] - Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode +/// * [type] - Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode /// * [updatedAt] - UpdatedAt is a helper struct field for gobuffalo.pop. /// * [version] - Version refers to the version of the credential. Useful when changing the config schema. @BuiltValue() @@ -32,10 +32,10 @@ abstract class IdentityCredentials implements Built? get identifiers; - /// Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + /// Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode @BuiltValueField(wireName: r'type') IdentityCredentialsTypeEnum? get type; - // enum typeEnum { password, oidc, totp, lookup_secret, webauthn, code, link_recovery, code_recovery, }; + // enum typeEnum { password, oidc, totp, lookup_secret, webauthn, code, passkey, profile, link_recovery, code_recovery, }; /// UpdatedAt is a helper struct field for gobuffalo.pop. @BuiltValueField(wireName: r'updated_at') @@ -206,28 +206,34 @@ class _$IdentityCredentialsSerializer implements PrimitiveSerializer _$identityCredentialsTypeEnum_lookupSecret, _$identityCredentialsTypeEnum_webauthn, _$identityCredentialsTypeEnum_code, + _$identityCredentialsTypeEnum_passkey, + _$identityCredentialsTypeEnum_profile, _$identityCredentialsTypeEnum_linkRecovery, _$identityCredentialsTypeEnum_codeRecovery, ]); @@ -72,6 +82,8 @@ class _$IdentityCredentialsTypeEnumSerializer 'lookupSecret': 'lookup_secret', 'webauthn': 'webauthn', 'code': 'code', + 'passkey': 'passkey', + 'profile': 'profile', 'linkRecovery': 'link_recovery', 'codeRecovery': 'code_recovery', }; @@ -82,6 +94,8 @@ class _$IdentityCredentialsTypeEnumSerializer 'lookup_secret': 'lookupSecret', 'webauthn': 'webauthn', 'code': 'code', + 'passkey': 'passkey', + 'profile': 'profile', 'link_recovery': 'linkRecovery', 'code_recovery': 'codeRecovery', }; diff --git a/clients/kratos/dart/lib/src/model/login_flow.dart b/clients/kratos/dart/lib/src/model/login_flow.dart index 3be1bcc3da5..54fc272a5d8 100644 --- a/clients/kratos/dart/lib/src/model/login_flow.dart +++ b/clients/kratos/dart/lib/src/model/login_flow.dart @@ -16,7 +16,7 @@ part 'login_flow.g.dart'; /// This object represents a login flow. A login flow is initiated at the \"Initiate Login API / Browser Flow\" endpoint by a client. Once a login flow is completed successfully, a session cookie or session token will be issued. /// /// Properties: -/// * [active] - The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode +/// * [active] - The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode /// * [createdAt] - CreatedAt is a helper struct field for gobuffalo.pop. /// * [expiresAt] - ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. /// * [id] - ID represents the flow's unique ID. When performing the login flow, this represents the id in the login UI's query parameter: http:///?flow= @@ -30,15 +30,16 @@ part 'login_flow.g.dart'; /// * [returnTo] - ReturnTo contains the requested return_to URL. /// * [sessionTokenExchangeCode] - 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. /// * [state] - 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. +/// * [transientPayload] - TransientPayload is used to pass data from the login to hooks and email templates /// * [type] - The flow type can either be `api` or `browser`. /// * [ui] /// * [updatedAt] - UpdatedAt is a helper struct field for gobuffalo.pop. @BuiltValue() abstract class LoginFlow implements Built { - /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode @BuiltValueField(wireName: r'active') LoginFlowActiveEnum? get active; - // enum activeEnum { password, oidc, totp, lookup_secret, webauthn, code, link_recovery, code_recovery, }; + // enum activeEnum { password, oidc, totp, lookup_secret, webauthn, code, passkey, profile, link_recovery, code_recovery, }; /// CreatedAt is a helper struct field for gobuffalo.pop. @BuiltValueField(wireName: r'created_at') @@ -90,6 +91,10 @@ abstract class LoginFlow implements Built { @BuiltValueField(wireName: r'state') JsonObject? get state; + /// TransientPayload is used to pass data from the login to hooks and email templates + @BuiltValueField(wireName: r'transient_payload') + JsonObject? get transientPayload; + /// The flow type can either be `api` or `browser`. @BuiltValueField(wireName: r'type') String get type; @@ -212,6 +217,13 @@ class _$LoginFlowSerializer implements PrimitiveSerializer { object.state, specifiedType: const FullType.nullable(JsonObject), ); + if (object.transientPayload != null) { + yield r'transient_payload'; + yield serializers.serialize( + object.transientPayload, + specifiedType: const FullType(JsonObject), + ); + } yield r'type'; yield serializers.serialize( object.type, @@ -352,6 +364,13 @@ class _$LoginFlowSerializer implements PrimitiveSerializer { if (valueDes == null) continue; result.state = valueDes; break; + case r'transient_payload': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(JsonObject), + ) as JsonObject; + result.transientPayload = valueDes; + break; case r'type': final valueDes = serializers.deserialize( value, @@ -404,28 +423,34 @@ class _$LoginFlowSerializer implements PrimitiveSerializer { class LoginFlowActiveEnum extends EnumClass { - /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode @BuiltValueEnumConst(wireName: r'password') static const LoginFlowActiveEnum password = _$loginFlowActiveEnum_password; - /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode @BuiltValueEnumConst(wireName: r'oidc') static const LoginFlowActiveEnum oidc = _$loginFlowActiveEnum_oidc; - /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode @BuiltValueEnumConst(wireName: r'totp') static const LoginFlowActiveEnum totp = _$loginFlowActiveEnum_totp; - /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode @BuiltValueEnumConst(wireName: r'lookup_secret') static const LoginFlowActiveEnum lookupSecret = _$loginFlowActiveEnum_lookupSecret; - /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode @BuiltValueEnumConst(wireName: r'webauthn') static const LoginFlowActiveEnum webauthn = _$loginFlowActiveEnum_webauthn; - /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode @BuiltValueEnumConst(wireName: r'code') static const LoginFlowActiveEnum code = _$loginFlowActiveEnum_code; - /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + @BuiltValueEnumConst(wireName: r'passkey') + static const LoginFlowActiveEnum passkey = _$loginFlowActiveEnum_passkey; + /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + @BuiltValueEnumConst(wireName: r'profile') + static const LoginFlowActiveEnum profile = _$loginFlowActiveEnum_profile; + /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode @BuiltValueEnumConst(wireName: r'link_recovery') static const LoginFlowActiveEnum linkRecovery = _$loginFlowActiveEnum_linkRecovery; - /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + /// The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode @BuiltValueEnumConst(wireName: r'code_recovery') static const LoginFlowActiveEnum codeRecovery = _$loginFlowActiveEnum_codeRecovery; diff --git a/clients/kratos/dart/lib/src/model/login_flow.g.dart b/clients/kratos/dart/lib/src/model/login_flow.g.dart index 79fd90cd4db..3af62329ba0 100644 --- a/clients/kratos/dart/lib/src/model/login_flow.g.dart +++ b/clients/kratos/dart/lib/src/model/login_flow.g.dart @@ -18,6 +18,10 @@ const LoginFlowActiveEnum _$loginFlowActiveEnum_webauthn = const LoginFlowActiveEnum._('webauthn'); const LoginFlowActiveEnum _$loginFlowActiveEnum_code = const LoginFlowActiveEnum._('code'); +const LoginFlowActiveEnum _$loginFlowActiveEnum_passkey = + const LoginFlowActiveEnum._('passkey'); +const LoginFlowActiveEnum _$loginFlowActiveEnum_profile = + const LoginFlowActiveEnum._('profile'); const LoginFlowActiveEnum _$loginFlowActiveEnum_linkRecovery = const LoginFlowActiveEnum._('linkRecovery'); const LoginFlowActiveEnum _$loginFlowActiveEnum_codeRecovery = @@ -37,6 +41,10 @@ LoginFlowActiveEnum _$loginFlowActiveEnumValueOf(String name) { return _$loginFlowActiveEnum_webauthn; case 'code': return _$loginFlowActiveEnum_code; + case 'passkey': + return _$loginFlowActiveEnum_passkey; + case 'profile': + return _$loginFlowActiveEnum_profile; case 'linkRecovery': return _$loginFlowActiveEnum_linkRecovery; case 'codeRecovery': @@ -54,6 +62,8 @@ final BuiltSet _$loginFlowActiveEnumValues = _$loginFlowActiveEnum_lookupSecret, _$loginFlowActiveEnum_webauthn, _$loginFlowActiveEnum_code, + _$loginFlowActiveEnum_passkey, + _$loginFlowActiveEnum_profile, _$loginFlowActiveEnum_linkRecovery, _$loginFlowActiveEnum_codeRecovery, ]); @@ -70,6 +80,8 @@ class _$LoginFlowActiveEnumSerializer 'lookupSecret': 'lookup_secret', 'webauthn': 'webauthn', 'code': 'code', + 'passkey': 'passkey', + 'profile': 'profile', 'linkRecovery': 'link_recovery', 'codeRecovery': 'code_recovery', }; @@ -80,6 +92,8 @@ class _$LoginFlowActiveEnumSerializer 'lookup_secret': 'lookupSecret', 'webauthn': 'webauthn', 'code': 'code', + 'passkey': 'passkey', + 'profile': 'profile', 'link_recovery': 'linkRecovery', 'code_recovery': 'codeRecovery', }; @@ -131,6 +145,8 @@ class _$LoginFlow extends LoginFlow { @override final JsonObject? state; @override + final JsonObject? transientPayload; + @override final String type; @override final UiContainer ui; @@ -155,6 +171,7 @@ class _$LoginFlow extends LoginFlow { this.returnTo, this.sessionTokenExchangeCode, this.state, + this.transientPayload, required this.type, required this.ui, this.updatedAt}) @@ -193,6 +210,7 @@ class _$LoginFlow extends LoginFlow { returnTo == other.returnTo && sessionTokenExchangeCode == other.sessionTokenExchangeCode && state == other.state && + transientPayload == other.transientPayload && type == other.type && ui == other.ui && updatedAt == other.updatedAt; @@ -215,6 +233,7 @@ class _$LoginFlow extends LoginFlow { _$hash = $jc(_$hash, returnTo.hashCode); _$hash = $jc(_$hash, sessionTokenExchangeCode.hashCode); _$hash = $jc(_$hash, state.hashCode); + _$hash = $jc(_$hash, transientPayload.hashCode); _$hash = $jc(_$hash, type.hashCode); _$hash = $jc(_$hash, ui.hashCode); _$hash = $jc(_$hash, updatedAt.hashCode); @@ -239,6 +258,7 @@ class _$LoginFlow extends LoginFlow { ..add('returnTo', returnTo) ..add('sessionTokenExchangeCode', sessionTokenExchangeCode) ..add('state', state) + ..add('transientPayload', transientPayload) ..add('type', type) ..add('ui', ui) ..add('updatedAt', updatedAt)) @@ -311,6 +331,11 @@ class LoginFlowBuilder implements Builder { JsonObject? get state => _$this._state; set state(JsonObject? state) => _$this._state = state; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + String? _type; String? get type => _$this._type; set type(String? type) => _$this._type = type; @@ -344,6 +369,7 @@ class LoginFlowBuilder implements Builder { _returnTo = $v.returnTo; _sessionTokenExchangeCode = $v.sessionTokenExchangeCode; _state = $v.state; + _transientPayload = $v.transientPayload; _type = $v.type; _ui = $v.ui.toBuilder(); _updatedAt = $v.updatedAt; @@ -388,6 +414,7 @@ class LoginFlowBuilder implements Builder { returnTo: returnTo, sessionTokenExchangeCode: sessionTokenExchangeCode, state: state, + transientPayload: transientPayload, type: BuiltValueNullFieldError.checkNotNull( type, r'LoginFlow', 'type'), ui: ui.build(), diff --git a/clients/kratos/dart/lib/src/model/recovery_flow.dart b/clients/kratos/dart/lib/src/model/recovery_flow.dart index f13357d6ba8..09a7f8f0506 100644 --- a/clients/kratos/dart/lib/src/model/recovery_flow.dart +++ b/clients/kratos/dart/lib/src/model/recovery_flow.dart @@ -23,6 +23,7 @@ part 'recovery_flow.g.dart'; /// * [requestUrl] - 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. /// * [returnTo] - ReturnTo contains the requested return_to URL. /// * [state] - 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. +/// * [transientPayload] - TransientPayload is used to pass data from the recovery flow to hooks and email templates /// * [type] - The flow type can either be `api` or `browser`. /// * [ui] @BuiltValue() @@ -59,6 +60,10 @@ abstract class RecoveryFlow implements Built @BuiltValueField(wireName: r'state') JsonObject? get state; + /// TransientPayload is used to pass data from the recovery flow to hooks and email templates + @BuiltValueField(wireName: r'transient_payload') + JsonObject? get transientPayload; + /// The flow type can either be `api` or `browser`. @BuiltValueField(wireName: r'type') String get type; @@ -135,6 +140,13 @@ class _$RecoveryFlowSerializer implements PrimitiveSerializer { object.state, specifiedType: const FullType.nullable(JsonObject), ); + if (object.transientPayload != null) { + yield r'transient_payload'; + yield serializers.serialize( + object.transientPayload, + specifiedType: const FullType(JsonObject), + ); + } yield r'type'; yield serializers.serialize( object.type, @@ -225,6 +237,13 @@ class _$RecoveryFlowSerializer implements PrimitiveSerializer { if (valueDes == null) continue; result.state = valueDes; break; + case r'transient_payload': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(JsonObject), + ) as JsonObject; + result.transientPayload = valueDes; + break; case r'type': final valueDes = serializers.deserialize( value, diff --git a/clients/kratos/dart/lib/src/model/recovery_flow.g.dart b/clients/kratos/dart/lib/src/model/recovery_flow.g.dart index ed561555a87..d346c25ab28 100644 --- a/clients/kratos/dart/lib/src/model/recovery_flow.g.dart +++ b/clients/kratos/dart/lib/src/model/recovery_flow.g.dart @@ -24,6 +24,8 @@ class _$RecoveryFlow extends RecoveryFlow { @override final JsonObject? state; @override + final JsonObject? transientPayload; + @override final String type; @override final UiContainer ui; @@ -40,6 +42,7 @@ class _$RecoveryFlow extends RecoveryFlow { required this.requestUrl, this.returnTo, this.state, + this.transientPayload, required this.type, required this.ui}) : super._() { @@ -73,6 +76,7 @@ class _$RecoveryFlow extends RecoveryFlow { requestUrl == other.requestUrl && returnTo == other.returnTo && state == other.state && + transientPayload == other.transientPayload && type == other.type && ui == other.ui; } @@ -88,6 +92,7 @@ class _$RecoveryFlow extends RecoveryFlow { _$hash = $jc(_$hash, requestUrl.hashCode); _$hash = $jc(_$hash, returnTo.hashCode); _$hash = $jc(_$hash, state.hashCode); + _$hash = $jc(_$hash, transientPayload.hashCode); _$hash = $jc(_$hash, type.hashCode); _$hash = $jc(_$hash, ui.hashCode); _$hash = $jf(_$hash); @@ -105,6 +110,7 @@ class _$RecoveryFlow extends RecoveryFlow { ..add('requestUrl', requestUrl) ..add('returnTo', returnTo) ..add('state', state) + ..add('transientPayload', transientPayload) ..add('type', type) ..add('ui', ui)) .toString(); @@ -149,6 +155,11 @@ class RecoveryFlowBuilder JsonObject? get state => _$this._state; set state(JsonObject? state) => _$this._state = state; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + String? _type; String? get type => _$this._type; set type(String? type) => _$this._type = type; @@ -172,6 +183,7 @@ class RecoveryFlowBuilder _requestUrl = $v.requestUrl; _returnTo = $v.returnTo; _state = $v.state; + _transientPayload = $v.transientPayload; _type = $v.type; _ui = $v.ui.toBuilder(); _$v = null; @@ -210,6 +222,7 @@ class RecoveryFlowBuilder requestUrl, r'RecoveryFlow', 'requestUrl'), returnTo: returnTo, state: state, + transientPayload: transientPayload, type: BuiltValueNullFieldError.checkNotNull( type, r'RecoveryFlow', 'type'), ui: ui.build()); diff --git a/clients/kratos/dart/lib/src/model/registration_flow.dart b/clients/kratos/dart/lib/src/model/registration_flow.dart index 1570907ba19..3fa296ef458 100644 --- a/clients/kratos/dart/lib/src/model/registration_flow.dart +++ b/clients/kratos/dart/lib/src/model/registration_flow.dart @@ -15,7 +15,7 @@ part 'registration_flow.g.dart'; /// RegistrationFlow /// /// Properties: -/// * [active] - Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode +/// * [active] - Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode /// * [expiresAt] - ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. /// * [id] - ID represents the flow's unique ID. When performing the registration flow, this represents the id in the registration ui's query parameter: http:///?flow= /// * [issuedAt] - IssuedAt is the time (UTC) when the flow occurred. @@ -31,10 +31,10 @@ part 'registration_flow.g.dart'; /// * [ui] @BuiltValue() abstract class RegistrationFlow implements Built { - /// Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + /// Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode @BuiltValueField(wireName: r'active') RegistrationFlowActiveEnum? get active; - // enum activeEnum { password, oidc, totp, lookup_secret, webauthn, code, link_recovery, code_recovery, }; + // enum activeEnum { password, oidc, totp, lookup_secret, webauthn, code, passkey, profile, link_recovery, code_recovery, }; /// ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. @BuiltValueField(wireName: r'expires_at') @@ -346,28 +346,34 @@ class _$RegistrationFlowSerializer implements PrimitiveSerializer _$registrationFlowActiveEnumValues = _$registrationFlowActiveEnum_lookupSecret, _$registrationFlowActiveEnum_webauthn, _$registrationFlowActiveEnum_code, + _$registrationFlowActiveEnum_passkey, + _$registrationFlowActiveEnum_profile, _$registrationFlowActiveEnum_linkRecovery, _$registrationFlowActiveEnum_codeRecovery, ]); @@ -70,6 +80,8 @@ class _$RegistrationFlowActiveEnumSerializer 'lookupSecret': 'lookup_secret', 'webauthn': 'webauthn', 'code': 'code', + 'passkey': 'passkey', + 'profile': 'profile', 'linkRecovery': 'link_recovery', 'codeRecovery': 'code_recovery', }; @@ -80,6 +92,8 @@ class _$RegistrationFlowActiveEnumSerializer 'lookup_secret': 'lookupSecret', 'webauthn': 'webauthn', 'code': 'code', + 'passkey': 'passkey', + 'profile': 'profile', 'link_recovery': 'linkRecovery', 'code_recovery': 'codeRecovery', }; diff --git a/clients/kratos/dart/lib/src/model/settings_flow.dart b/clients/kratos/dart/lib/src/model/settings_flow.dart index 34318f77194..079919a2fd6 100644 --- a/clients/kratos/dart/lib/src/model/settings_flow.dart +++ b/clients/kratos/dart/lib/src/model/settings_flow.dart @@ -25,6 +25,7 @@ part 'settings_flow.g.dart'; /// * [requestUrl] - 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. /// * [returnTo] - ReturnTo contains the requested return_to URL. /// * [state] - 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. +/// * [transientPayload] - TransientPayload is used to pass data from the settings flow to hooks and email templates /// * [type] - The flow type can either be `api` or `browser`. /// * [ui] @BuiltValue() @@ -64,6 +65,10 @@ abstract class SettingsFlow implements Built @BuiltValueField(wireName: r'state') JsonObject? get state; + /// TransientPayload is used to pass data from the settings flow to hooks and email templates + @BuiltValueField(wireName: r'transient_payload') + JsonObject? get transientPayload; + /// The flow type can either be `api` or `browser`. @BuiltValueField(wireName: r'type') String get type; @@ -145,6 +150,13 @@ class _$SettingsFlowSerializer implements PrimitiveSerializer { object.state, specifiedType: const FullType.nullable(JsonObject), ); + if (object.transientPayload != null) { + yield r'transient_payload'; + yield serializers.serialize( + object.transientPayload, + specifiedType: const FullType(JsonObject), + ); + } yield r'type'; yield serializers.serialize( object.type, @@ -242,6 +254,13 @@ class _$SettingsFlowSerializer implements PrimitiveSerializer { if (valueDes == null) continue; result.state = valueDes; break; + case r'transient_payload': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(JsonObject), + ) as JsonObject; + result.transientPayload = valueDes; + break; case r'type': final valueDes = serializers.deserialize( value, diff --git a/clients/kratos/dart/lib/src/model/settings_flow.g.dart b/clients/kratos/dart/lib/src/model/settings_flow.g.dart index 8b42a962869..8d529914d7d 100644 --- a/clients/kratos/dart/lib/src/model/settings_flow.g.dart +++ b/clients/kratos/dart/lib/src/model/settings_flow.g.dart @@ -26,6 +26,8 @@ class _$SettingsFlow extends SettingsFlow { @override final JsonObject? state; @override + final JsonObject? transientPayload; + @override final String type; @override final UiContainer ui; @@ -43,6 +45,7 @@ class _$SettingsFlow extends SettingsFlow { required this.requestUrl, this.returnTo, this.state, + this.transientPayload, required this.type, required this.ui}) : super._() { @@ -79,6 +82,7 @@ class _$SettingsFlow extends SettingsFlow { requestUrl == other.requestUrl && returnTo == other.returnTo && state == other.state && + transientPayload == other.transientPayload && type == other.type && ui == other.ui; } @@ -95,6 +99,7 @@ class _$SettingsFlow extends SettingsFlow { _$hash = $jc(_$hash, requestUrl.hashCode); _$hash = $jc(_$hash, returnTo.hashCode); _$hash = $jc(_$hash, state.hashCode); + _$hash = $jc(_$hash, transientPayload.hashCode); _$hash = $jc(_$hash, type.hashCode); _$hash = $jc(_$hash, ui.hashCode); _$hash = $jf(_$hash); @@ -113,6 +118,7 @@ class _$SettingsFlow extends SettingsFlow { ..add('requestUrl', requestUrl) ..add('returnTo', returnTo) ..add('state', state) + ..add('transientPayload', transientPayload) ..add('type', type) ..add('ui', ui)) .toString(); @@ -161,6 +167,11 @@ class SettingsFlowBuilder JsonObject? get state => _$this._state; set state(JsonObject? state) => _$this._state = state; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + String? _type; String? get type => _$this._type; set type(String? type) => _$this._type = type; @@ -185,6 +196,7 @@ class SettingsFlowBuilder _requestUrl = $v.requestUrl; _returnTo = $v.returnTo; _state = $v.state; + _transientPayload = $v.transientPayload; _type = $v.type; _ui = $v.ui.toBuilder(); _$v = null; @@ -224,6 +236,7 @@ class SettingsFlowBuilder requestUrl, r'SettingsFlow', 'requestUrl'), returnTo: returnTo, state: state, + transientPayload: transientPayload, type: BuiltValueNullFieldError.checkNotNull( type, r'SettingsFlow', 'type'), ui: ui.build()); diff --git a/clients/kratos/dart/lib/src/model/successful_native_login.dart b/clients/kratos/dart/lib/src/model/successful_native_login.dart index b2fc72eb2bf..a231289814f 100644 --- a/clients/kratos/dart/lib/src/model/successful_native_login.dart +++ b/clients/kratos/dart/lib/src/model/successful_native_login.dart @@ -3,6 +3,8 @@ // // ignore_for_file: unused_element +import 'package:built_collection/built_collection.dart'; +import 'package:ory_kratos_client/src/model/continue_with.dart'; import 'package:ory_kratos_client/src/model/session.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -12,10 +14,15 @@ part 'successful_native_login.g.dart'; /// The Response for Login Flows via API /// /// Properties: +/// * [continueWith] - Contains a list of actions, that could follow this flow It can, for example, this will contain a reference to the verification flow, created as part of the user's registration or the token of the session. /// * [session] /// * [sessionToken] - The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! @BuiltValue() abstract class SuccessfulNativeLogin implements Built { + /// Contains a list of actions, that could follow this flow It can, for example, this will contain a reference to the verification flow, created as part of the user's registration or the token of the session. + @BuiltValueField(wireName: r'continue_with') + BuiltList? get continueWith; + @BuiltValueField(wireName: r'session') Session get session; @@ -46,6 +53,13 @@ class _$SuccessfulNativeLoginSerializer implements PrimitiveSerializer; + result.continueWith.replace(valueDes); + break; case r'session': final valueDes = serializers.deserialize( value, diff --git a/clients/kratos/dart/lib/src/model/successful_native_login.g.dart b/clients/kratos/dart/lib/src/model/successful_native_login.g.dart index cface746c74..0d99b217dfa 100644 --- a/clients/kratos/dart/lib/src/model/successful_native_login.g.dart +++ b/clients/kratos/dart/lib/src/model/successful_native_login.g.dart @@ -7,6 +7,8 @@ part of 'successful_native_login.dart'; // ************************************************************************** class _$SuccessfulNativeLogin extends SuccessfulNativeLogin { + @override + final BuiltList? continueWith; @override final Session session; @override @@ -16,7 +18,8 @@ class _$SuccessfulNativeLogin extends SuccessfulNativeLogin { [void Function(SuccessfulNativeLoginBuilder)? updates]) => (new SuccessfulNativeLoginBuilder()..update(updates))._build(); - _$SuccessfulNativeLogin._({required this.session, this.sessionToken}) + _$SuccessfulNativeLogin._( + {this.continueWith, required this.session, this.sessionToken}) : super._() { BuiltValueNullFieldError.checkNotNull( session, r'SuccessfulNativeLogin', 'session'); @@ -35,6 +38,7 @@ class _$SuccessfulNativeLogin extends SuccessfulNativeLogin { bool operator ==(Object other) { if (identical(other, this)) return true; return other is SuccessfulNativeLogin && + continueWith == other.continueWith && session == other.session && sessionToken == other.sessionToken; } @@ -42,6 +46,7 @@ class _$SuccessfulNativeLogin extends SuccessfulNativeLogin { @override int get hashCode { var _$hash = 0; + _$hash = $jc(_$hash, continueWith.hashCode); _$hash = $jc(_$hash, session.hashCode); _$hash = $jc(_$hash, sessionToken.hashCode); _$hash = $jf(_$hash); @@ -51,6 +56,7 @@ class _$SuccessfulNativeLogin extends SuccessfulNativeLogin { @override String toString() { return (newBuiltValueToStringHelper(r'SuccessfulNativeLogin') + ..add('continueWith', continueWith) ..add('session', session) ..add('sessionToken', sessionToken)) .toString(); @@ -61,6 +67,12 @@ class SuccessfulNativeLoginBuilder implements Builder { _$SuccessfulNativeLogin? _$v; + ListBuilder? _continueWith; + ListBuilder get continueWith => + _$this._continueWith ??= new ListBuilder(); + set continueWith(ListBuilder? continueWith) => + _$this._continueWith = continueWith; + SessionBuilder? _session; SessionBuilder get session => _$this._session ??= new SessionBuilder(); set session(SessionBuilder? session) => _$this._session = session; @@ -76,6 +88,7 @@ class SuccessfulNativeLoginBuilder SuccessfulNativeLoginBuilder get _$this { final $v = _$v; if ($v != null) { + _continueWith = $v.continueWith?.toBuilder(); _session = $v.session.toBuilder(); _sessionToken = $v.sessionToken; _$v = null; @@ -102,10 +115,14 @@ class SuccessfulNativeLoginBuilder try { _$result = _$v ?? new _$SuccessfulNativeLogin._( - session: session.build(), sessionToken: sessionToken); + continueWith: _continueWith?.build(), + session: session.build(), + sessionToken: sessionToken); } catch (_) { late String _$failedField; try { + _$failedField = 'continueWith'; + _continueWith?.build(); _$failedField = 'session'; session.build(); } catch (e) { diff --git a/clients/kratos/dart/lib/src/model/ui_node.dart b/clients/kratos/dart/lib/src/model/ui_node.dart index cb5f2ce2ffa..828c4c9201e 100644 --- a/clients/kratos/dart/lib/src/model/ui_node.dart +++ b/clients/kratos/dart/lib/src/model/ui_node.dart @@ -16,7 +16,7 @@ part 'ui_node.g.dart'; /// /// Properties: /// * [attributes] -/// * [group] - Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup +/// * [group] - Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup /// * [messages] /// * [meta] /// * [type] - The node's type text Text input Input img Image a Anchor script Script @@ -25,10 +25,10 @@ abstract class UiNode implements Built { @BuiltValueField(wireName: r'attributes') UiNodeAttributes get attributes; - /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup + /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup @BuiltValueField(wireName: r'group') UiNodeGroupEnum get group; - // enum groupEnum { default, password, oidc, profile, link, code, totp, lookup_secret, webauthn, }; + // enum groupEnum { default, password, oidc, profile, link, code, totp, lookup_secret, webauthn, passkey, }; @BuiltValueField(wireName: r'messages') BuiltList get messages; @@ -178,33 +178,36 @@ class _$UiNodeSerializer implements PrimitiveSerializer { class UiNodeGroupEnum extends EnumClass { - /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup + /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup @BuiltValueEnumConst(wireName: r'default') static const UiNodeGroupEnum default_ = _$uiNodeGroupEnum_default_; - /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup + /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup @BuiltValueEnumConst(wireName: r'password') static const UiNodeGroupEnum password = _$uiNodeGroupEnum_password; - /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup + /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup @BuiltValueEnumConst(wireName: r'oidc') static const UiNodeGroupEnum oidc = _$uiNodeGroupEnum_oidc; - /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup + /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup @BuiltValueEnumConst(wireName: r'profile') static const UiNodeGroupEnum profile = _$uiNodeGroupEnum_profile; - /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup + /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup @BuiltValueEnumConst(wireName: r'link') static const UiNodeGroupEnum link = _$uiNodeGroupEnum_link; - /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup + /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup @BuiltValueEnumConst(wireName: r'code') static const UiNodeGroupEnum code = _$uiNodeGroupEnum_code; - /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup + /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup @BuiltValueEnumConst(wireName: r'totp') static const UiNodeGroupEnum totp = _$uiNodeGroupEnum_totp; - /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup + /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup @BuiltValueEnumConst(wireName: r'lookup_secret') static const UiNodeGroupEnum lookupSecret = _$uiNodeGroupEnum_lookupSecret; - /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup + /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup @BuiltValueEnumConst(wireName: r'webauthn') static const UiNodeGroupEnum webauthn = _$uiNodeGroupEnum_webauthn; + /// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup + @BuiltValueEnumConst(wireName: r'passkey') + static const UiNodeGroupEnum passkey = _$uiNodeGroupEnum_passkey; static Serializer get serializer => _$uiNodeGroupEnumSerializer; diff --git a/clients/kratos/dart/lib/src/model/ui_node.g.dart b/clients/kratos/dart/lib/src/model/ui_node.g.dart index e8020e59545..639cd7c4ac1 100644 --- a/clients/kratos/dart/lib/src/model/ui_node.g.dart +++ b/clients/kratos/dart/lib/src/model/ui_node.g.dart @@ -20,6 +20,8 @@ const UiNodeGroupEnum _$uiNodeGroupEnum_lookupSecret = const UiNodeGroupEnum._('lookupSecret'); const UiNodeGroupEnum _$uiNodeGroupEnum_webauthn = const UiNodeGroupEnum._('webauthn'); +const UiNodeGroupEnum _$uiNodeGroupEnum_passkey = + const UiNodeGroupEnum._('passkey'); UiNodeGroupEnum _$uiNodeGroupEnumValueOf(String name) { switch (name) { @@ -41,6 +43,8 @@ UiNodeGroupEnum _$uiNodeGroupEnumValueOf(String name) { return _$uiNodeGroupEnum_lookupSecret; case 'webauthn': return _$uiNodeGroupEnum_webauthn; + case 'passkey': + return _$uiNodeGroupEnum_passkey; default: throw new ArgumentError(name); } @@ -57,6 +61,7 @@ final BuiltSet _$uiNodeGroupEnumValues = _$uiNodeGroupEnum_totp, _$uiNodeGroupEnum_lookupSecret, _$uiNodeGroupEnum_webauthn, + _$uiNodeGroupEnum_passkey, ]); const UiNodeTypeEnum _$uiNodeTypeEnum_text = const UiNodeTypeEnum._('text'); @@ -108,6 +113,7 @@ class _$UiNodeGroupEnumSerializer 'totp': 'totp', 'lookupSecret': 'lookup_secret', 'webauthn': 'webauthn', + 'passkey': 'passkey', }; static const Map _fromWire = const { 'default': 'default_', @@ -119,6 +125,7 @@ class _$UiNodeGroupEnumSerializer 'totp': 'totp', 'lookup_secret': 'lookupSecret', 'webauthn': 'webauthn', + 'passkey': 'passkey', }; @override diff --git a/clients/kratos/dart/lib/src/model/ui_node_anchor_attributes.dart b/clients/kratos/dart/lib/src/model/ui_node_anchor_attributes.dart index 0d13434451c..52efc2b44af 100644 --- a/clients/kratos/dart/lib/src/model/ui_node_anchor_attributes.dart +++ b/clients/kratos/dart/lib/src/model/ui_node_anchor_attributes.dart @@ -3,6 +3,7 @@ // // ignore_for_file: unused_element +import 'package:built_collection/built_collection.dart'; import 'package:ory_kratos_client/src/model/ui_text.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -14,7 +15,7 @@ part 'ui_node_anchor_attributes.g.dart'; /// Properties: /// * [href] - The link's href (destination) URL. format: uri /// * [id] - A unique identifier -/// * [nodeType] - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"a\". +/// * [nodeType] - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"a\". text Text input Input img Image a Anchor script Script /// * [title] @BuiltValue() abstract class UiNodeAnchorAttributes implements Built { @@ -26,9 +27,10 @@ abstract class UiNodeAnchorAttributes implements Built get serializer => _$uiNodeAnchorAttributesNodeTypeEnumSerializer; + + const UiNodeAnchorAttributesNodeTypeEnum._(String name): super(name); + + static BuiltSet get values => _$uiNodeAnchorAttributesNodeTypeEnumValues; + static UiNodeAnchorAttributesNodeTypeEnum valueOf(String name) => _$uiNodeAnchorAttributesNodeTypeEnumValueOf(name); +} + diff --git a/clients/kratos/dart/lib/src/model/ui_node_anchor_attributes.g.dart b/clients/kratos/dart/lib/src/model/ui_node_anchor_attributes.g.dart index 378871e4001..86de9b30322 100644 --- a/clients/kratos/dart/lib/src/model/ui_node_anchor_attributes.g.dart +++ b/clients/kratos/dart/lib/src/model/ui_node_anchor_attributes.g.dart @@ -6,13 +6,97 @@ part of 'ui_node_anchor_attributes.dart'; // BuiltValueGenerator // ************************************************************************** +const UiNodeAnchorAttributesNodeTypeEnum + _$uiNodeAnchorAttributesNodeTypeEnum_text = + const UiNodeAnchorAttributesNodeTypeEnum._('text'); +const UiNodeAnchorAttributesNodeTypeEnum + _$uiNodeAnchorAttributesNodeTypeEnum_input = + const UiNodeAnchorAttributesNodeTypeEnum._('input'); +const UiNodeAnchorAttributesNodeTypeEnum + _$uiNodeAnchorAttributesNodeTypeEnum_img = + const UiNodeAnchorAttributesNodeTypeEnum._('img'); +const UiNodeAnchorAttributesNodeTypeEnum + _$uiNodeAnchorAttributesNodeTypeEnum_a = + const UiNodeAnchorAttributesNodeTypeEnum._('a'); +const UiNodeAnchorAttributesNodeTypeEnum + _$uiNodeAnchorAttributesNodeTypeEnum_script = + const UiNodeAnchorAttributesNodeTypeEnum._('script'); + +UiNodeAnchorAttributesNodeTypeEnum _$uiNodeAnchorAttributesNodeTypeEnumValueOf( + String name) { + switch (name) { + case 'text': + return _$uiNodeAnchorAttributesNodeTypeEnum_text; + case 'input': + return _$uiNodeAnchorAttributesNodeTypeEnum_input; + case 'img': + return _$uiNodeAnchorAttributesNodeTypeEnum_img; + case 'a': + return _$uiNodeAnchorAttributesNodeTypeEnum_a; + case 'script': + return _$uiNodeAnchorAttributesNodeTypeEnum_script; + default: + throw new ArgumentError(name); + } +} + +final BuiltSet + _$uiNodeAnchorAttributesNodeTypeEnumValues = new BuiltSet< + UiNodeAnchorAttributesNodeTypeEnum>(const [ + _$uiNodeAnchorAttributesNodeTypeEnum_text, + _$uiNodeAnchorAttributesNodeTypeEnum_input, + _$uiNodeAnchorAttributesNodeTypeEnum_img, + _$uiNodeAnchorAttributesNodeTypeEnum_a, + _$uiNodeAnchorAttributesNodeTypeEnum_script, +]); + +Serializer + _$uiNodeAnchorAttributesNodeTypeEnumSerializer = + new _$UiNodeAnchorAttributesNodeTypeEnumSerializer(); + +class _$UiNodeAnchorAttributesNodeTypeEnumSerializer + implements PrimitiveSerializer { + static const Map _toWire = const { + 'text': 'text', + 'input': 'input', + 'img': 'img', + 'a': 'a', + 'script': 'script', + }; + static const Map _fromWire = const { + 'text': 'text', + 'input': 'input', + 'img': 'img', + 'a': 'a', + 'script': 'script', + }; + + @override + final Iterable types = const [UiNodeAnchorAttributesNodeTypeEnum]; + @override + final String wireName = 'UiNodeAnchorAttributesNodeTypeEnum'; + + @override + Object serialize( + Serializers serializers, UiNodeAnchorAttributesNodeTypeEnum object, + {FullType specifiedType = FullType.unspecified}) => + _toWire[object.name] ?? object.name; + + @override + UiNodeAnchorAttributesNodeTypeEnum deserialize( + Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + UiNodeAnchorAttributesNodeTypeEnum.valueOf( + _fromWire[serialized] ?? (serialized is String ? serialized : '')); +} + class _$UiNodeAnchorAttributes extends UiNodeAnchorAttributes { @override final String href; @override final String id; @override - final String nodeType; + final UiNodeAnchorAttributesNodeTypeEnum nodeType; @override final UiText title; @@ -88,9 +172,10 @@ class UiNodeAnchorAttributesBuilder String? get id => _$this._id; set id(String? id) => _$this._id = id; - String? _nodeType; - String? get nodeType => _$this._nodeType; - set nodeType(String? nodeType) => _$this._nodeType = nodeType; + UiNodeAnchorAttributesNodeTypeEnum? _nodeType; + UiNodeAnchorAttributesNodeTypeEnum? get nodeType => _$this._nodeType; + set nodeType(UiNodeAnchorAttributesNodeTypeEnum? nodeType) => + _$this._nodeType = nodeType; UiTextBuilder? _title; UiTextBuilder get title => _$this._title ??= new UiTextBuilder(); diff --git a/clients/kratos/dart/lib/src/model/ui_node_attributes.dart b/clients/kratos/dart/lib/src/model/ui_node_attributes.dart index a51fb50c146..f166b024818 100644 --- a/clients/kratos/dart/lib/src/model/ui_node_attributes.dart +++ b/clients/kratos/dart/lib/src/model/ui_node_attributes.dart @@ -24,8 +24,9 @@ part 'ui_node_attributes.g.dart'; /// * [disabled] - Sets the input's disabled field to true or false. /// * [label] /// * [name] - The input's element name. -/// * [nodeType] - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". +/// * [nodeType] - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script /// * [onclick] - OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. +/// * [onload] - OnLoad may contain javascript which should be executed on load. This is primarily used for WebAuthn. /// * [pattern] - The input's pattern. /// * [required_] - Mark this input field as required. /// * [type] - The script MIME type @@ -221,3 +222,29 @@ class UiNodeAttributesAutocompleteEnum extends EnumClass { static UiNodeAttributesAutocompleteEnum valueOf(String name) => _$uiNodeAttributesAutocompleteEnumValueOf(name); } +class UiNodeAttributesNodeTypeEnum extends EnumClass { + + /// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script + @BuiltValueEnumConst(wireName: r'text') + static const UiNodeAttributesNodeTypeEnum text = _$uiNodeAttributesNodeTypeEnum_text; + /// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script + @BuiltValueEnumConst(wireName: r'input') + static const UiNodeAttributesNodeTypeEnum input = _$uiNodeAttributesNodeTypeEnum_input; + /// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script + @BuiltValueEnumConst(wireName: r'img') + static const UiNodeAttributesNodeTypeEnum img = _$uiNodeAttributesNodeTypeEnum_img; + /// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script + @BuiltValueEnumConst(wireName: r'a') + static const UiNodeAttributesNodeTypeEnum a = _$uiNodeAttributesNodeTypeEnum_a; + /// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script + @BuiltValueEnumConst(wireName: r'script') + static const UiNodeAttributesNodeTypeEnum script = _$uiNodeAttributesNodeTypeEnum_script; + + static Serializer get serializer => _$uiNodeAttributesNodeTypeEnumSerializer; + + const UiNodeAttributesNodeTypeEnum._(String name): super(name); + + static BuiltSet get values => _$uiNodeAttributesNodeTypeEnumValues; + static UiNodeAttributesNodeTypeEnum valueOf(String name) => _$uiNodeAttributesNodeTypeEnumValueOf(name); +} + diff --git a/clients/kratos/dart/lib/src/model/ui_node_attributes.g.dart b/clients/kratos/dart/lib/src/model/ui_node_attributes.g.dart index 8834f5f1a8d..a2213fcab83 100644 --- a/clients/kratos/dart/lib/src/model/ui_node_attributes.g.dart +++ b/clients/kratos/dart/lib/src/model/ui_node_attributes.g.dart @@ -54,9 +54,51 @@ final BuiltSet _$uiNodeAttributesAutocompleteEnum_oneTimeCode, ]); +const UiNodeAttributesNodeTypeEnum _$uiNodeAttributesNodeTypeEnum_text = + const UiNodeAttributesNodeTypeEnum._('text'); +const UiNodeAttributesNodeTypeEnum _$uiNodeAttributesNodeTypeEnum_input = + const UiNodeAttributesNodeTypeEnum._('input'); +const UiNodeAttributesNodeTypeEnum _$uiNodeAttributesNodeTypeEnum_img = + const UiNodeAttributesNodeTypeEnum._('img'); +const UiNodeAttributesNodeTypeEnum _$uiNodeAttributesNodeTypeEnum_a = + const UiNodeAttributesNodeTypeEnum._('a'); +const UiNodeAttributesNodeTypeEnum _$uiNodeAttributesNodeTypeEnum_script = + const UiNodeAttributesNodeTypeEnum._('script'); + +UiNodeAttributesNodeTypeEnum _$uiNodeAttributesNodeTypeEnumValueOf( + String name) { + switch (name) { + case 'text': + return _$uiNodeAttributesNodeTypeEnum_text; + case 'input': + return _$uiNodeAttributesNodeTypeEnum_input; + case 'img': + return _$uiNodeAttributesNodeTypeEnum_img; + case 'a': + return _$uiNodeAttributesNodeTypeEnum_a; + case 'script': + return _$uiNodeAttributesNodeTypeEnum_script; + default: + throw new ArgumentError(name); + } +} + +final BuiltSet + _$uiNodeAttributesNodeTypeEnumValues = new BuiltSet< + UiNodeAttributesNodeTypeEnum>(const [ + _$uiNodeAttributesNodeTypeEnum_text, + _$uiNodeAttributesNodeTypeEnum_input, + _$uiNodeAttributesNodeTypeEnum_img, + _$uiNodeAttributesNodeTypeEnum_a, + _$uiNodeAttributesNodeTypeEnum_script, +]); + Serializer _$uiNodeAttributesAutocompleteEnumSerializer = new _$UiNodeAttributesAutocompleteEnumSerializer(); +Serializer + _$uiNodeAttributesNodeTypeEnumSerializer = + new _$UiNodeAttributesNodeTypeEnumSerializer(); class _$UiNodeAttributesAutocompleteEnumSerializer implements PrimitiveSerializer { @@ -96,6 +138,41 @@ class _$UiNodeAttributesAutocompleteEnumSerializer _fromWire[serialized] ?? (serialized is String ? serialized : '')); } +class _$UiNodeAttributesNodeTypeEnumSerializer + implements PrimitiveSerializer { + static const Map _toWire = const { + 'text': 'text', + 'input': 'input', + 'img': 'img', + 'a': 'a', + 'script': 'script', + }; + static const Map _fromWire = const { + 'text': 'text', + 'input': 'input', + 'img': 'img', + 'a': 'a', + 'script': 'script', + }; + + @override + final Iterable types = const [UiNodeAttributesNodeTypeEnum]; + @override + final String wireName = 'UiNodeAttributesNodeTypeEnum'; + + @override + Object serialize(Serializers serializers, UiNodeAttributesNodeTypeEnum object, + {FullType specifiedType = FullType.unspecified}) => + _toWire[object.name] ?? object.name; + + @override + UiNodeAttributesNodeTypeEnum deserialize( + Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + UiNodeAttributesNodeTypeEnum.valueOf( + _fromWire[serialized] ?? (serialized is String ? serialized : '')); +} + class _$UiNodeAttributes extends UiNodeAttributes { @override final OneOf oneOf; diff --git a/clients/kratos/dart/lib/src/model/ui_node_image_attributes.dart b/clients/kratos/dart/lib/src/model/ui_node_image_attributes.dart index b752f536e47..72f92db7c69 100644 --- a/clients/kratos/dart/lib/src/model/ui_node_image_attributes.dart +++ b/clients/kratos/dart/lib/src/model/ui_node_image_attributes.dart @@ -3,6 +3,7 @@ // // ignore_for_file: unused_element +import 'package:built_collection/built_collection.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -13,7 +14,7 @@ part 'ui_node_image_attributes.g.dart'; /// Properties: /// * [height] - Height of the image /// * [id] - A unique identifier -/// * [nodeType] - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\". +/// * [nodeType] - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\". text Text input Input img Image a Anchor script Script /// * [src] - The image's source URL. format: uri /// * [width] - Width of the image @BuiltValue() @@ -26,9 +27,10 @@ abstract class UiNodeImageAttributes implements Built get serializer => _$uiNodeImageAttributesNodeTypeEnumSerializer; + + const UiNodeImageAttributesNodeTypeEnum._(String name): super(name); + + static BuiltSet get values => _$uiNodeImageAttributesNodeTypeEnumValues; + static UiNodeImageAttributesNodeTypeEnum valueOf(String name) => _$uiNodeImageAttributesNodeTypeEnumValueOf(name); +} + diff --git a/clients/kratos/dart/lib/src/model/ui_node_image_attributes.g.dart b/clients/kratos/dart/lib/src/model/ui_node_image_attributes.g.dart index 83854a67425..b6ce1a34a48 100644 --- a/clients/kratos/dart/lib/src/model/ui_node_image_attributes.g.dart +++ b/clients/kratos/dart/lib/src/model/ui_node_image_attributes.g.dart @@ -6,13 +6,96 @@ part of 'ui_node_image_attributes.dart'; // BuiltValueGenerator // ************************************************************************** +const UiNodeImageAttributesNodeTypeEnum + _$uiNodeImageAttributesNodeTypeEnum_text = + const UiNodeImageAttributesNodeTypeEnum._('text'); +const UiNodeImageAttributesNodeTypeEnum + _$uiNodeImageAttributesNodeTypeEnum_input = + const UiNodeImageAttributesNodeTypeEnum._('input'); +const UiNodeImageAttributesNodeTypeEnum + _$uiNodeImageAttributesNodeTypeEnum_img = + const UiNodeImageAttributesNodeTypeEnum._('img'); +const UiNodeImageAttributesNodeTypeEnum _$uiNodeImageAttributesNodeTypeEnum_a = + const UiNodeImageAttributesNodeTypeEnum._('a'); +const UiNodeImageAttributesNodeTypeEnum + _$uiNodeImageAttributesNodeTypeEnum_script = + const UiNodeImageAttributesNodeTypeEnum._('script'); + +UiNodeImageAttributesNodeTypeEnum _$uiNodeImageAttributesNodeTypeEnumValueOf( + String name) { + switch (name) { + case 'text': + return _$uiNodeImageAttributesNodeTypeEnum_text; + case 'input': + return _$uiNodeImageAttributesNodeTypeEnum_input; + case 'img': + return _$uiNodeImageAttributesNodeTypeEnum_img; + case 'a': + return _$uiNodeImageAttributesNodeTypeEnum_a; + case 'script': + return _$uiNodeImageAttributesNodeTypeEnum_script; + default: + throw new ArgumentError(name); + } +} + +final BuiltSet + _$uiNodeImageAttributesNodeTypeEnumValues = new BuiltSet< + UiNodeImageAttributesNodeTypeEnum>(const [ + _$uiNodeImageAttributesNodeTypeEnum_text, + _$uiNodeImageAttributesNodeTypeEnum_input, + _$uiNodeImageAttributesNodeTypeEnum_img, + _$uiNodeImageAttributesNodeTypeEnum_a, + _$uiNodeImageAttributesNodeTypeEnum_script, +]); + +Serializer + _$uiNodeImageAttributesNodeTypeEnumSerializer = + new _$UiNodeImageAttributesNodeTypeEnumSerializer(); + +class _$UiNodeImageAttributesNodeTypeEnumSerializer + implements PrimitiveSerializer { + static const Map _toWire = const { + 'text': 'text', + 'input': 'input', + 'img': 'img', + 'a': 'a', + 'script': 'script', + }; + static const Map _fromWire = const { + 'text': 'text', + 'input': 'input', + 'img': 'img', + 'a': 'a', + 'script': 'script', + }; + + @override + final Iterable types = const [UiNodeImageAttributesNodeTypeEnum]; + @override + final String wireName = 'UiNodeImageAttributesNodeTypeEnum'; + + @override + Object serialize( + Serializers serializers, UiNodeImageAttributesNodeTypeEnum object, + {FullType specifiedType = FullType.unspecified}) => + _toWire[object.name] ?? object.name; + + @override + UiNodeImageAttributesNodeTypeEnum deserialize( + Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + UiNodeImageAttributesNodeTypeEnum.valueOf( + _fromWire[serialized] ?? (serialized is String ? serialized : '')); +} + class _$UiNodeImageAttributes extends UiNodeImageAttributes { @override final int height; @override final String id; @override - final String nodeType; + final UiNodeImageAttributesNodeTypeEnum nodeType; @override final String src; @override @@ -95,9 +178,10 @@ class UiNodeImageAttributesBuilder String? get id => _$this._id; set id(String? id) => _$this._id = id; - String? _nodeType; - String? get nodeType => _$this._nodeType; - set nodeType(String? nodeType) => _$this._nodeType = nodeType; + UiNodeImageAttributesNodeTypeEnum? _nodeType; + UiNodeImageAttributesNodeTypeEnum? get nodeType => _$this._nodeType; + set nodeType(UiNodeImageAttributesNodeTypeEnum? nodeType) => + _$this._nodeType = nodeType; String? _src; String? get src => _$this._src; diff --git a/clients/kratos/dart/lib/src/model/ui_node_input_attributes.dart b/clients/kratos/dart/lib/src/model/ui_node_input_attributes.dart index 44d602300c1..46438387790 100644 --- a/clients/kratos/dart/lib/src/model/ui_node_input_attributes.dart +++ b/clients/kratos/dart/lib/src/model/ui_node_input_attributes.dart @@ -18,8 +18,9 @@ part 'ui_node_input_attributes.g.dart'; /// * [disabled] - Sets the input's disabled field to true or false. /// * [label] /// * [name] - The input's element name. -/// * [nodeType] - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". +/// * [nodeType] - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script /// * [onclick] - OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. +/// * [onload] - OnLoad may contain javascript which should be executed on load. This is primarily used for WebAuthn. /// * [pattern] - The input's pattern. /// * [required_] - Mark this input field as required. /// * [type] - The input's element type. text InputAttributeTypeText password InputAttributeTypePassword number InputAttributeTypeNumber checkbox InputAttributeTypeCheckbox hidden InputAttributeTypeHidden email InputAttributeTypeEmail tel InputAttributeTypeTel submit InputAttributeTypeSubmit button InputAttributeTypeButton datetime-local InputAttributeTypeDateTimeLocal date InputAttributeTypeDate url InputAttributeTypeURI @@ -42,14 +43,19 @@ abstract class UiNodeInputAttributes implements Built _$uiNodeInputAttributesAutocompleteEnumValueOf(name); } +class UiNodeInputAttributesNodeTypeEnum extends EnumClass { + + /// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script + @BuiltValueEnumConst(wireName: r'text') + static const UiNodeInputAttributesNodeTypeEnum text = _$uiNodeInputAttributesNodeTypeEnum_text; + /// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script + @BuiltValueEnumConst(wireName: r'input') + static const UiNodeInputAttributesNodeTypeEnum input = _$uiNodeInputAttributesNodeTypeEnum_input; + /// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script + @BuiltValueEnumConst(wireName: r'img') + static const UiNodeInputAttributesNodeTypeEnum img = _$uiNodeInputAttributesNodeTypeEnum_img; + /// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script + @BuiltValueEnumConst(wireName: r'a') + static const UiNodeInputAttributesNodeTypeEnum a = _$uiNodeInputAttributesNodeTypeEnum_a; + /// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script + @BuiltValueEnumConst(wireName: r'script') + static const UiNodeInputAttributesNodeTypeEnum script = _$uiNodeInputAttributesNodeTypeEnum_script; + + static Serializer get serializer => _$uiNodeInputAttributesNodeTypeEnumSerializer; + + const UiNodeInputAttributesNodeTypeEnum._(String name): super(name); + + static BuiltSet get values => _$uiNodeInputAttributesNodeTypeEnumValues; + static UiNodeInputAttributesNodeTypeEnum valueOf(String name) => _$uiNodeInputAttributesNodeTypeEnumValueOf(name); +} + class UiNodeInputAttributesTypeEnum extends EnumClass { /// The input's element type. text InputAttributeTypeText password InputAttributeTypePassword number InputAttributeTypeNumber checkbox InputAttributeTypeCheckbox hidden InputAttributeTypeHidden email InputAttributeTypeEmail tel InputAttributeTypeTel submit InputAttributeTypeSubmit button InputAttributeTypeButton datetime-local InputAttributeTypeDateTimeLocal date InputAttributeTypeDate url InputAttributeTypeURI diff --git a/clients/kratos/dart/lib/src/model/ui_node_input_attributes.g.dart b/clients/kratos/dart/lib/src/model/ui_node_input_attributes.g.dart index af2cb0b5715..1071b4426e3 100644 --- a/clients/kratos/dart/lib/src/model/ui_node_input_attributes.g.dart +++ b/clients/kratos/dart/lib/src/model/ui_node_input_attributes.g.dart @@ -56,6 +56,49 @@ final BuiltSet _$uiNodeInputAttributesAutocompleteEnum_oneTimeCode, ]); +const UiNodeInputAttributesNodeTypeEnum + _$uiNodeInputAttributesNodeTypeEnum_text = + const UiNodeInputAttributesNodeTypeEnum._('text'); +const UiNodeInputAttributesNodeTypeEnum + _$uiNodeInputAttributesNodeTypeEnum_input = + const UiNodeInputAttributesNodeTypeEnum._('input'); +const UiNodeInputAttributesNodeTypeEnum + _$uiNodeInputAttributesNodeTypeEnum_img = + const UiNodeInputAttributesNodeTypeEnum._('img'); +const UiNodeInputAttributesNodeTypeEnum _$uiNodeInputAttributesNodeTypeEnum_a = + const UiNodeInputAttributesNodeTypeEnum._('a'); +const UiNodeInputAttributesNodeTypeEnum + _$uiNodeInputAttributesNodeTypeEnum_script = + const UiNodeInputAttributesNodeTypeEnum._('script'); + +UiNodeInputAttributesNodeTypeEnum _$uiNodeInputAttributesNodeTypeEnumValueOf( + String name) { + switch (name) { + case 'text': + return _$uiNodeInputAttributesNodeTypeEnum_text; + case 'input': + return _$uiNodeInputAttributesNodeTypeEnum_input; + case 'img': + return _$uiNodeInputAttributesNodeTypeEnum_img; + case 'a': + return _$uiNodeInputAttributesNodeTypeEnum_a; + case 'script': + return _$uiNodeInputAttributesNodeTypeEnum_script; + default: + throw new ArgumentError(name); + } +} + +final BuiltSet + _$uiNodeInputAttributesNodeTypeEnumValues = new BuiltSet< + UiNodeInputAttributesNodeTypeEnum>(const [ + _$uiNodeInputAttributesNodeTypeEnum_text, + _$uiNodeInputAttributesNodeTypeEnum_input, + _$uiNodeInputAttributesNodeTypeEnum_img, + _$uiNodeInputAttributesNodeTypeEnum_a, + _$uiNodeInputAttributesNodeTypeEnum_script, +]); + const UiNodeInputAttributesTypeEnum _$uiNodeInputAttributesTypeEnum_text = const UiNodeInputAttributesTypeEnum._('text'); const UiNodeInputAttributesTypeEnum _$uiNodeInputAttributesTypeEnum_password = @@ -134,6 +177,9 @@ final BuiltSet Serializer _$uiNodeInputAttributesAutocompleteEnumSerializer = new _$UiNodeInputAttributesAutocompleteEnumSerializer(); +Serializer + _$uiNodeInputAttributesNodeTypeEnumSerializer = + new _$UiNodeInputAttributesNodeTypeEnumSerializer(); Serializer _$uiNodeInputAttributesTypeEnumSerializer = new _$UiNodeInputAttributesTypeEnumSerializer(); @@ -178,6 +224,42 @@ class _$UiNodeInputAttributesAutocompleteEnumSerializer _fromWire[serialized] ?? (serialized is String ? serialized : '')); } +class _$UiNodeInputAttributesNodeTypeEnumSerializer + implements PrimitiveSerializer { + static const Map _toWire = const { + 'text': 'text', + 'input': 'input', + 'img': 'img', + 'a': 'a', + 'script': 'script', + }; + static const Map _fromWire = const { + 'text': 'text', + 'input': 'input', + 'img': 'img', + 'a': 'a', + 'script': 'script', + }; + + @override + final Iterable types = const [UiNodeInputAttributesNodeTypeEnum]; + @override + final String wireName = 'UiNodeInputAttributesNodeTypeEnum'; + + @override + Object serialize( + Serializers serializers, UiNodeInputAttributesNodeTypeEnum object, + {FullType specifiedType = FullType.unspecified}) => + _toWire[object.name] ?? object.name; + + @override + UiNodeInputAttributesNodeTypeEnum deserialize( + Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + UiNodeInputAttributesNodeTypeEnum.valueOf( + _fromWire[serialized] ?? (serialized is String ? serialized : '')); +} + class _$UiNodeInputAttributesTypeEnumSerializer implements PrimitiveSerializer { static const Map _toWire = const { @@ -238,10 +320,12 @@ class _$UiNodeInputAttributes extends UiNodeInputAttributes { @override final String name; @override - final String nodeType; + final UiNodeInputAttributesNodeTypeEnum nodeType; @override final String? onclick; @override + final String? onload; + @override final String? pattern; @override final bool? required_; @@ -261,6 +345,7 @@ class _$UiNodeInputAttributes extends UiNodeInputAttributes { required this.name, required this.nodeType, this.onclick, + this.onload, this.pattern, this.required_, required this.type, @@ -295,6 +380,7 @@ class _$UiNodeInputAttributes extends UiNodeInputAttributes { name == other.name && nodeType == other.nodeType && onclick == other.onclick && + onload == other.onload && pattern == other.pattern && required_ == other.required_ && type == other.type && @@ -310,6 +396,7 @@ class _$UiNodeInputAttributes extends UiNodeInputAttributes { _$hash = $jc(_$hash, name.hashCode); _$hash = $jc(_$hash, nodeType.hashCode); _$hash = $jc(_$hash, onclick.hashCode); + _$hash = $jc(_$hash, onload.hashCode); _$hash = $jc(_$hash, pattern.hashCode); _$hash = $jc(_$hash, required_.hashCode); _$hash = $jc(_$hash, type.hashCode); @@ -327,6 +414,7 @@ class _$UiNodeInputAttributes extends UiNodeInputAttributes { ..add('name', name) ..add('nodeType', nodeType) ..add('onclick', onclick) + ..add('onload', onload) ..add('pattern', pattern) ..add('required_', required_) ..add('type', type) @@ -357,14 +445,19 @@ class UiNodeInputAttributesBuilder String? get name => _$this._name; set name(String? name) => _$this._name = name; - String? _nodeType; - String? get nodeType => _$this._nodeType; - set nodeType(String? nodeType) => _$this._nodeType = nodeType; + UiNodeInputAttributesNodeTypeEnum? _nodeType; + UiNodeInputAttributesNodeTypeEnum? get nodeType => _$this._nodeType; + set nodeType(UiNodeInputAttributesNodeTypeEnum? nodeType) => + _$this._nodeType = nodeType; String? _onclick; String? get onclick => _$this._onclick; set onclick(String? onclick) => _$this._onclick = onclick; + String? _onload; + String? get onload => _$this._onload; + set onload(String? onload) => _$this._onload = onload; + String? _pattern; String? get pattern => _$this._pattern; set pattern(String? pattern) => _$this._pattern = pattern; @@ -394,6 +487,7 @@ class UiNodeInputAttributesBuilder _name = $v.name; _nodeType = $v.nodeType; _onclick = $v.onclick; + _onload = $v.onload; _pattern = $v.pattern; _required_ = $v.required_; _type = $v.type; @@ -431,6 +525,7 @@ class UiNodeInputAttributesBuilder nodeType: BuiltValueNullFieldError.checkNotNull( nodeType, r'UiNodeInputAttributes', 'nodeType'), onclick: onclick, + onload: onload, pattern: pattern, required_: required_, type: BuiltValueNullFieldError.checkNotNull( diff --git a/clients/kratos/dart/lib/src/model/ui_node_script_attributes.dart b/clients/kratos/dart/lib/src/model/ui_node_script_attributes.dart index 2f57bf9eb9c..bdbbd4cc81c 100644 --- a/clients/kratos/dart/lib/src/model/ui_node_script_attributes.dart +++ b/clients/kratos/dart/lib/src/model/ui_node_script_attributes.dart @@ -3,6 +3,7 @@ // // ignore_for_file: unused_element +import 'package:built_collection/built_collection.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -15,7 +16,7 @@ part 'ui_node_script_attributes.g.dart'; /// * [crossorigin] - The script cross origin policy /// * [id] - A unique identifier /// * [integrity] - The script's integrity hash -/// * [nodeType] - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". +/// * [nodeType] - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script /// * [nonce] - Nonce for CSP A nonce you may want to use to improve your Content Security Policy. You do not have to use this value but if you want to improve your CSP policies you may use it. You can also choose to use your own nonce value! /// * [referrerpolicy] - The script referrer policy /// * [src] - The script source @@ -38,9 +39,10 @@ abstract class UiNodeScriptAttributes implements Built get serializer => _$uiNodeScriptAttributesNodeTypeEnumSerializer; + + const UiNodeScriptAttributesNodeTypeEnum._(String name): super(name); + + static BuiltSet get values => _$uiNodeScriptAttributesNodeTypeEnumValues; + static UiNodeScriptAttributesNodeTypeEnum valueOf(String name) => _$uiNodeScriptAttributesNodeTypeEnumValueOf(name); +} + diff --git a/clients/kratos/dart/lib/src/model/ui_node_script_attributes.g.dart b/clients/kratos/dart/lib/src/model/ui_node_script_attributes.g.dart index 626744a77c5..713d72165b1 100644 --- a/clients/kratos/dart/lib/src/model/ui_node_script_attributes.g.dart +++ b/clients/kratos/dart/lib/src/model/ui_node_script_attributes.g.dart @@ -6,6 +6,90 @@ part of 'ui_node_script_attributes.dart'; // BuiltValueGenerator // ************************************************************************** +const UiNodeScriptAttributesNodeTypeEnum + _$uiNodeScriptAttributesNodeTypeEnum_text = + const UiNodeScriptAttributesNodeTypeEnum._('text'); +const UiNodeScriptAttributesNodeTypeEnum + _$uiNodeScriptAttributesNodeTypeEnum_input = + const UiNodeScriptAttributesNodeTypeEnum._('input'); +const UiNodeScriptAttributesNodeTypeEnum + _$uiNodeScriptAttributesNodeTypeEnum_img = + const UiNodeScriptAttributesNodeTypeEnum._('img'); +const UiNodeScriptAttributesNodeTypeEnum + _$uiNodeScriptAttributesNodeTypeEnum_a = + const UiNodeScriptAttributesNodeTypeEnum._('a'); +const UiNodeScriptAttributesNodeTypeEnum + _$uiNodeScriptAttributesNodeTypeEnum_script = + const UiNodeScriptAttributesNodeTypeEnum._('script'); + +UiNodeScriptAttributesNodeTypeEnum _$uiNodeScriptAttributesNodeTypeEnumValueOf( + String name) { + switch (name) { + case 'text': + return _$uiNodeScriptAttributesNodeTypeEnum_text; + case 'input': + return _$uiNodeScriptAttributesNodeTypeEnum_input; + case 'img': + return _$uiNodeScriptAttributesNodeTypeEnum_img; + case 'a': + return _$uiNodeScriptAttributesNodeTypeEnum_a; + case 'script': + return _$uiNodeScriptAttributesNodeTypeEnum_script; + default: + throw new ArgumentError(name); + } +} + +final BuiltSet + _$uiNodeScriptAttributesNodeTypeEnumValues = new BuiltSet< + UiNodeScriptAttributesNodeTypeEnum>(const [ + _$uiNodeScriptAttributesNodeTypeEnum_text, + _$uiNodeScriptAttributesNodeTypeEnum_input, + _$uiNodeScriptAttributesNodeTypeEnum_img, + _$uiNodeScriptAttributesNodeTypeEnum_a, + _$uiNodeScriptAttributesNodeTypeEnum_script, +]); + +Serializer + _$uiNodeScriptAttributesNodeTypeEnumSerializer = + new _$UiNodeScriptAttributesNodeTypeEnumSerializer(); + +class _$UiNodeScriptAttributesNodeTypeEnumSerializer + implements PrimitiveSerializer { + static const Map _toWire = const { + 'text': 'text', + 'input': 'input', + 'img': 'img', + 'a': 'a', + 'script': 'script', + }; + static const Map _fromWire = const { + 'text': 'text', + 'input': 'input', + 'img': 'img', + 'a': 'a', + 'script': 'script', + }; + + @override + final Iterable types = const [UiNodeScriptAttributesNodeTypeEnum]; + @override + final String wireName = 'UiNodeScriptAttributesNodeTypeEnum'; + + @override + Object serialize( + Serializers serializers, UiNodeScriptAttributesNodeTypeEnum object, + {FullType specifiedType = FullType.unspecified}) => + _toWire[object.name] ?? object.name; + + @override + UiNodeScriptAttributesNodeTypeEnum deserialize( + Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + UiNodeScriptAttributesNodeTypeEnum.valueOf( + _fromWire[serialized] ?? (serialized is String ? serialized : '')); +} + class _$UiNodeScriptAttributes extends UiNodeScriptAttributes { @override final bool async_; @@ -16,7 +100,7 @@ class _$UiNodeScriptAttributes extends UiNodeScriptAttributes { @override final String integrity; @override - final String nodeType; + final UiNodeScriptAttributesNodeTypeEnum nodeType; @override final String nonce; @override @@ -136,9 +220,10 @@ class UiNodeScriptAttributesBuilder String? get integrity => _$this._integrity; set integrity(String? integrity) => _$this._integrity = integrity; - String? _nodeType; - String? get nodeType => _$this._nodeType; - set nodeType(String? nodeType) => _$this._nodeType = nodeType; + UiNodeScriptAttributesNodeTypeEnum? _nodeType; + UiNodeScriptAttributesNodeTypeEnum? get nodeType => _$this._nodeType; + set nodeType(UiNodeScriptAttributesNodeTypeEnum? nodeType) => + _$this._nodeType = nodeType; String? _nonce; String? get nonce => _$this._nonce; diff --git a/clients/kratos/dart/lib/src/model/ui_node_text_attributes.dart b/clients/kratos/dart/lib/src/model/ui_node_text_attributes.dart index e0aa0206e1a..73d525ae977 100644 --- a/clients/kratos/dart/lib/src/model/ui_node_text_attributes.dart +++ b/clients/kratos/dart/lib/src/model/ui_node_text_attributes.dart @@ -3,6 +3,7 @@ // // ignore_for_file: unused_element +import 'package:built_collection/built_collection.dart'; import 'package:ory_kratos_client/src/model/ui_text.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -13,7 +14,7 @@ part 'ui_node_text_attributes.g.dart'; /// /// Properties: /// * [id] - A unique identifier -/// * [nodeType] - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"text\". +/// * [nodeType] - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"text\". text Text input Input img Image a Anchor script Script /// * [text] @BuiltValue() abstract class UiNodeTextAttributes implements Built { @@ -21,9 +22,10 @@ abstract class UiNodeTextAttributes implements Built get serializer => _$uiNodeTextAttributesNodeTypeEnumSerializer; + + const UiNodeTextAttributesNodeTypeEnum._(String name): super(name); + + static BuiltSet get values => _$uiNodeTextAttributesNodeTypeEnumValues; + static UiNodeTextAttributesNodeTypeEnum valueOf(String name) => _$uiNodeTextAttributesNodeTypeEnumValueOf(name); +} + diff --git a/clients/kratos/dart/lib/src/model/ui_node_text_attributes.g.dart b/clients/kratos/dart/lib/src/model/ui_node_text_attributes.g.dart index 13b489aad3d..3ecdc5158bb 100644 --- a/clients/kratos/dart/lib/src/model/ui_node_text_attributes.g.dart +++ b/clients/kratos/dart/lib/src/model/ui_node_text_attributes.g.dart @@ -6,11 +6,92 @@ part of 'ui_node_text_attributes.dart'; // BuiltValueGenerator // ************************************************************************** +const UiNodeTextAttributesNodeTypeEnum _$uiNodeTextAttributesNodeTypeEnum_text = + const UiNodeTextAttributesNodeTypeEnum._('text'); +const UiNodeTextAttributesNodeTypeEnum + _$uiNodeTextAttributesNodeTypeEnum_input = + const UiNodeTextAttributesNodeTypeEnum._('input'); +const UiNodeTextAttributesNodeTypeEnum _$uiNodeTextAttributesNodeTypeEnum_img = + const UiNodeTextAttributesNodeTypeEnum._('img'); +const UiNodeTextAttributesNodeTypeEnum _$uiNodeTextAttributesNodeTypeEnum_a = + const UiNodeTextAttributesNodeTypeEnum._('a'); +const UiNodeTextAttributesNodeTypeEnum + _$uiNodeTextAttributesNodeTypeEnum_script = + const UiNodeTextAttributesNodeTypeEnum._('script'); + +UiNodeTextAttributesNodeTypeEnum _$uiNodeTextAttributesNodeTypeEnumValueOf( + String name) { + switch (name) { + case 'text': + return _$uiNodeTextAttributesNodeTypeEnum_text; + case 'input': + return _$uiNodeTextAttributesNodeTypeEnum_input; + case 'img': + return _$uiNodeTextAttributesNodeTypeEnum_img; + case 'a': + return _$uiNodeTextAttributesNodeTypeEnum_a; + case 'script': + return _$uiNodeTextAttributesNodeTypeEnum_script; + default: + throw new ArgumentError(name); + } +} + +final BuiltSet + _$uiNodeTextAttributesNodeTypeEnumValues = new BuiltSet< + UiNodeTextAttributesNodeTypeEnum>(const [ + _$uiNodeTextAttributesNodeTypeEnum_text, + _$uiNodeTextAttributesNodeTypeEnum_input, + _$uiNodeTextAttributesNodeTypeEnum_img, + _$uiNodeTextAttributesNodeTypeEnum_a, + _$uiNodeTextAttributesNodeTypeEnum_script, +]); + +Serializer + _$uiNodeTextAttributesNodeTypeEnumSerializer = + new _$UiNodeTextAttributesNodeTypeEnumSerializer(); + +class _$UiNodeTextAttributesNodeTypeEnumSerializer + implements PrimitiveSerializer { + static const Map _toWire = const { + 'text': 'text', + 'input': 'input', + 'img': 'img', + 'a': 'a', + 'script': 'script', + }; + static const Map _fromWire = const { + 'text': 'text', + 'input': 'input', + 'img': 'img', + 'a': 'a', + 'script': 'script', + }; + + @override + final Iterable types = const [UiNodeTextAttributesNodeTypeEnum]; + @override + final String wireName = 'UiNodeTextAttributesNodeTypeEnum'; + + @override + Object serialize( + Serializers serializers, UiNodeTextAttributesNodeTypeEnum object, + {FullType specifiedType = FullType.unspecified}) => + _toWire[object.name] ?? object.name; + + @override + UiNodeTextAttributesNodeTypeEnum deserialize( + Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + UiNodeTextAttributesNodeTypeEnum.valueOf( + _fromWire[serialized] ?? (serialized is String ? serialized : '')); +} + class _$UiNodeTextAttributes extends UiNodeTextAttributes { @override final String id; @override - final String nodeType; + final UiNodeTextAttributesNodeTypeEnum nodeType; @override final UiText text; @@ -74,9 +155,10 @@ class UiNodeTextAttributesBuilder String? get id => _$this._id; set id(String? id) => _$this._id = id; - String? _nodeType; - String? get nodeType => _$this._nodeType; - set nodeType(String? nodeType) => _$this._nodeType = nodeType; + UiNodeTextAttributesNodeTypeEnum? _nodeType; + UiNodeTextAttributesNodeTypeEnum? get nodeType => _$this._nodeType; + set nodeType(UiNodeTextAttributesNodeTypeEnum? nodeType) => + _$this._nodeType = nodeType; UiTextBuilder? _text; UiTextBuilder get text => _$this._text ??= new UiTextBuilder(); diff --git a/clients/kratos/dart/lib/src/model/update_login_flow_body.dart b/clients/kratos/dart/lib/src/model/update_login_flow_body.dart index 27719a144e2..d9e6e469fe3 100644 --- a/clients/kratos/dart/lib/src/model/update_login_flow_body.dart +++ b/clients/kratos/dart/lib/src/model/update_login_flow_body.dart @@ -4,6 +4,7 @@ // ignore_for_file: unused_element import 'package:ory_kratos_client/src/model/update_login_flow_with_lookup_secret_method.dart'; +import 'package:ory_kratos_client/src/model/update_login_flow_with_passkey_method.dart'; import 'package:ory_kratos_client/src/model/update_login_flow_with_password_method.dart'; import 'package:ory_kratos_client/src/model/update_login_flow_with_totp_method.dart'; import 'package:ory_kratos_client/src/model/update_login_flow_with_web_authn_method.dart'; @@ -19,11 +20,12 @@ part 'update_login_flow_body.g.dart'; /// UpdateLoginFlowBody /// /// Properties: -/// * [csrfToken] - CSRFToken is the anti-CSRF token +/// * [csrfToken] - Sending the anti-csrf token is only required for browser login flows. /// * [identifier] - Identifier is the code identifier The identifier requires that the user has already completed the registration or settings with code flow. -/// * [method] - Method should be set to \"code\" when logging in using the code strategy. +/// * [method] - Method should be set to \"passkey\" when logging in using the Passkey strategy. /// * [password] - The user's password. /// * [passwordIdentifier] - Identifier is the email or username of the user trying to log in. This field is deprecated! +/// * [transientPayload] - Transient data to pass along to any webhooks /// * [idToken] - IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple /// * [idTokenNonce] - IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and required. /// * [provider] - The provider to register with @@ -34,9 +36,10 @@ part 'update_login_flow_body.g.dart'; /// * [lookupSecret] - The lookup secret. /// * [code] - Code is the 6 digits code sent to the user /// * [resend] - Resend is set when the user wants to resend the code +/// * [passkeyLogin] - Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. @BuiltValue() abstract class UpdateLoginFlowBody implements Built { - /// One Of [UpdateLoginFlowWithCodeMethod], [UpdateLoginFlowWithLookupSecretMethod], [UpdateLoginFlowWithOidcMethod], [UpdateLoginFlowWithPasswordMethod], [UpdateLoginFlowWithTotpMethod], [UpdateLoginFlowWithWebAuthnMethod] + /// One Of [UpdateLoginFlowWithCodeMethod], [UpdateLoginFlowWithLookupSecretMethod], [UpdateLoginFlowWithOidcMethod], [UpdateLoginFlowWithPasskeyMethod], [UpdateLoginFlowWithPasswordMethod], [UpdateLoginFlowWithTotpMethod], [UpdateLoginFlowWithWebAuthnMethod] OneOf get oneOf; static const String discriminatorFieldName = r'method'; @@ -45,6 +48,7 @@ abstract class UpdateLoginFlowBody implements Built { /// Code is the 6 digits code sent to the user @@ -38,6 +40,10 @@ abstract class UpdateLoginFlowWithCodeMethod implements Built @@ -27,7 +29,8 @@ class _$UpdateLoginFlowWithCodeMethod extends UpdateLoginFlowWithCodeMethod { required this.csrfToken, this.identifier, required this.method, - this.resend}) + this.resend, + this.transientPayload}) : super._() { BuiltValueNullFieldError.checkNotNull( csrfToken, r'UpdateLoginFlowWithCodeMethod', 'csrfToken'); @@ -52,7 +55,8 @@ class _$UpdateLoginFlowWithCodeMethod extends UpdateLoginFlowWithCodeMethod { csrfToken == other.csrfToken && identifier == other.identifier && method == other.method && - resend == other.resend; + resend == other.resend && + transientPayload == other.transientPayload; } @override @@ -63,6 +67,7 @@ class _$UpdateLoginFlowWithCodeMethod extends UpdateLoginFlowWithCodeMethod { _$hash = $jc(_$hash, identifier.hashCode); _$hash = $jc(_$hash, method.hashCode); _$hash = $jc(_$hash, resend.hashCode); + _$hash = $jc(_$hash, transientPayload.hashCode); _$hash = $jf(_$hash); return _$hash; } @@ -74,7 +79,8 @@ class _$UpdateLoginFlowWithCodeMethod extends UpdateLoginFlowWithCodeMethod { ..add('csrfToken', csrfToken) ..add('identifier', identifier) ..add('method', method) - ..add('resend', resend)) + ..add('resend', resend) + ..add('transientPayload', transientPayload)) .toString(); } } @@ -105,6 +111,11 @@ class UpdateLoginFlowWithCodeMethodBuilder String? get resend => _$this._resend; set resend(String? resend) => _$this._resend = resend; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + UpdateLoginFlowWithCodeMethodBuilder() { UpdateLoginFlowWithCodeMethod._defaults(this); } @@ -117,6 +128,7 @@ class UpdateLoginFlowWithCodeMethodBuilder _identifier = $v.identifier; _method = $v.method; _resend = $v.resend; + _transientPayload = $v.transientPayload; _$v = null; } return this; @@ -145,7 +157,8 @@ class UpdateLoginFlowWithCodeMethodBuilder identifier: identifier, method: BuiltValueNullFieldError.checkNotNull( method, r'UpdateLoginFlowWithCodeMethod', 'method'), - resend: resend); + resend: resend, + transientPayload: transientPayload); replace(_$result); return _$result; } diff --git a/clients/kratos/dart/lib/src/model/update_login_flow_with_oidc_method.dart b/clients/kratos/dart/lib/src/model/update_login_flow_with_oidc_method.dart index 0d7e29245bc..6fe2dece8e6 100644 --- a/clients/kratos/dart/lib/src/model/update_login_flow_with_oidc_method.dart +++ b/clients/kratos/dart/lib/src/model/update_login_flow_with_oidc_method.dart @@ -18,6 +18,7 @@ part 'update_login_flow_with_oidc_method.g.dart'; /// * [method] - Method to use This field must be set to `oidc` when using the oidc method. /// * [provider] - The provider to register with /// * [traits] - The identity traits. This is a placeholder for the registration flow. +/// * [transientPayload] - Transient data to pass along to any webhooks /// * [upstreamParameters] - UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. @BuiltValue() abstract class UpdateLoginFlowWithOidcMethod implements Built { @@ -45,6 +46,10 @@ abstract class UpdateLoginFlowWithOidcMethod implements Built _$this._traits; set traits(JsonObject? traits) => _$this._traits = traits; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + JsonObject? _upstreamParameters; JsonObject? get upstreamParameters => _$this._upstreamParameters; set upstreamParameters(JsonObject? upstreamParameters) => @@ -139,6 +150,7 @@ class UpdateLoginFlowWithOidcMethodBuilder _method = $v.method; _provider = $v.provider; _traits = $v.traits; + _transientPayload = $v.transientPayload; _upstreamParameters = $v.upstreamParameters; _$v = null; } @@ -170,6 +182,7 @@ class UpdateLoginFlowWithOidcMethodBuilder provider: BuiltValueNullFieldError.checkNotNull( provider, r'UpdateLoginFlowWithOidcMethod', 'provider'), traits: traits, + transientPayload: transientPayload, upstreamParameters: upstreamParameters); replace(_$result); return _$result; diff --git a/clients/kratos/dart/lib/src/model/update_login_flow_with_passkey_method.dart b/clients/kratos/dart/lib/src/model/update_login_flow_with_passkey_method.dart new file mode 100644 index 00000000000..98c5b9cdfdd --- /dev/null +++ b/clients/kratos/dart/lib/src/model/update_login_flow_with_passkey_method.dart @@ -0,0 +1,145 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// + +// ignore_for_file: unused_element +import 'package:built_value/built_value.dart'; +import 'package:built_value/serializer.dart'; + +part 'update_login_flow_with_passkey_method.g.dart'; + +/// Update Login Flow with Passkey Method +/// +/// Properties: +/// * [csrfToken] - Sending the anti-csrf token is only required for browser login flows. +/// * [method] - Method should be set to \"passkey\" when logging in using the Passkey strategy. +/// * [passkeyLogin] - Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. +@BuiltValue() +abstract class UpdateLoginFlowWithPasskeyMethod implements Built { + /// Sending the anti-csrf token is only required for browser login flows. + @BuiltValueField(wireName: r'csrf_token') + String? get csrfToken; + + /// Method should be set to \"passkey\" when logging in using the Passkey strategy. + @BuiltValueField(wireName: r'method') + String get method; + + /// Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + @BuiltValueField(wireName: r'passkey_login') + String? get passkeyLogin; + + UpdateLoginFlowWithPasskeyMethod._(); + + factory UpdateLoginFlowWithPasskeyMethod([void updates(UpdateLoginFlowWithPasskeyMethodBuilder b)]) = _$UpdateLoginFlowWithPasskeyMethod; + + @BuiltValueHook(initializeBuilder: true) + static void _defaults(UpdateLoginFlowWithPasskeyMethodBuilder b) => b; + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$UpdateLoginFlowWithPasskeyMethodSerializer(); +} + +class _$UpdateLoginFlowWithPasskeyMethodSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [UpdateLoginFlowWithPasskeyMethod, _$UpdateLoginFlowWithPasskeyMethod]; + + @override + final String wireName = r'UpdateLoginFlowWithPasskeyMethod'; + + Iterable _serializeProperties( + Serializers serializers, + UpdateLoginFlowWithPasskeyMethod object, { + FullType specifiedType = FullType.unspecified, + }) sync* { + if (object.csrfToken != null) { + yield r'csrf_token'; + yield serializers.serialize( + object.csrfToken, + specifiedType: const FullType(String), + ); + } + yield r'method'; + yield serializers.serialize( + object.method, + specifiedType: const FullType(String), + ); + if (object.passkeyLogin != null) { + yield r'passkey_login'; + yield serializers.serialize( + object.passkeyLogin, + specifiedType: const FullType(String), + ); + } + } + + @override + Object serialize( + Serializers serializers, + UpdateLoginFlowWithPasskeyMethod object, { + FullType specifiedType = FullType.unspecified, + }) { + return _serializeProperties(serializers, object, specifiedType: specifiedType).toList(); + } + + void _deserializeProperties( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + required List serializedList, + required UpdateLoginFlowWithPasskeyMethodBuilder result, + required List unhandled, + }) { + for (var i = 0; i < serializedList.length; i += 2) { + final key = serializedList[i] as String; + final value = serializedList[i + 1]; + switch (key) { + case r'csrf_token': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(String), + ) as String; + result.csrfToken = valueDes; + break; + case r'method': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(String), + ) as String; + result.method = valueDes; + break; + case r'passkey_login': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(String), + ) as String; + result.passkeyLogin = valueDes; + break; + default: + unhandled.add(key); + unhandled.add(value); + break; + } + } + } + + @override + UpdateLoginFlowWithPasskeyMethod deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) { + final result = UpdateLoginFlowWithPasskeyMethodBuilder(); + final serializedList = (serialized as Iterable).toList(); + final unhandled = []; + _deserializeProperties( + serializers, + serialized, + specifiedType: specifiedType, + serializedList: serializedList, + unhandled: unhandled, + result: result, + ); + return result.build(); + } +} + diff --git a/clients/kratos/dart/lib/src/model/update_login_flow_with_passkey_method.g.dart b/clients/kratos/dart/lib/src/model/update_login_flow_with_passkey_method.g.dart new file mode 100644 index 00000000000..3cb5cecebc9 --- /dev/null +++ b/clients/kratos/dart/lib/src/model/update_login_flow_with_passkey_method.g.dart @@ -0,0 +1,126 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'update_login_flow_with_passkey_method.dart'; + +// ************************************************************************** +// BuiltValueGenerator +// ************************************************************************** + +class _$UpdateLoginFlowWithPasskeyMethod + extends UpdateLoginFlowWithPasskeyMethod { + @override + final String? csrfToken; + @override + final String method; + @override + final String? passkeyLogin; + + factory _$UpdateLoginFlowWithPasskeyMethod( + [void Function(UpdateLoginFlowWithPasskeyMethodBuilder)? updates]) => + (new UpdateLoginFlowWithPasskeyMethodBuilder()..update(updates))._build(); + + _$UpdateLoginFlowWithPasskeyMethod._( + {this.csrfToken, required this.method, this.passkeyLogin}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + method, r'UpdateLoginFlowWithPasskeyMethod', 'method'); + } + + @override + UpdateLoginFlowWithPasskeyMethod rebuild( + void Function(UpdateLoginFlowWithPasskeyMethodBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + UpdateLoginFlowWithPasskeyMethodBuilder toBuilder() => + new UpdateLoginFlowWithPasskeyMethodBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is UpdateLoginFlowWithPasskeyMethod && + csrfToken == other.csrfToken && + method == other.method && + passkeyLogin == other.passkeyLogin; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, csrfToken.hashCode); + _$hash = $jc(_$hash, method.hashCode); + _$hash = $jc(_$hash, passkeyLogin.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'UpdateLoginFlowWithPasskeyMethod') + ..add('csrfToken', csrfToken) + ..add('method', method) + ..add('passkeyLogin', passkeyLogin)) + .toString(); + } +} + +class UpdateLoginFlowWithPasskeyMethodBuilder + implements + Builder { + _$UpdateLoginFlowWithPasskeyMethod? _$v; + + String? _csrfToken; + String? get csrfToken => _$this._csrfToken; + set csrfToken(String? csrfToken) => _$this._csrfToken = csrfToken; + + String? _method; + String? get method => _$this._method; + set method(String? method) => _$this._method = method; + + String? _passkeyLogin; + String? get passkeyLogin => _$this._passkeyLogin; + set passkeyLogin(String? passkeyLogin) => _$this._passkeyLogin = passkeyLogin; + + UpdateLoginFlowWithPasskeyMethodBuilder() { + UpdateLoginFlowWithPasskeyMethod._defaults(this); + } + + UpdateLoginFlowWithPasskeyMethodBuilder get _$this { + final $v = _$v; + if ($v != null) { + _csrfToken = $v.csrfToken; + _method = $v.method; + _passkeyLogin = $v.passkeyLogin; + _$v = null; + } + return this; + } + + @override + void replace(UpdateLoginFlowWithPasskeyMethod other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$UpdateLoginFlowWithPasskeyMethod; + } + + @override + void update(void Function(UpdateLoginFlowWithPasskeyMethodBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + UpdateLoginFlowWithPasskeyMethod build() => _build(); + + _$UpdateLoginFlowWithPasskeyMethod _build() { + final _$result = _$v ?? + new _$UpdateLoginFlowWithPasskeyMethod._( + csrfToken: csrfToken, + method: BuiltValueNullFieldError.checkNotNull( + method, r'UpdateLoginFlowWithPasskeyMethod', 'method'), + passkeyLogin: passkeyLogin); + replace(_$result); + return _$result; + } +} + +// ignore_for_file: deprecated_member_use_from_same_package,type=lint diff --git a/clients/kratos/dart/lib/src/model/update_login_flow_with_password_method.dart b/clients/kratos/dart/lib/src/model/update_login_flow_with_password_method.dart index 45e51cf7ad0..a4a8be43081 100644 --- a/clients/kratos/dart/lib/src/model/update_login_flow_with_password_method.dart +++ b/clients/kratos/dart/lib/src/model/update_login_flow_with_password_method.dart @@ -3,6 +3,7 @@ // // ignore_for_file: unused_element +import 'package:built_value/json_object.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -16,6 +17,7 @@ part 'update_login_flow_with_password_method.g.dart'; /// * [method] - Method should be set to \"password\" when logging in using the identifier and password strategy. /// * [password] - The user's password. /// * [passwordIdentifier] - Identifier is the email or username of the user trying to log in. This field is deprecated! +/// * [transientPayload] - Transient data to pass along to any webhooks @BuiltValue() abstract class UpdateLoginFlowWithPasswordMethod implements Built { /// Sending the anti-csrf token is only required for browser login flows. @@ -38,6 +40,10 @@ abstract class UpdateLoginFlowWithPasswordMethod implements Built @@ -29,7 +31,8 @@ class _$UpdateLoginFlowWithPasswordMethod required this.identifier, required this.method, required this.password, - this.passwordIdentifier}) + this.passwordIdentifier, + this.transientPayload}) : super._() { BuiltValueNullFieldError.checkNotNull( identifier, r'UpdateLoginFlowWithPasswordMethod', 'identifier'); @@ -56,7 +59,8 @@ class _$UpdateLoginFlowWithPasswordMethod identifier == other.identifier && method == other.method && password == other.password && - passwordIdentifier == other.passwordIdentifier; + passwordIdentifier == other.passwordIdentifier && + transientPayload == other.transientPayload; } @override @@ -67,6 +71,7 @@ class _$UpdateLoginFlowWithPasswordMethod _$hash = $jc(_$hash, method.hashCode); _$hash = $jc(_$hash, password.hashCode); _$hash = $jc(_$hash, passwordIdentifier.hashCode); + _$hash = $jc(_$hash, transientPayload.hashCode); _$hash = $jf(_$hash); return _$hash; } @@ -78,7 +83,8 @@ class _$UpdateLoginFlowWithPasswordMethod ..add('identifier', identifier) ..add('method', method) ..add('password', password) - ..add('passwordIdentifier', passwordIdentifier)) + ..add('passwordIdentifier', passwordIdentifier) + ..add('transientPayload', transientPayload)) .toString(); } } @@ -110,6 +116,11 @@ class UpdateLoginFlowWithPasswordMethodBuilder set passwordIdentifier(String? passwordIdentifier) => _$this._passwordIdentifier = passwordIdentifier; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + UpdateLoginFlowWithPasswordMethodBuilder() { UpdateLoginFlowWithPasswordMethod._defaults(this); } @@ -122,6 +133,7 @@ class UpdateLoginFlowWithPasswordMethodBuilder _method = $v.method; _password = $v.password; _passwordIdentifier = $v.passwordIdentifier; + _transientPayload = $v.transientPayload; _$v = null; } return this; @@ -152,7 +164,8 @@ class UpdateLoginFlowWithPasswordMethodBuilder method, r'UpdateLoginFlowWithPasswordMethod', 'method'), password: BuiltValueNullFieldError.checkNotNull( password, r'UpdateLoginFlowWithPasswordMethod', 'password'), - passwordIdentifier: passwordIdentifier); + passwordIdentifier: passwordIdentifier, + transientPayload: transientPayload); replace(_$result); return _$result; } diff --git a/clients/kratos/dart/lib/src/model/update_login_flow_with_totp_method.dart b/clients/kratos/dart/lib/src/model/update_login_flow_with_totp_method.dart index 64dfe4f946a..81be49de44f 100644 --- a/clients/kratos/dart/lib/src/model/update_login_flow_with_totp_method.dart +++ b/clients/kratos/dart/lib/src/model/update_login_flow_with_totp_method.dart @@ -3,6 +3,7 @@ // // ignore_for_file: unused_element +import 'package:built_value/json_object.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -14,6 +15,7 @@ part 'update_login_flow_with_totp_method.g.dart'; /// * [csrfToken] - Sending the anti-csrf token is only required for browser login flows. /// * [method] - Method should be set to \"totp\" when logging in using the TOTP strategy. /// * [totpCode] - The TOTP code. +/// * [transientPayload] - Transient data to pass along to any webhooks @BuiltValue() abstract class UpdateLoginFlowWithTotpMethod implements Built { /// Sending the anti-csrf token is only required for browser login flows. @@ -28,6 +30,10 @@ abstract class UpdateLoginFlowWithTotpMethod implements Built (new UpdateLoginFlowWithTotpMethodBuilder()..update(updates))._build(); _$UpdateLoginFlowWithTotpMethod._( - {this.csrfToken, required this.method, required this.totpCode}) + {this.csrfToken, + required this.method, + required this.totpCode, + this.transientPayload}) : super._() { BuiltValueNullFieldError.checkNotNull( method, r'UpdateLoginFlowWithTotpMethod', 'method'); @@ -42,7 +47,8 @@ class _$UpdateLoginFlowWithTotpMethod extends UpdateLoginFlowWithTotpMethod { return other is UpdateLoginFlowWithTotpMethod && csrfToken == other.csrfToken && method == other.method && - totpCode == other.totpCode; + totpCode == other.totpCode && + transientPayload == other.transientPayload; } @override @@ -51,6 +57,7 @@ class _$UpdateLoginFlowWithTotpMethod extends UpdateLoginFlowWithTotpMethod { _$hash = $jc(_$hash, csrfToken.hashCode); _$hash = $jc(_$hash, method.hashCode); _$hash = $jc(_$hash, totpCode.hashCode); + _$hash = $jc(_$hash, transientPayload.hashCode); _$hash = $jf(_$hash); return _$hash; } @@ -60,7 +67,8 @@ class _$UpdateLoginFlowWithTotpMethod extends UpdateLoginFlowWithTotpMethod { return (newBuiltValueToStringHelper(r'UpdateLoginFlowWithTotpMethod') ..add('csrfToken', csrfToken) ..add('method', method) - ..add('totpCode', totpCode)) + ..add('totpCode', totpCode) + ..add('transientPayload', transientPayload)) .toString(); } } @@ -83,6 +91,11 @@ class UpdateLoginFlowWithTotpMethodBuilder String? get totpCode => _$this._totpCode; set totpCode(String? totpCode) => _$this._totpCode = totpCode; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + UpdateLoginFlowWithTotpMethodBuilder() { UpdateLoginFlowWithTotpMethod._defaults(this); } @@ -93,6 +106,7 @@ class UpdateLoginFlowWithTotpMethodBuilder _csrfToken = $v.csrfToken; _method = $v.method; _totpCode = $v.totpCode; + _transientPayload = $v.transientPayload; _$v = null; } return this; @@ -119,7 +133,8 @@ class UpdateLoginFlowWithTotpMethodBuilder method: BuiltValueNullFieldError.checkNotNull( method, r'UpdateLoginFlowWithTotpMethod', 'method'), totpCode: BuiltValueNullFieldError.checkNotNull( - totpCode, r'UpdateLoginFlowWithTotpMethod', 'totpCode')); + totpCode, r'UpdateLoginFlowWithTotpMethod', 'totpCode'), + transientPayload: transientPayload); replace(_$result); return _$result; } diff --git a/clients/kratos/dart/lib/src/model/update_login_flow_with_web_authn_method.dart b/clients/kratos/dart/lib/src/model/update_login_flow_with_web_authn_method.dart index b610de89157..b9b0c8810c1 100644 --- a/clients/kratos/dart/lib/src/model/update_login_flow_with_web_authn_method.dart +++ b/clients/kratos/dart/lib/src/model/update_login_flow_with_web_authn_method.dart @@ -3,6 +3,7 @@ // // ignore_for_file: unused_element +import 'package:built_value/json_object.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -14,6 +15,7 @@ part 'update_login_flow_with_web_authn_method.g.dart'; /// * [csrfToken] - Sending the anti-csrf token is only required for browser login flows. /// * [identifier] - Identifier is the email or username of the user trying to log in. /// * [method] - Method should be set to \"webAuthn\" when logging in using the WebAuthn strategy. +/// * [transientPayload] - Transient data to pass along to any webhooks /// * [webauthnLogin] - Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. @BuiltValue() abstract class UpdateLoginFlowWithWebAuthnMethod implements Built { @@ -29,6 +31,10 @@ abstract class UpdateLoginFlowWithWebAuthnMethod implements Built _$this._method; set method(String? method) => _$this._method = method; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + String? _webauthnLogin; String? get webauthnLogin => _$this._webauthnLogin; set webauthnLogin(String? webauthnLogin) => @@ -108,6 +119,7 @@ class UpdateLoginFlowWithWebAuthnMethodBuilder _csrfToken = $v.csrfToken; _identifier = $v.identifier; _method = $v.method; + _transientPayload = $v.transientPayload; _webauthnLogin = $v.webauthnLogin; _$v = null; } @@ -137,6 +149,7 @@ class UpdateLoginFlowWithWebAuthnMethodBuilder identifier, r'UpdateLoginFlowWithWebAuthnMethod', 'identifier'), method: BuiltValueNullFieldError.checkNotNull( method, r'UpdateLoginFlowWithWebAuthnMethod', 'method'), + transientPayload: transientPayload, webauthnLogin: webauthnLogin); replace(_$result); return _$result; diff --git a/clients/kratos/dart/lib/src/model/update_recovery_flow_body.dart b/clients/kratos/dart/lib/src/model/update_recovery_flow_body.dart index f58a38322f6..8670535d520 100644 --- a/clients/kratos/dart/lib/src/model/update_recovery_flow_body.dart +++ b/clients/kratos/dart/lib/src/model/update_recovery_flow_body.dart @@ -5,6 +5,7 @@ // ignore_for_file: unused_element import 'package:ory_kratos_client/src/model/update_recovery_flow_with_link_method.dart'; import 'package:built_collection/built_collection.dart'; +import 'package:built_value/json_object.dart'; import 'package:ory_kratos_client/src/model/update_recovery_flow_with_code_method.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -18,6 +19,7 @@ part 'update_recovery_flow_body.g.dart'; /// * [csrfToken] - Sending the anti-csrf token is only required for browser login flows. /// * [email] - The email address of the account to recover If the email belongs to a valid account, a recovery email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email /// * [method] - Method is the method that should be used for this recovery flow Allowed values are `link` and `code`. link RecoveryStrategyLink code RecoveryStrategyCode +/// * [transientPayload] - Transient data to pass along to any webhooks /// * [code] - Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. @BuiltValue() abstract class UpdateRecoveryFlowBody implements Built { diff --git a/clients/kratos/dart/lib/src/model/update_recovery_flow_with_code_method.dart b/clients/kratos/dart/lib/src/model/update_recovery_flow_with_code_method.dart index 211d27be70d..763dbafe0dc 100644 --- a/clients/kratos/dart/lib/src/model/update_recovery_flow_with_code_method.dart +++ b/clients/kratos/dart/lib/src/model/update_recovery_flow_with_code_method.dart @@ -4,6 +4,7 @@ // ignore_for_file: unused_element import 'package:built_collection/built_collection.dart'; +import 'package:built_value/json_object.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -16,6 +17,7 @@ part 'update_recovery_flow_with_code_method.g.dart'; /// * [csrfToken] - Sending the anti-csrf token is only required for browser login flows. /// * [email] - The email address of the account to recover If the email belongs to a valid account, a recovery email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email /// * [method] - Method is the method that should be used for this recovery flow Allowed values are `link` and `code`. link RecoveryStrategyLink code RecoveryStrategyCode +/// * [transientPayload] - Transient data to pass along to any webhooks @BuiltValue() abstract class UpdateRecoveryFlowWithCodeMethod implements Built { /// Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. @@ -35,6 +37,10 @@ abstract class UpdateRecoveryFlowWithCodeMethod implements Built (new UpdateRecoveryFlowWithCodeMethodBuilder()..update(updates))._build(); _$UpdateRecoveryFlowWithCodeMethod._( - {this.code, this.csrfToken, this.email, required this.method}) + {this.code, + this.csrfToken, + this.email, + required this.method, + this.transientPayload}) : super._() { BuiltValueNullFieldError.checkNotNull( method, r'UpdateRecoveryFlowWithCodeMethod', 'method'); @@ -106,7 +112,8 @@ class _$UpdateRecoveryFlowWithCodeMethod code == other.code && csrfToken == other.csrfToken && email == other.email && - method == other.method; + method == other.method && + transientPayload == other.transientPayload; } @override @@ -116,6 +123,7 @@ class _$UpdateRecoveryFlowWithCodeMethod _$hash = $jc(_$hash, csrfToken.hashCode); _$hash = $jc(_$hash, email.hashCode); _$hash = $jc(_$hash, method.hashCode); + _$hash = $jc(_$hash, transientPayload.hashCode); _$hash = $jf(_$hash); return _$hash; } @@ -126,7 +134,8 @@ class _$UpdateRecoveryFlowWithCodeMethod ..add('code', code) ..add('csrfToken', csrfToken) ..add('email', email) - ..add('method', method)) + ..add('method', method) + ..add('transientPayload', transientPayload)) .toString(); } } @@ -154,6 +163,11 @@ class UpdateRecoveryFlowWithCodeMethodBuilder set method(UpdateRecoveryFlowWithCodeMethodMethodEnum? method) => _$this._method = method; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + UpdateRecoveryFlowWithCodeMethodBuilder() { UpdateRecoveryFlowWithCodeMethod._defaults(this); } @@ -165,6 +179,7 @@ class UpdateRecoveryFlowWithCodeMethodBuilder _csrfToken = $v.csrfToken; _email = $v.email; _method = $v.method; + _transientPayload = $v.transientPayload; _$v = null; } return this; @@ -191,7 +206,8 @@ class UpdateRecoveryFlowWithCodeMethodBuilder csrfToken: csrfToken, email: email, method: BuiltValueNullFieldError.checkNotNull( - method, r'UpdateRecoveryFlowWithCodeMethod', 'method')); + method, r'UpdateRecoveryFlowWithCodeMethod', 'method'), + transientPayload: transientPayload); replace(_$result); return _$result; } diff --git a/clients/kratos/dart/lib/src/model/update_recovery_flow_with_link_method.dart b/clients/kratos/dart/lib/src/model/update_recovery_flow_with_link_method.dart index 0829ec53142..db433050260 100644 --- a/clients/kratos/dart/lib/src/model/update_recovery_flow_with_link_method.dart +++ b/clients/kratos/dart/lib/src/model/update_recovery_flow_with_link_method.dart @@ -4,6 +4,7 @@ // ignore_for_file: unused_element import 'package:built_collection/built_collection.dart'; +import 'package:built_value/json_object.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -15,6 +16,7 @@ part 'update_recovery_flow_with_link_method.g.dart'; /// * [csrfToken] - Sending the anti-csrf token is only required for browser login flows. /// * [email] - Email to Recover Needs to be set when initiating the flow. If the email is a registered recovery email, a recovery link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email /// * [method] - Method is the method that should be used for this recovery flow Allowed values are `link` and `code` link RecoveryStrategyLink code RecoveryStrategyCode +/// * [transientPayload] - Transient data to pass along to any webhooks @BuiltValue() abstract class UpdateRecoveryFlowWithLinkMethod implements Built { /// Sending the anti-csrf token is only required for browser login flows. @@ -30,6 +32,10 @@ abstract class UpdateRecoveryFlowWithLinkMethod implements Built (new UpdateRecoveryFlowWithLinkMethodBuilder()..update(updates))._build(); _$UpdateRecoveryFlowWithLinkMethod._( - {this.csrfToken, required this.email, required this.method}) + {this.csrfToken, + required this.email, + required this.method, + this.transientPayload}) : super._() { BuiltValueNullFieldError.checkNotNull( email, r'UpdateRecoveryFlowWithLinkMethod', 'email'); @@ -105,7 +110,8 @@ class _$UpdateRecoveryFlowWithLinkMethod return other is UpdateRecoveryFlowWithLinkMethod && csrfToken == other.csrfToken && email == other.email && - method == other.method; + method == other.method && + transientPayload == other.transientPayload; } @override @@ -114,6 +120,7 @@ class _$UpdateRecoveryFlowWithLinkMethod _$hash = $jc(_$hash, csrfToken.hashCode); _$hash = $jc(_$hash, email.hashCode); _$hash = $jc(_$hash, method.hashCode); + _$hash = $jc(_$hash, transientPayload.hashCode); _$hash = $jf(_$hash); return _$hash; } @@ -123,7 +130,8 @@ class _$UpdateRecoveryFlowWithLinkMethod return (newBuiltValueToStringHelper(r'UpdateRecoveryFlowWithLinkMethod') ..add('csrfToken', csrfToken) ..add('email', email) - ..add('method', method)) + ..add('method', method) + ..add('transientPayload', transientPayload)) .toString(); } } @@ -147,6 +155,11 @@ class UpdateRecoveryFlowWithLinkMethodBuilder set method(UpdateRecoveryFlowWithLinkMethodMethodEnum? method) => _$this._method = method; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + UpdateRecoveryFlowWithLinkMethodBuilder() { UpdateRecoveryFlowWithLinkMethod._defaults(this); } @@ -157,6 +170,7 @@ class UpdateRecoveryFlowWithLinkMethodBuilder _csrfToken = $v.csrfToken; _email = $v.email; _method = $v.method; + _transientPayload = $v.transientPayload; _$v = null; } return this; @@ -183,7 +197,8 @@ class UpdateRecoveryFlowWithLinkMethodBuilder email: BuiltValueNullFieldError.checkNotNull( email, r'UpdateRecoveryFlowWithLinkMethod', 'email'), method: BuiltValueNullFieldError.checkNotNull( - method, r'UpdateRecoveryFlowWithLinkMethod', 'method')); + method, r'UpdateRecoveryFlowWithLinkMethod', 'method'), + transientPayload: transientPayload); replace(_$result); return _$result; } diff --git a/clients/kratos/dart/lib/src/model/update_registration_flow_body.dart b/clients/kratos/dart/lib/src/model/update_registration_flow_body.dart index f2969695fb7..62cb0ad0016 100644 --- a/clients/kratos/dart/lib/src/model/update_registration_flow_body.dart +++ b/clients/kratos/dart/lib/src/model/update_registration_flow_body.dart @@ -4,6 +4,7 @@ // ignore_for_file: unused_element import 'package:ory_kratos_client/src/model/update_registration_flow_with_web_authn_method.dart'; +import 'package:ory_kratos_client/src/model/update_registration_flow_with_passkey_method.dart'; import 'package:ory_kratos_client/src/model/update_registration_flow_with_password_method.dart'; import 'package:ory_kratos_client/src/model/update_registration_flow_with_code_method.dart'; import 'package:ory_kratos_client/src/model/update_registration_flow_with_oidc_method.dart'; @@ -17,8 +18,8 @@ part 'update_registration_flow_body.g.dart'; /// Update Registration Request Body /// /// Properties: -/// * [csrfToken] - The CSRF Token -/// * [method] - Method to use This field must be set to `code` when using the code method. +/// * [csrfToken] - CSRFToken is the anti-CSRF token +/// * [method] - Method Should be set to \"passkey\" when trying to add, update, or remove a Passkey. /// * [password] - Password to sign the user up with /// * [traits] - The identity's traits /// * [transientPayload] - Transient data to pass along to any webhooks @@ -30,9 +31,10 @@ part 'update_registration_flow_body.g.dart'; /// * [webauthnRegisterDisplayname] - Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. /// * [code] - The OTP Code sent to the user /// * [resend] - Resend restarts the flow with a new code +/// * [passkeyRegister] - Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. @BuiltValue() abstract class UpdateRegistrationFlowBody implements Built { - /// One Of [UpdateRegistrationFlowWithCodeMethod], [UpdateRegistrationFlowWithOidcMethod], [UpdateRegistrationFlowWithPasswordMethod], [UpdateRegistrationFlowWithWebAuthnMethod] + /// One Of [UpdateRegistrationFlowWithCodeMethod], [UpdateRegistrationFlowWithOidcMethod], [UpdateRegistrationFlowWithPasskeyMethod], [UpdateRegistrationFlowWithPasswordMethod], [UpdateRegistrationFlowWithWebAuthnMethod] OneOf get oneOf; static const String discriminatorFieldName = r'method'; @@ -40,6 +42,7 @@ abstract class UpdateRegistrationFlowBody implements Built discriminatorMapping = { r'code': UpdateRegistrationFlowWithCodeMethod, r'oidc': UpdateRegistrationFlowWithOidcMethod, + r'passKey': UpdateRegistrationFlowWithPasskeyMethod, r'password': UpdateRegistrationFlowWithPasswordMethod, r'webauthn': UpdateRegistrationFlowWithWebAuthnMethod, }; @@ -63,6 +66,9 @@ extension UpdateRegistrationFlowBodyDiscriminatorExt on UpdateRegistrationFlowBo if (this is UpdateRegistrationFlowWithOidcMethod) { return r'oidc'; } + if (this is UpdateRegistrationFlowWithPasskeyMethod) { + return r'passKey'; + } if (this is UpdateRegistrationFlowWithPasswordMethod) { return r'password'; } @@ -80,6 +86,9 @@ extension UpdateRegistrationFlowBodyBuilderDiscriminatorExt on UpdateRegistratio if (this is UpdateRegistrationFlowWithOidcMethodBuilder) { return r'oidc'; } + if (this is UpdateRegistrationFlowWithPasskeyMethodBuilder) { + return r'passKey'; + } if (this is UpdateRegistrationFlowWithPasswordMethodBuilder) { return r'password'; } @@ -126,7 +135,7 @@ class _$UpdateRegistrationFlowBodySerializer implements PrimitiveSerializer { + /// CSRFToken is the anti-CSRF token + @BuiltValueField(wireName: r'csrf_token') + String? get csrfToken; + + /// Method Should be set to \"passkey\" when trying to add, update, or remove a Passkey. + @BuiltValueField(wireName: r'method') + String get method; + + /// Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + @BuiltValueField(wireName: r'passkey_register') + String? get passkeyRegister; + + /// The identity's traits + @BuiltValueField(wireName: r'traits') + JsonObject get traits; + + /// Transient data to pass along to any webhooks + @BuiltValueField(wireName: r'transient_payload') + JsonObject? get transientPayload; + + UpdateRegistrationFlowWithPasskeyMethod._(); + + factory UpdateRegistrationFlowWithPasskeyMethod([void updates(UpdateRegistrationFlowWithPasskeyMethodBuilder b)]) = _$UpdateRegistrationFlowWithPasskeyMethod; + + @BuiltValueHook(initializeBuilder: true) + static void _defaults(UpdateRegistrationFlowWithPasskeyMethodBuilder b) => b; + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$UpdateRegistrationFlowWithPasskeyMethodSerializer(); +} + +class _$UpdateRegistrationFlowWithPasskeyMethodSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [UpdateRegistrationFlowWithPasskeyMethod, _$UpdateRegistrationFlowWithPasskeyMethod]; + + @override + final String wireName = r'UpdateRegistrationFlowWithPasskeyMethod'; + + Iterable _serializeProperties( + Serializers serializers, + UpdateRegistrationFlowWithPasskeyMethod object, { + FullType specifiedType = FullType.unspecified, + }) sync* { + if (object.csrfToken != null) { + yield r'csrf_token'; + yield serializers.serialize( + object.csrfToken, + specifiedType: const FullType(String), + ); + } + yield r'method'; + yield serializers.serialize( + object.method, + specifiedType: const FullType(String), + ); + if (object.passkeyRegister != null) { + yield r'passkey_register'; + yield serializers.serialize( + object.passkeyRegister, + specifiedType: const FullType(String), + ); + } + yield r'traits'; + yield serializers.serialize( + object.traits, + specifiedType: const FullType(JsonObject), + ); + if (object.transientPayload != null) { + yield r'transient_payload'; + yield serializers.serialize( + object.transientPayload, + specifiedType: const FullType(JsonObject), + ); + } + } + + @override + Object serialize( + Serializers serializers, + UpdateRegistrationFlowWithPasskeyMethod object, { + FullType specifiedType = FullType.unspecified, + }) { + return _serializeProperties(serializers, object, specifiedType: specifiedType).toList(); + } + + void _deserializeProperties( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + required List serializedList, + required UpdateRegistrationFlowWithPasskeyMethodBuilder result, + required List unhandled, + }) { + for (var i = 0; i < serializedList.length; i += 2) { + final key = serializedList[i] as String; + final value = serializedList[i + 1]; + switch (key) { + case r'csrf_token': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(String), + ) as String; + result.csrfToken = valueDes; + break; + case r'method': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(String), + ) as String; + result.method = valueDes; + break; + case r'passkey_register': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(String), + ) as String; + result.passkeyRegister = valueDes; + break; + case r'traits': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(JsonObject), + ) as JsonObject; + result.traits = valueDes; + break; + case r'transient_payload': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(JsonObject), + ) as JsonObject; + result.transientPayload = valueDes; + break; + default: + unhandled.add(key); + unhandled.add(value); + break; + } + } + } + + @override + UpdateRegistrationFlowWithPasskeyMethod deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) { + final result = UpdateRegistrationFlowWithPasskeyMethodBuilder(); + final serializedList = (serialized as Iterable).toList(); + final unhandled = []; + _deserializeProperties( + serializers, + serialized, + specifiedType: specifiedType, + serializedList: serializedList, + unhandled: unhandled, + result: result, + ); + return result.build(); + } +} + diff --git a/clients/kratos/dart/lib/src/model/update_registration_flow_with_passkey_method.g.dart b/clients/kratos/dart/lib/src/model/update_registration_flow_with_passkey_method.g.dart new file mode 100644 index 00000000000..92b7d9c552b --- /dev/null +++ b/clients/kratos/dart/lib/src/model/update_registration_flow_with_passkey_method.g.dart @@ -0,0 +1,162 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'update_registration_flow_with_passkey_method.dart'; + +// ************************************************************************** +// BuiltValueGenerator +// ************************************************************************** + +class _$UpdateRegistrationFlowWithPasskeyMethod + extends UpdateRegistrationFlowWithPasskeyMethod { + @override + final String? csrfToken; + @override + final String method; + @override + final String? passkeyRegister; + @override + final JsonObject traits; + @override + final JsonObject? transientPayload; + + factory _$UpdateRegistrationFlowWithPasskeyMethod( + [void Function(UpdateRegistrationFlowWithPasskeyMethodBuilder)? + updates]) => + (new UpdateRegistrationFlowWithPasskeyMethodBuilder()..update(updates)) + ._build(); + + _$UpdateRegistrationFlowWithPasskeyMethod._( + {this.csrfToken, + required this.method, + this.passkeyRegister, + required this.traits, + this.transientPayload}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + method, r'UpdateRegistrationFlowWithPasskeyMethod', 'method'); + BuiltValueNullFieldError.checkNotNull( + traits, r'UpdateRegistrationFlowWithPasskeyMethod', 'traits'); + } + + @override + UpdateRegistrationFlowWithPasskeyMethod rebuild( + void Function(UpdateRegistrationFlowWithPasskeyMethodBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + UpdateRegistrationFlowWithPasskeyMethodBuilder toBuilder() => + new UpdateRegistrationFlowWithPasskeyMethodBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is UpdateRegistrationFlowWithPasskeyMethod && + csrfToken == other.csrfToken && + method == other.method && + passkeyRegister == other.passkeyRegister && + traits == other.traits && + transientPayload == other.transientPayload; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, csrfToken.hashCode); + _$hash = $jc(_$hash, method.hashCode); + _$hash = $jc(_$hash, passkeyRegister.hashCode); + _$hash = $jc(_$hash, traits.hashCode); + _$hash = $jc(_$hash, transientPayload.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'UpdateRegistrationFlowWithPasskeyMethod') + ..add('csrfToken', csrfToken) + ..add('method', method) + ..add('passkeyRegister', passkeyRegister) + ..add('traits', traits) + ..add('transientPayload', transientPayload)) + .toString(); + } +} + +class UpdateRegistrationFlowWithPasskeyMethodBuilder + implements + Builder { + _$UpdateRegistrationFlowWithPasskeyMethod? _$v; + + String? _csrfToken; + String? get csrfToken => _$this._csrfToken; + set csrfToken(String? csrfToken) => _$this._csrfToken = csrfToken; + + String? _method; + String? get method => _$this._method; + set method(String? method) => _$this._method = method; + + String? _passkeyRegister; + String? get passkeyRegister => _$this._passkeyRegister; + set passkeyRegister(String? passkeyRegister) => + _$this._passkeyRegister = passkeyRegister; + + JsonObject? _traits; + JsonObject? get traits => _$this._traits; + set traits(JsonObject? traits) => _$this._traits = traits; + + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + + UpdateRegistrationFlowWithPasskeyMethodBuilder() { + UpdateRegistrationFlowWithPasskeyMethod._defaults(this); + } + + UpdateRegistrationFlowWithPasskeyMethodBuilder get _$this { + final $v = _$v; + if ($v != null) { + _csrfToken = $v.csrfToken; + _method = $v.method; + _passkeyRegister = $v.passkeyRegister; + _traits = $v.traits; + _transientPayload = $v.transientPayload; + _$v = null; + } + return this; + } + + @override + void replace(UpdateRegistrationFlowWithPasskeyMethod other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$UpdateRegistrationFlowWithPasskeyMethod; + } + + @override + void update( + void Function(UpdateRegistrationFlowWithPasskeyMethodBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + UpdateRegistrationFlowWithPasskeyMethod build() => _build(); + + _$UpdateRegistrationFlowWithPasskeyMethod _build() { + final _$result = _$v ?? + new _$UpdateRegistrationFlowWithPasskeyMethod._( + csrfToken: csrfToken, + method: BuiltValueNullFieldError.checkNotNull( + method, r'UpdateRegistrationFlowWithPasskeyMethod', 'method'), + passkeyRegister: passkeyRegister, + traits: BuiltValueNullFieldError.checkNotNull( + traits, r'UpdateRegistrationFlowWithPasskeyMethod', 'traits'), + transientPayload: transientPayload); + replace(_$result); + return _$result; + } +} + +// ignore_for_file: deprecated_member_use_from_same_package,type=lint diff --git a/clients/kratos/dart/lib/src/model/update_registration_flow_with_profile_method.dart b/clients/kratos/dart/lib/src/model/update_registration_flow_with_profile_method.dart new file mode 100644 index 00000000000..e948b3181c1 --- /dev/null +++ b/clients/kratos/dart/lib/src/model/update_registration_flow_with_profile_method.dart @@ -0,0 +1,182 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// + +// ignore_for_file: unused_element +import 'package:built_value/json_object.dart'; +import 'package:built_value/built_value.dart'; +import 'package:built_value/serializer.dart'; + +part 'update_registration_flow_with_profile_method.g.dart'; + +/// Update Registration Flow with Profile Method +/// +/// Properties: +/// * [csrfToken] - The Anti-CSRF Token This token is only required when performing browser flows. +/// * [method] - Method Should be set to profile when trying to update a profile. +/// * [screen] - Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. +/// * [traits] - Traits The identity's traits. +/// * [transientPayload] - Transient data to pass along to any webhooks +@BuiltValue() +abstract class UpdateRegistrationFlowWithProfileMethod implements Built { + /// The Anti-CSRF Token This token is only required when performing browser flows. + @BuiltValueField(wireName: r'csrf_token') + String? get csrfToken; + + /// Method Should be set to profile when trying to update a profile. + @BuiltValueField(wireName: r'method') + String get method; + + /// Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. + @BuiltValueField(wireName: r'screen') + String? get screen; + + /// Traits The identity's traits. + @BuiltValueField(wireName: r'traits') + JsonObject get traits; + + /// Transient data to pass along to any webhooks + @BuiltValueField(wireName: r'transient_payload') + JsonObject? get transientPayload; + + UpdateRegistrationFlowWithProfileMethod._(); + + factory UpdateRegistrationFlowWithProfileMethod([void updates(UpdateRegistrationFlowWithProfileMethodBuilder b)]) = _$UpdateRegistrationFlowWithProfileMethod; + + @BuiltValueHook(initializeBuilder: true) + static void _defaults(UpdateRegistrationFlowWithProfileMethodBuilder b) => b; + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$UpdateRegistrationFlowWithProfileMethodSerializer(); +} + +class _$UpdateRegistrationFlowWithProfileMethodSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [UpdateRegistrationFlowWithProfileMethod, _$UpdateRegistrationFlowWithProfileMethod]; + + @override + final String wireName = r'UpdateRegistrationFlowWithProfileMethod'; + + Iterable _serializeProperties( + Serializers serializers, + UpdateRegistrationFlowWithProfileMethod object, { + FullType specifiedType = FullType.unspecified, + }) sync* { + if (object.csrfToken != null) { + yield r'csrf_token'; + yield serializers.serialize( + object.csrfToken, + specifiedType: const FullType(String), + ); + } + yield r'method'; + yield serializers.serialize( + object.method, + specifiedType: const FullType(String), + ); + if (object.screen != null) { + yield r'screen'; + yield serializers.serialize( + object.screen, + specifiedType: const FullType(String), + ); + } + yield r'traits'; + yield serializers.serialize( + object.traits, + specifiedType: const FullType(JsonObject), + ); + if (object.transientPayload != null) { + yield r'transient_payload'; + yield serializers.serialize( + object.transientPayload, + specifiedType: const FullType(JsonObject), + ); + } + } + + @override + Object serialize( + Serializers serializers, + UpdateRegistrationFlowWithProfileMethod object, { + FullType specifiedType = FullType.unspecified, + }) { + return _serializeProperties(serializers, object, specifiedType: specifiedType).toList(); + } + + void _deserializeProperties( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + required List serializedList, + required UpdateRegistrationFlowWithProfileMethodBuilder result, + required List unhandled, + }) { + for (var i = 0; i < serializedList.length; i += 2) { + final key = serializedList[i] as String; + final value = serializedList[i + 1]; + switch (key) { + case r'csrf_token': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(String), + ) as String; + result.csrfToken = valueDes; + break; + case r'method': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(String), + ) as String; + result.method = valueDes; + break; + case r'screen': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(String), + ) as String; + result.screen = valueDes; + break; + case r'traits': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(JsonObject), + ) as JsonObject; + result.traits = valueDes; + break; + case r'transient_payload': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(JsonObject), + ) as JsonObject; + result.transientPayload = valueDes; + break; + default: + unhandled.add(key); + unhandled.add(value); + break; + } + } + } + + @override + UpdateRegistrationFlowWithProfileMethod deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) { + final result = UpdateRegistrationFlowWithProfileMethodBuilder(); + final serializedList = (serialized as Iterable).toList(); + final unhandled = []; + _deserializeProperties( + serializers, + serialized, + specifiedType: specifiedType, + serializedList: serializedList, + unhandled: unhandled, + result: result, + ); + return result.build(); + } +} + diff --git a/clients/kratos/dart/lib/src/model/update_registration_flow_with_profile_method.g.dart b/clients/kratos/dart/lib/src/model/update_registration_flow_with_profile_method.g.dart new file mode 100644 index 00000000000..46ddb15bf9a --- /dev/null +++ b/clients/kratos/dart/lib/src/model/update_registration_flow_with_profile_method.g.dart @@ -0,0 +1,161 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'update_registration_flow_with_profile_method.dart'; + +// ************************************************************************** +// BuiltValueGenerator +// ************************************************************************** + +class _$UpdateRegistrationFlowWithProfileMethod + extends UpdateRegistrationFlowWithProfileMethod { + @override + final String? csrfToken; + @override + final String method; + @override + final String? screen; + @override + final JsonObject traits; + @override + final JsonObject? transientPayload; + + factory _$UpdateRegistrationFlowWithProfileMethod( + [void Function(UpdateRegistrationFlowWithProfileMethodBuilder)? + updates]) => + (new UpdateRegistrationFlowWithProfileMethodBuilder()..update(updates)) + ._build(); + + _$UpdateRegistrationFlowWithProfileMethod._( + {this.csrfToken, + required this.method, + this.screen, + required this.traits, + this.transientPayload}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + method, r'UpdateRegistrationFlowWithProfileMethod', 'method'); + BuiltValueNullFieldError.checkNotNull( + traits, r'UpdateRegistrationFlowWithProfileMethod', 'traits'); + } + + @override + UpdateRegistrationFlowWithProfileMethod rebuild( + void Function(UpdateRegistrationFlowWithProfileMethodBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + UpdateRegistrationFlowWithProfileMethodBuilder toBuilder() => + new UpdateRegistrationFlowWithProfileMethodBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is UpdateRegistrationFlowWithProfileMethod && + csrfToken == other.csrfToken && + method == other.method && + screen == other.screen && + traits == other.traits && + transientPayload == other.transientPayload; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, csrfToken.hashCode); + _$hash = $jc(_$hash, method.hashCode); + _$hash = $jc(_$hash, screen.hashCode); + _$hash = $jc(_$hash, traits.hashCode); + _$hash = $jc(_$hash, transientPayload.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'UpdateRegistrationFlowWithProfileMethod') + ..add('csrfToken', csrfToken) + ..add('method', method) + ..add('screen', screen) + ..add('traits', traits) + ..add('transientPayload', transientPayload)) + .toString(); + } +} + +class UpdateRegistrationFlowWithProfileMethodBuilder + implements + Builder { + _$UpdateRegistrationFlowWithProfileMethod? _$v; + + String? _csrfToken; + String? get csrfToken => _$this._csrfToken; + set csrfToken(String? csrfToken) => _$this._csrfToken = csrfToken; + + String? _method; + String? get method => _$this._method; + set method(String? method) => _$this._method = method; + + String? _screen; + String? get screen => _$this._screen; + set screen(String? screen) => _$this._screen = screen; + + JsonObject? _traits; + JsonObject? get traits => _$this._traits; + set traits(JsonObject? traits) => _$this._traits = traits; + + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + + UpdateRegistrationFlowWithProfileMethodBuilder() { + UpdateRegistrationFlowWithProfileMethod._defaults(this); + } + + UpdateRegistrationFlowWithProfileMethodBuilder get _$this { + final $v = _$v; + if ($v != null) { + _csrfToken = $v.csrfToken; + _method = $v.method; + _screen = $v.screen; + _traits = $v.traits; + _transientPayload = $v.transientPayload; + _$v = null; + } + return this; + } + + @override + void replace(UpdateRegistrationFlowWithProfileMethod other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$UpdateRegistrationFlowWithProfileMethod; + } + + @override + void update( + void Function(UpdateRegistrationFlowWithProfileMethodBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + UpdateRegistrationFlowWithProfileMethod build() => _build(); + + _$UpdateRegistrationFlowWithProfileMethod _build() { + final _$result = _$v ?? + new _$UpdateRegistrationFlowWithProfileMethod._( + csrfToken: csrfToken, + method: BuiltValueNullFieldError.checkNotNull( + method, r'UpdateRegistrationFlowWithProfileMethod', 'method'), + screen: screen, + traits: BuiltValueNullFieldError.checkNotNull( + traits, r'UpdateRegistrationFlowWithProfileMethod', 'traits'), + transientPayload: transientPayload); + replace(_$result); + return _$result; + } +} + +// ignore_for_file: deprecated_member_use_from_same_package,type=lint diff --git a/clients/kratos/dart/lib/src/model/update_settings_flow_body.dart b/clients/kratos/dart/lib/src/model/update_settings_flow_body.dart index 48eedd5f29c..b4883cd830f 100644 --- a/clients/kratos/dart/lib/src/model/update_settings_flow_body.dart +++ b/clients/kratos/dart/lib/src/model/update_settings_flow_body.dart @@ -10,6 +10,7 @@ import 'package:ory_kratos_client/src/model/update_settings_flow_with_oidc_metho import 'package:ory_kratos_client/src/model/update_settings_flow_with_web_authn_method.dart'; import 'package:ory_kratos_client/src/model/update_settings_flow_with_totp_method.dart'; import 'package:built_value/json_object.dart'; +import 'package:ory_kratos_client/src/model/update_settings_flow_with_passkey_method.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; import 'package:one_of/one_of.dart'; @@ -20,8 +21,9 @@ part 'update_settings_flow_body.g.dart'; /// /// Properties: /// * [csrfToken] - CSRFToken is the anti-CSRF token -/// * [method] - Method Should be set to \"lookup\" when trying to add, update, or remove a lookup pairing. +/// * [method] - Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. /// * [password] - Password is the updated password +/// * [transientPayload] - Transient data to pass along to any webhooks /// * [traits] - The identity's traits in: body /// * [flow] - Flow ID is the flow's ID. in: query /// * [link] - Link this provider Either this or `unlink` must be set. type: string in: body @@ -36,9 +38,11 @@ part 'update_settings_flow_body.g.dart'; /// * [lookupSecretDisable] - Disables this method if true. /// * [lookupSecretRegenerate] - If set to true will regenerate the lookup secrets /// * [lookupSecretReveal] - If set to true will reveal the lookup secrets +/// * [passkeyRemove] - Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. +/// * [passkeySettingsRegister] - Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. @BuiltValue() abstract class UpdateSettingsFlowBody implements Built { - /// One Of [UpdateSettingsFlowWithLookupMethod], [UpdateSettingsFlowWithOidcMethod], [UpdateSettingsFlowWithPasswordMethod], [UpdateSettingsFlowWithProfileMethod], [UpdateSettingsFlowWithTotpMethod], [UpdateSettingsFlowWithWebAuthnMethod] + /// One Of [UpdateSettingsFlowWithLookupMethod], [UpdateSettingsFlowWithOidcMethod], [UpdateSettingsFlowWithPasskeyMethod], [UpdateSettingsFlowWithPasswordMethod], [UpdateSettingsFlowWithProfileMethod], [UpdateSettingsFlowWithTotpMethod], [UpdateSettingsFlowWithWebAuthnMethod] OneOf get oneOf; static const String discriminatorFieldName = r'method'; @@ -46,6 +50,7 @@ abstract class UpdateSettingsFlowBody implements Built discriminatorMapping = { r'lookup_secret': UpdateSettingsFlowWithLookupMethod, r'oidc': UpdateSettingsFlowWithOidcMethod, + r'passkey': UpdateSettingsFlowWithPasskeyMethod, r'password': UpdateSettingsFlowWithPasswordMethod, r'profile': UpdateSettingsFlowWithProfileMethod, r'totp': UpdateSettingsFlowWithTotpMethod, @@ -71,6 +76,9 @@ extension UpdateSettingsFlowBodyDiscriminatorExt on UpdateSettingsFlowBody { if (this is UpdateSettingsFlowWithOidcMethod) { return r'oidc'; } + if (this is UpdateSettingsFlowWithPasskeyMethod) { + return r'passkey'; + } if (this is UpdateSettingsFlowWithPasswordMethod) { return r'password'; } @@ -94,6 +102,9 @@ extension UpdateSettingsFlowBodyBuilderDiscriminatorExt on UpdateSettingsFlowBod if (this is UpdateSettingsFlowWithOidcMethodBuilder) { return r'oidc'; } + if (this is UpdateSettingsFlowWithPasskeyMethodBuilder) { + return r'passkey'; + } if (this is UpdateSettingsFlowWithPasswordMethodBuilder) { return r'password'; } @@ -146,7 +157,7 @@ class _$UpdateSettingsFlowBodySerializer implements PrimitiveSerializer { /// CSRFToken is the anti-CSRF token @@ -43,6 +45,10 @@ abstract class UpdateSettingsFlowWithLookupMethod implements Built _$this._method; set method(String? method) => _$this._method = method; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + UpdateSettingsFlowWithLookupMethodBuilder() { UpdateSettingsFlowWithLookupMethod._defaults(this); } @@ -133,6 +144,7 @@ class UpdateSettingsFlowWithLookupMethodBuilder _lookupSecretRegenerate = $v.lookupSecretRegenerate; _lookupSecretReveal = $v.lookupSecretReveal; _method = $v.method; + _transientPayload = $v.transientPayload; _$v = null; } return this; @@ -162,7 +174,8 @@ class UpdateSettingsFlowWithLookupMethodBuilder lookupSecretRegenerate: lookupSecretRegenerate, lookupSecretReveal: lookupSecretReveal, method: BuiltValueNullFieldError.checkNotNull( - method, r'UpdateSettingsFlowWithLookupMethod', 'method')); + method, r'UpdateSettingsFlowWithLookupMethod', 'method'), + transientPayload: transientPayload); replace(_$result); return _$result; } diff --git a/clients/kratos/dart/lib/src/model/update_settings_flow_with_oidc_method.dart b/clients/kratos/dart/lib/src/model/update_settings_flow_with_oidc_method.dart index db0eb429d20..9287453e485 100644 --- a/clients/kratos/dart/lib/src/model/update_settings_flow_with_oidc_method.dart +++ b/clients/kratos/dart/lib/src/model/update_settings_flow_with_oidc_method.dart @@ -16,6 +16,7 @@ part 'update_settings_flow_with_oidc_method.g.dart'; /// * [link] - Link this provider Either this or `unlink` must be set. type: string in: body /// * [method] - Method Should be set to profile when trying to update a profile. /// * [traits] - The identity's traits in: body +/// * [transientPayload] - Transient data to pass along to any webhooks /// * [unlink] - Unlink this provider Either this or `link` must be set. type: string in: body /// * [upstreamParameters] - UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. @BuiltValue() @@ -36,6 +37,10 @@ abstract class UpdateSettingsFlowWithOidcMethod implements Built _$this._traits; set traits(JsonObject? traits) => _$this._traits = traits; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + String? _unlink; String? get unlink => _$this._unlink; set unlink(String? unlink) => _$this._unlink = unlink; @@ -126,6 +137,7 @@ class UpdateSettingsFlowWithOidcMethodBuilder _link = $v.link; _method = $v.method; _traits = $v.traits; + _transientPayload = $v.transientPayload; _unlink = $v.unlink; _upstreamParameters = $v.upstreamParameters; _$v = null; @@ -155,6 +167,7 @@ class UpdateSettingsFlowWithOidcMethodBuilder method: BuiltValueNullFieldError.checkNotNull( method, r'UpdateSettingsFlowWithOidcMethod', 'method'), traits: traits, + transientPayload: transientPayload, unlink: unlink, upstreamParameters: upstreamParameters); replace(_$result); diff --git a/clients/kratos/dart/lib/src/model/update_settings_flow_with_passkey_method.dart b/clients/kratos/dart/lib/src/model/update_settings_flow_with_passkey_method.dart new file mode 100644 index 00000000000..ebd4cada10c --- /dev/null +++ b/clients/kratos/dart/lib/src/model/update_settings_flow_with_passkey_method.dart @@ -0,0 +1,164 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// + +// ignore_for_file: unused_element +import 'package:built_value/built_value.dart'; +import 'package:built_value/serializer.dart'; + +part 'update_settings_flow_with_passkey_method.g.dart'; + +/// Update Settings Flow with Passkey Method +/// +/// Properties: +/// * [csrfToken] - CSRFToken is the anti-CSRF token +/// * [method] - Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. +/// * [passkeyRemove] - Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. +/// * [passkeySettingsRegister] - Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. +@BuiltValue() +abstract class UpdateSettingsFlowWithPasskeyMethod implements Built { + /// CSRFToken is the anti-CSRF token + @BuiltValueField(wireName: r'csrf_token') + String? get csrfToken; + + /// Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. + @BuiltValueField(wireName: r'method') + String get method; + + /// Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + @BuiltValueField(wireName: r'passkey_remove') + String? get passkeyRemove; + + /// Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + @BuiltValueField(wireName: r'passkey_settings_register') + String? get passkeySettingsRegister; + + UpdateSettingsFlowWithPasskeyMethod._(); + + factory UpdateSettingsFlowWithPasskeyMethod([void updates(UpdateSettingsFlowWithPasskeyMethodBuilder b)]) = _$UpdateSettingsFlowWithPasskeyMethod; + + @BuiltValueHook(initializeBuilder: true) + static void _defaults(UpdateSettingsFlowWithPasskeyMethodBuilder b) => b; + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$UpdateSettingsFlowWithPasskeyMethodSerializer(); +} + +class _$UpdateSettingsFlowWithPasskeyMethodSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [UpdateSettingsFlowWithPasskeyMethod, _$UpdateSettingsFlowWithPasskeyMethod]; + + @override + final String wireName = r'UpdateSettingsFlowWithPasskeyMethod'; + + Iterable _serializeProperties( + Serializers serializers, + UpdateSettingsFlowWithPasskeyMethod object, { + FullType specifiedType = FullType.unspecified, + }) sync* { + if (object.csrfToken != null) { + yield r'csrf_token'; + yield serializers.serialize( + object.csrfToken, + specifiedType: const FullType(String), + ); + } + yield r'method'; + yield serializers.serialize( + object.method, + specifiedType: const FullType(String), + ); + if (object.passkeyRemove != null) { + yield r'passkey_remove'; + yield serializers.serialize( + object.passkeyRemove, + specifiedType: const FullType(String), + ); + } + if (object.passkeySettingsRegister != null) { + yield r'passkey_settings_register'; + yield serializers.serialize( + object.passkeySettingsRegister, + specifiedType: const FullType(String), + ); + } + } + + @override + Object serialize( + Serializers serializers, + UpdateSettingsFlowWithPasskeyMethod object, { + FullType specifiedType = FullType.unspecified, + }) { + return _serializeProperties(serializers, object, specifiedType: specifiedType).toList(); + } + + void _deserializeProperties( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + required List serializedList, + required UpdateSettingsFlowWithPasskeyMethodBuilder result, + required List unhandled, + }) { + for (var i = 0; i < serializedList.length; i += 2) { + final key = serializedList[i] as String; + final value = serializedList[i + 1]; + switch (key) { + case r'csrf_token': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(String), + ) as String; + result.csrfToken = valueDes; + break; + case r'method': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(String), + ) as String; + result.method = valueDes; + break; + case r'passkey_remove': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(String), + ) as String; + result.passkeyRemove = valueDes; + break; + case r'passkey_settings_register': + final valueDes = serializers.deserialize( + value, + specifiedType: const FullType(String), + ) as String; + result.passkeySettingsRegister = valueDes; + break; + default: + unhandled.add(key); + unhandled.add(value); + break; + } + } + } + + @override + UpdateSettingsFlowWithPasskeyMethod deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) { + final result = UpdateSettingsFlowWithPasskeyMethodBuilder(); + final serializedList = (serialized as Iterable).toList(); + final unhandled = []; + _deserializeProperties( + serializers, + serialized, + specifiedType: specifiedType, + serializedList: serializedList, + unhandled: unhandled, + result: result, + ); + return result.build(); + } +} + diff --git a/clients/kratos/dart/lib/src/model/update_settings_flow_with_passkey_method.g.dart b/clients/kratos/dart/lib/src/model/update_settings_flow_with_passkey_method.g.dart new file mode 100644 index 00000000000..dddb022a555 --- /dev/null +++ b/clients/kratos/dart/lib/src/model/update_settings_flow_with_passkey_method.g.dart @@ -0,0 +1,145 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'update_settings_flow_with_passkey_method.dart'; + +// ************************************************************************** +// BuiltValueGenerator +// ************************************************************************** + +class _$UpdateSettingsFlowWithPasskeyMethod + extends UpdateSettingsFlowWithPasskeyMethod { + @override + final String? csrfToken; + @override + final String method; + @override + final String? passkeyRemove; + @override + final String? passkeySettingsRegister; + + factory _$UpdateSettingsFlowWithPasskeyMethod( + [void Function(UpdateSettingsFlowWithPasskeyMethodBuilder)? + updates]) => + (new UpdateSettingsFlowWithPasskeyMethodBuilder()..update(updates)) + ._build(); + + _$UpdateSettingsFlowWithPasskeyMethod._( + {this.csrfToken, + required this.method, + this.passkeyRemove, + this.passkeySettingsRegister}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + method, r'UpdateSettingsFlowWithPasskeyMethod', 'method'); + } + + @override + UpdateSettingsFlowWithPasskeyMethod rebuild( + void Function(UpdateSettingsFlowWithPasskeyMethodBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + UpdateSettingsFlowWithPasskeyMethodBuilder toBuilder() => + new UpdateSettingsFlowWithPasskeyMethodBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is UpdateSettingsFlowWithPasskeyMethod && + csrfToken == other.csrfToken && + method == other.method && + passkeyRemove == other.passkeyRemove && + passkeySettingsRegister == other.passkeySettingsRegister; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, csrfToken.hashCode); + _$hash = $jc(_$hash, method.hashCode); + _$hash = $jc(_$hash, passkeyRemove.hashCode); + _$hash = $jc(_$hash, passkeySettingsRegister.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'UpdateSettingsFlowWithPasskeyMethod') + ..add('csrfToken', csrfToken) + ..add('method', method) + ..add('passkeyRemove', passkeyRemove) + ..add('passkeySettingsRegister', passkeySettingsRegister)) + .toString(); + } +} + +class UpdateSettingsFlowWithPasskeyMethodBuilder + implements + Builder { + _$UpdateSettingsFlowWithPasskeyMethod? _$v; + + String? _csrfToken; + String? get csrfToken => _$this._csrfToken; + set csrfToken(String? csrfToken) => _$this._csrfToken = csrfToken; + + String? _method; + String? get method => _$this._method; + set method(String? method) => _$this._method = method; + + String? _passkeyRemove; + String? get passkeyRemove => _$this._passkeyRemove; + set passkeyRemove(String? passkeyRemove) => + _$this._passkeyRemove = passkeyRemove; + + String? _passkeySettingsRegister; + String? get passkeySettingsRegister => _$this._passkeySettingsRegister; + set passkeySettingsRegister(String? passkeySettingsRegister) => + _$this._passkeySettingsRegister = passkeySettingsRegister; + + UpdateSettingsFlowWithPasskeyMethodBuilder() { + UpdateSettingsFlowWithPasskeyMethod._defaults(this); + } + + UpdateSettingsFlowWithPasskeyMethodBuilder get _$this { + final $v = _$v; + if ($v != null) { + _csrfToken = $v.csrfToken; + _method = $v.method; + _passkeyRemove = $v.passkeyRemove; + _passkeySettingsRegister = $v.passkeySettingsRegister; + _$v = null; + } + return this; + } + + @override + void replace(UpdateSettingsFlowWithPasskeyMethod other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$UpdateSettingsFlowWithPasskeyMethod; + } + + @override + void update( + void Function(UpdateSettingsFlowWithPasskeyMethodBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + UpdateSettingsFlowWithPasskeyMethod build() => _build(); + + _$UpdateSettingsFlowWithPasskeyMethod _build() { + final _$result = _$v ?? + new _$UpdateSettingsFlowWithPasskeyMethod._( + csrfToken: csrfToken, + method: BuiltValueNullFieldError.checkNotNull( + method, r'UpdateSettingsFlowWithPasskeyMethod', 'method'), + passkeyRemove: passkeyRemove, + passkeySettingsRegister: passkeySettingsRegister); + replace(_$result); + return _$result; + } +} + +// ignore_for_file: deprecated_member_use_from_same_package,type=lint diff --git a/clients/kratos/dart/lib/src/model/update_settings_flow_with_password_method.dart b/clients/kratos/dart/lib/src/model/update_settings_flow_with_password_method.dart index 7ddaf16ff41..2cccd46c957 100644 --- a/clients/kratos/dart/lib/src/model/update_settings_flow_with_password_method.dart +++ b/clients/kratos/dart/lib/src/model/update_settings_flow_with_password_method.dart @@ -3,6 +3,7 @@ // // ignore_for_file: unused_element +import 'package:built_value/json_object.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -14,6 +15,7 @@ part 'update_settings_flow_with_password_method.g.dart'; /// * [csrfToken] - CSRFToken is the anti-CSRF token /// * [method] - Method Should be set to password when trying to update a password. /// * [password] - Password is the updated password +/// * [transientPayload] - Transient data to pass along to any webhooks @BuiltValue() abstract class UpdateSettingsFlowWithPasswordMethod implements Built { /// CSRFToken is the anti-CSRF token @@ -28,6 +30,10 @@ abstract class UpdateSettingsFlowWithPasswordMethod implements Built _$this._password; set password(String? password) => _$this._password = password; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + UpdateSettingsFlowWithPasswordMethodBuilder() { UpdateSettingsFlowWithPasswordMethod._defaults(this); } @@ -96,6 +109,7 @@ class UpdateSettingsFlowWithPasswordMethodBuilder _csrfToken = $v.csrfToken; _method = $v.method; _password = $v.password; + _transientPayload = $v.transientPayload; _$v = null; } return this; @@ -123,7 +137,8 @@ class UpdateSettingsFlowWithPasswordMethodBuilder method: BuiltValueNullFieldError.checkNotNull( method, r'UpdateSettingsFlowWithPasswordMethod', 'method'), password: BuiltValueNullFieldError.checkNotNull( - password, r'UpdateSettingsFlowWithPasswordMethod', 'password')); + password, r'UpdateSettingsFlowWithPasswordMethod', 'password'), + transientPayload: transientPayload); replace(_$result); return _$result; } diff --git a/clients/kratos/dart/lib/src/model/update_settings_flow_with_profile_method.dart b/clients/kratos/dart/lib/src/model/update_settings_flow_with_profile_method.dart index 987f3729fba..72afe8b608e 100644 --- a/clients/kratos/dart/lib/src/model/update_settings_flow_with_profile_method.dart +++ b/clients/kratos/dart/lib/src/model/update_settings_flow_with_profile_method.dart @@ -15,6 +15,7 @@ part 'update_settings_flow_with_profile_method.g.dart'; /// * [csrfToken] - The Anti-CSRF Token This token is only required when performing browser flows. /// * [method] - Method Should be set to profile when trying to update a profile. /// * [traits] - Traits The identity's traits. +/// * [transientPayload] - Transient data to pass along to any webhooks @BuiltValue() abstract class UpdateSettingsFlowWithProfileMethod implements Built { /// The Anti-CSRF Token This token is only required when performing browser flows. @@ -29,6 +30,10 @@ abstract class UpdateSettingsFlowWithProfileMethod implements Built _$this._traits; set traits(JsonObject? traits) => _$this._traits = traits; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + UpdateSettingsFlowWithProfileMethodBuilder() { UpdateSettingsFlowWithProfileMethod._defaults(this); } @@ -96,6 +109,7 @@ class UpdateSettingsFlowWithProfileMethodBuilder _csrfToken = $v.csrfToken; _method = $v.method; _traits = $v.traits; + _transientPayload = $v.transientPayload; _$v = null; } return this; @@ -123,7 +137,8 @@ class UpdateSettingsFlowWithProfileMethodBuilder method: BuiltValueNullFieldError.checkNotNull( method, r'UpdateSettingsFlowWithProfileMethod', 'method'), traits: BuiltValueNullFieldError.checkNotNull( - traits, r'UpdateSettingsFlowWithProfileMethod', 'traits')); + traits, r'UpdateSettingsFlowWithProfileMethod', 'traits'), + transientPayload: transientPayload); replace(_$result); return _$result; } diff --git a/clients/kratos/dart/lib/src/model/update_settings_flow_with_totp_method.dart b/clients/kratos/dart/lib/src/model/update_settings_flow_with_totp_method.dart index 12e9e9dea2c..545ecea4f7e 100644 --- a/clients/kratos/dart/lib/src/model/update_settings_flow_with_totp_method.dart +++ b/clients/kratos/dart/lib/src/model/update_settings_flow_with_totp_method.dart @@ -3,6 +3,7 @@ // // ignore_for_file: unused_element +import 'package:built_value/json_object.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -15,6 +16,7 @@ part 'update_settings_flow_with_totp_method.g.dart'; /// * [method] - Method Should be set to \"totp\" when trying to add, update, or remove a totp pairing. /// * [totpCode] - ValidationTOTP must contain a valid TOTP based on the /// * [totpUnlink] - UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device. +/// * [transientPayload] - Transient data to pass along to any webhooks @BuiltValue() abstract class UpdateSettingsFlowWithTotpMethod implements Built { /// CSRFToken is the anti-CSRF token @@ -33,6 +35,10 @@ abstract class UpdateSettingsFlowWithTotpMethod implements Built (new UpdateSettingsFlowWithTotpMethodBuilder()..update(updates))._build(); _$UpdateSettingsFlowWithTotpMethod._( - {this.csrfToken, required this.method, this.totpCode, this.totpUnlink}) + {this.csrfToken, + required this.method, + this.totpCode, + this.totpUnlink, + this.transientPayload}) : super._() { BuiltValueNullFieldError.checkNotNull( method, r'UpdateSettingsFlowWithTotpMethod', 'method'); @@ -44,7 +50,8 @@ class _$UpdateSettingsFlowWithTotpMethod csrfToken == other.csrfToken && method == other.method && totpCode == other.totpCode && - totpUnlink == other.totpUnlink; + totpUnlink == other.totpUnlink && + transientPayload == other.transientPayload; } @override @@ -54,6 +61,7 @@ class _$UpdateSettingsFlowWithTotpMethod _$hash = $jc(_$hash, method.hashCode); _$hash = $jc(_$hash, totpCode.hashCode); _$hash = $jc(_$hash, totpUnlink.hashCode); + _$hash = $jc(_$hash, transientPayload.hashCode); _$hash = $jf(_$hash); return _$hash; } @@ -64,7 +72,8 @@ class _$UpdateSettingsFlowWithTotpMethod ..add('csrfToken', csrfToken) ..add('method', method) ..add('totpCode', totpCode) - ..add('totpUnlink', totpUnlink)) + ..add('totpUnlink', totpUnlink) + ..add('transientPayload', transientPayload)) .toString(); } } @@ -91,6 +100,11 @@ class UpdateSettingsFlowWithTotpMethodBuilder bool? get totpUnlink => _$this._totpUnlink; set totpUnlink(bool? totpUnlink) => _$this._totpUnlink = totpUnlink; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + UpdateSettingsFlowWithTotpMethodBuilder() { UpdateSettingsFlowWithTotpMethod._defaults(this); } @@ -102,6 +116,7 @@ class UpdateSettingsFlowWithTotpMethodBuilder _method = $v.method; _totpCode = $v.totpCode; _totpUnlink = $v.totpUnlink; + _transientPayload = $v.transientPayload; _$v = null; } return this; @@ -128,7 +143,8 @@ class UpdateSettingsFlowWithTotpMethodBuilder method: BuiltValueNullFieldError.checkNotNull( method, r'UpdateSettingsFlowWithTotpMethod', 'method'), totpCode: totpCode, - totpUnlink: totpUnlink); + totpUnlink: totpUnlink, + transientPayload: transientPayload); replace(_$result); return _$result; } diff --git a/clients/kratos/dart/lib/src/model/update_settings_flow_with_web_authn_method.dart b/clients/kratos/dart/lib/src/model/update_settings_flow_with_web_authn_method.dart index c3f1b8b89cc..70ac2e2d81c 100644 --- a/clients/kratos/dart/lib/src/model/update_settings_flow_with_web_authn_method.dart +++ b/clients/kratos/dart/lib/src/model/update_settings_flow_with_web_authn_method.dart @@ -3,6 +3,7 @@ // // ignore_for_file: unused_element +import 'package:built_value/json_object.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -13,6 +14,7 @@ part 'update_settings_flow_with_web_authn_method.g.dart'; /// Properties: /// * [csrfToken] - CSRFToken is the anti-CSRF token /// * [method] - Method Should be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing. +/// * [transientPayload] - Transient data to pass along to any webhooks /// * [webauthnRegister] - Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. /// * [webauthnRegisterDisplayname] - Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. /// * [webauthnRemove] - Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. @@ -26,6 +28,10 @@ abstract class UpdateSettingsFlowWithWebAuthnMethod implements Built _$this._method; set method(String? method) => _$this._method = method; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + String? _webauthnRegister; String? get webauthnRegister => _$this._webauthnRegister; set webauthnRegister(String? webauthnRegister) => @@ -119,6 +130,7 @@ class UpdateSettingsFlowWithWebAuthnMethodBuilder if ($v != null) { _csrfToken = $v.csrfToken; _method = $v.method; + _transientPayload = $v.transientPayload; _webauthnRegister = $v.webauthnRegister; _webauthnRegisterDisplayname = $v.webauthnRegisterDisplayname; _webauthnRemove = $v.webauthnRemove; @@ -148,6 +160,7 @@ class UpdateSettingsFlowWithWebAuthnMethodBuilder csrfToken: csrfToken, method: BuiltValueNullFieldError.checkNotNull( method, r'UpdateSettingsFlowWithWebAuthnMethod', 'method'), + transientPayload: transientPayload, webauthnRegister: webauthnRegister, webauthnRegisterDisplayname: webauthnRegisterDisplayname, webauthnRemove: webauthnRemove); diff --git a/clients/kratos/dart/lib/src/model/update_verification_flow_body.dart b/clients/kratos/dart/lib/src/model/update_verification_flow_body.dart index 872cfe8c088..1faa05c4a99 100644 --- a/clients/kratos/dart/lib/src/model/update_verification_flow_body.dart +++ b/clients/kratos/dart/lib/src/model/update_verification_flow_body.dart @@ -6,6 +6,7 @@ import 'package:built_collection/built_collection.dart'; import 'package:ory_kratos_client/src/model/update_verification_flow_with_link_method.dart'; import 'package:ory_kratos_client/src/model/update_verification_flow_with_code_method.dart'; +import 'package:built_value/json_object.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; import 'package:one_of/one_of.dart'; @@ -18,6 +19,7 @@ part 'update_verification_flow_body.g.dart'; /// * [csrfToken] - Sending the anti-csrf token is only required for browser login flows. /// * [email] - The email address to verify If the email belongs to a valid account, a verifiation email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email /// * [method] - Method is the method that should be used for this verification flow Allowed values are `link` and `code`. link VerificationStrategyLink code VerificationStrategyCode +/// * [transientPayload] - Transient data to pass along to any webhooks /// * [code] - Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. @BuiltValue() abstract class UpdateVerificationFlowBody implements Built { diff --git a/clients/kratos/dart/lib/src/model/update_verification_flow_with_code_method.dart b/clients/kratos/dart/lib/src/model/update_verification_flow_with_code_method.dart index 72e778de41d..5e603eea004 100644 --- a/clients/kratos/dart/lib/src/model/update_verification_flow_with_code_method.dart +++ b/clients/kratos/dart/lib/src/model/update_verification_flow_with_code_method.dart @@ -4,6 +4,7 @@ // ignore_for_file: unused_element import 'package:built_collection/built_collection.dart'; +import 'package:built_value/json_object.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -16,6 +17,7 @@ part 'update_verification_flow_with_code_method.g.dart'; /// * [csrfToken] - Sending the anti-csrf token is only required for browser login flows. /// * [email] - The email address to verify If the email belongs to a valid account, a verifiation email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email /// * [method] - Method is the method that should be used for this verification flow Allowed values are `link` and `code`. link VerificationStrategyLink code VerificationStrategyCode +/// * [transientPayload] - Transient data to pass along to any webhooks @BuiltValue() abstract class UpdateVerificationFlowWithCodeMethod implements Built { /// Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. @@ -35,6 +37,10 @@ abstract class UpdateVerificationFlowWithCodeMethod implements Built _$this._method = method; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + UpdateVerificationFlowWithCodeMethodBuilder() { UpdateVerificationFlowWithCodeMethod._defaults(this); } @@ -168,6 +182,7 @@ class UpdateVerificationFlowWithCodeMethodBuilder _csrfToken = $v.csrfToken; _email = $v.email; _method = $v.method; + _transientPayload = $v.transientPayload; _$v = null; } return this; @@ -195,7 +210,8 @@ class UpdateVerificationFlowWithCodeMethodBuilder csrfToken: csrfToken, email: email, method: BuiltValueNullFieldError.checkNotNull( - method, r'UpdateVerificationFlowWithCodeMethod', 'method')); + method, r'UpdateVerificationFlowWithCodeMethod', 'method'), + transientPayload: transientPayload); replace(_$result); return _$result; } diff --git a/clients/kratos/dart/lib/src/model/update_verification_flow_with_link_method.dart b/clients/kratos/dart/lib/src/model/update_verification_flow_with_link_method.dart index a97bb60d73a..18be177e45f 100644 --- a/clients/kratos/dart/lib/src/model/update_verification_flow_with_link_method.dart +++ b/clients/kratos/dart/lib/src/model/update_verification_flow_with_link_method.dart @@ -4,6 +4,7 @@ // ignore_for_file: unused_element import 'package:built_collection/built_collection.dart'; +import 'package:built_value/json_object.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -15,6 +16,7 @@ part 'update_verification_flow_with_link_method.g.dart'; /// * [csrfToken] - Sending the anti-csrf token is only required for browser login flows. /// * [email] - Email to Verify Needs to be set when initiating the flow. If the email is a registered verification email, a verification link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email /// * [method] - Method is the method that should be used for this verification flow Allowed values are `link` and `code` link VerificationStrategyLink code VerificationStrategyCode +/// * [transientPayload] - Transient data to pass along to any webhooks @BuiltValue() abstract class UpdateVerificationFlowWithLinkMethod implements Built { /// Sending the anti-csrf token is only required for browser login flows. @@ -30,6 +32,10 @@ abstract class UpdateVerificationFlowWithLinkMethod implements Built _$this._method = method; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + UpdateVerificationFlowWithLinkMethodBuilder() { UpdateVerificationFlowWithLinkMethod._defaults(this); } @@ -160,6 +173,7 @@ class UpdateVerificationFlowWithLinkMethodBuilder _csrfToken = $v.csrfToken; _email = $v.email; _method = $v.method; + _transientPayload = $v.transientPayload; _$v = null; } return this; @@ -187,7 +201,8 @@ class UpdateVerificationFlowWithLinkMethodBuilder email: BuiltValueNullFieldError.checkNotNull( email, r'UpdateVerificationFlowWithLinkMethod', 'email'), method: BuiltValueNullFieldError.checkNotNull( - method, r'UpdateVerificationFlowWithLinkMethod', 'method')); + method, r'UpdateVerificationFlowWithLinkMethod', 'method'), + transientPayload: transientPayload); replace(_$result); return _$result; } diff --git a/clients/kratos/dart/lib/src/model/verification_flow.dart b/clients/kratos/dart/lib/src/model/verification_flow.dart index b9fcc264776..f19ca9ab9d9 100644 --- a/clients/kratos/dart/lib/src/model/verification_flow.dart +++ b/clients/kratos/dart/lib/src/model/verification_flow.dart @@ -20,6 +20,7 @@ part 'verification_flow.g.dart'; /// * [requestUrl] - 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. /// * [returnTo] - ReturnTo contains the requested return_to URL. /// * [state] - 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. +/// * [transientPayload] - TransientPayload is used to pass data from the verification flow to hooks and email templates /// * [type] - The flow type can either be `api` or `browser`. /// * [ui] @BuiltValue() @@ -52,6 +53,10 @@ abstract class VerificationFlow implements Built _$this._state; set state(JsonObject? state) => _$this._state = state; + JsonObject? _transientPayload; + JsonObject? get transientPayload => _$this._transientPayload; + set transientPayload(JsonObject? transientPayload) => + _$this._transientPayload = transientPayload; + String? _type; String? get type => _$this._type; set type(String? type) => _$this._type = type; @@ -155,6 +166,7 @@ class VerificationFlowBuilder _requestUrl = $v.requestUrl; _returnTo = $v.returnTo; _state = $v.state; + _transientPayload = $v.transientPayload; _type = $v.type; _ui = $v.ui.toBuilder(); _$v = null; @@ -189,6 +201,7 @@ class VerificationFlowBuilder requestUrl: requestUrl, returnTo: returnTo, state: state, + transientPayload: transientPayload, type: BuiltValueNullFieldError.checkNotNull( type, r'VerificationFlow', 'type'), ui: ui.build()); diff --git a/clients/kratos/dart/lib/src/serializers.dart b/clients/kratos/dart/lib/src/serializers.dart index 5597192a0d0..7932d27dcef 100644 --- a/clients/kratos/dart/lib/src/serializers.dart +++ b/clients/kratos/dart/lib/src/serializers.dart @@ -102,6 +102,7 @@ import 'package:ory_kratos_client/src/model/update_login_flow_body.dart'; import 'package:ory_kratos_client/src/model/update_login_flow_with_code_method.dart'; import 'package:ory_kratos_client/src/model/update_login_flow_with_lookup_secret_method.dart'; import 'package:ory_kratos_client/src/model/update_login_flow_with_oidc_method.dart'; +import 'package:ory_kratos_client/src/model/update_login_flow_with_passkey_method.dart'; import 'package:ory_kratos_client/src/model/update_login_flow_with_password_method.dart'; import 'package:ory_kratos_client/src/model/update_login_flow_with_totp_method.dart'; import 'package:ory_kratos_client/src/model/update_login_flow_with_web_authn_method.dart'; @@ -111,11 +112,14 @@ import 'package:ory_kratos_client/src/model/update_recovery_flow_with_link_metho import 'package:ory_kratos_client/src/model/update_registration_flow_body.dart'; import 'package:ory_kratos_client/src/model/update_registration_flow_with_code_method.dart'; import 'package:ory_kratos_client/src/model/update_registration_flow_with_oidc_method.dart'; +import 'package:ory_kratos_client/src/model/update_registration_flow_with_passkey_method.dart'; import 'package:ory_kratos_client/src/model/update_registration_flow_with_password_method.dart'; +import 'package:ory_kratos_client/src/model/update_registration_flow_with_profile_method.dart'; import 'package:ory_kratos_client/src/model/update_registration_flow_with_web_authn_method.dart'; import 'package:ory_kratos_client/src/model/update_settings_flow_body.dart'; import 'package:ory_kratos_client/src/model/update_settings_flow_with_lookup_method.dart'; import 'package:ory_kratos_client/src/model/update_settings_flow_with_oidc_method.dart'; +import 'package:ory_kratos_client/src/model/update_settings_flow_with_passkey_method.dart'; import 'package:ory_kratos_client/src/model/update_settings_flow_with_password_method.dart'; import 'package:ory_kratos_client/src/model/update_settings_flow_with_profile_method.dart'; import 'package:ory_kratos_client/src/model/update_settings_flow_with_totp_method.dart'; @@ -219,6 +223,7 @@ part 'serializers.g.dart'; UpdateLoginFlowWithCodeMethod, UpdateLoginFlowWithLookupSecretMethod, UpdateLoginFlowWithOidcMethod, + UpdateLoginFlowWithPasskeyMethod, UpdateLoginFlowWithPasswordMethod, UpdateLoginFlowWithTotpMethod, UpdateLoginFlowWithWebAuthnMethod, @@ -228,11 +233,14 @@ part 'serializers.g.dart'; UpdateRegistrationFlowBody, UpdateRegistrationFlowWithCodeMethod, UpdateRegistrationFlowWithOidcMethod, + UpdateRegistrationFlowWithPasskeyMethod, UpdateRegistrationFlowWithPasswordMethod, + UpdateRegistrationFlowWithProfileMethod, UpdateRegistrationFlowWithWebAuthnMethod, UpdateSettingsFlowBody, UpdateSettingsFlowWithLookupMethod, UpdateSettingsFlowWithOidcMethod, + UpdateSettingsFlowWithPasskeyMethod, UpdateSettingsFlowWithPasswordMethod, UpdateSettingsFlowWithProfileMethod, UpdateSettingsFlowWithTotpMethod, diff --git a/clients/kratos/dart/lib/src/serializers.g.dart b/clients/kratos/dart/lib/src/serializers.g.dart index 8cc1d694f60..e7797925c82 100644 --- a/clients/kratos/dart/lib/src/serializers.g.dart +++ b/clients/kratos/dart/lib/src/serializers.g.dart @@ -97,15 +97,20 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(UiContainer.serializer) ..add(UiNode.serializer) ..add(UiNodeAnchorAttributes.serializer) + ..add(UiNodeAnchorAttributesNodeTypeEnum.serializer) ..add(UiNodeAttributes.serializer) ..add(UiNodeGroupEnum.serializer) ..add(UiNodeImageAttributes.serializer) + ..add(UiNodeImageAttributesNodeTypeEnum.serializer) ..add(UiNodeInputAttributes.serializer) ..add(UiNodeInputAttributesAutocompleteEnum.serializer) + ..add(UiNodeInputAttributesNodeTypeEnum.serializer) ..add(UiNodeInputAttributesTypeEnum.serializer) ..add(UiNodeMeta.serializer) ..add(UiNodeScriptAttributes.serializer) + ..add(UiNodeScriptAttributesNodeTypeEnum.serializer) ..add(UiNodeTextAttributes.serializer) + ..add(UiNodeTextAttributesNodeTypeEnum.serializer) ..add(UiNodeTypeEnum.serializer) ..add(UiText.serializer) ..add(UiTextTypeEnum.serializer) @@ -115,6 +120,7 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(UpdateLoginFlowWithCodeMethod.serializer) ..add(UpdateLoginFlowWithLookupSecretMethod.serializer) ..add(UpdateLoginFlowWithOidcMethod.serializer) + ..add(UpdateLoginFlowWithPasskeyMethod.serializer) ..add(UpdateLoginFlowWithPasswordMethod.serializer) ..add(UpdateLoginFlowWithTotpMethod.serializer) ..add(UpdateLoginFlowWithWebAuthnMethod.serializer) @@ -126,11 +132,14 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(UpdateRegistrationFlowBody.serializer) ..add(UpdateRegistrationFlowWithCodeMethod.serializer) ..add(UpdateRegistrationFlowWithOidcMethod.serializer) + ..add(UpdateRegistrationFlowWithPasskeyMethod.serializer) ..add(UpdateRegistrationFlowWithPasswordMethod.serializer) + ..add(UpdateRegistrationFlowWithProfileMethod.serializer) ..add(UpdateRegistrationFlowWithWebAuthnMethod.serializer) ..add(UpdateSettingsFlowBody.serializer) ..add(UpdateSettingsFlowWithLookupMethod.serializer) ..add(UpdateSettingsFlowWithOidcMethod.serializer) + ..add(UpdateSettingsFlowWithPasskeyMethod.serializer) ..add(UpdateSettingsFlowWithPasswordMethod.serializer) ..add(UpdateSettingsFlowWithProfileMethod.serializer) ..add(UpdateSettingsFlowWithTotpMethod.serializer) @@ -154,6 +163,9 @@ Serializers _$serializers = (new Serializers().toBuilder() ..addBuilderFactory( const FullType(BuiltList, const [const FullType(ContinueWith)]), () => new ListBuilder()) + ..addBuilderFactory( + const FullType(BuiltList, const [const FullType(ContinueWith)]), + () => new ListBuilder()) ..addBuilderFactory( const FullType(BuiltList, const [const FullType(IdentityCredentialsOidcProvider)]), diff --git a/clients/kratos/dart/pubspec.yaml b/clients/kratos/dart/pubspec.yaml index 571c1e76140..37a04944bce 100644 --- a/clients/kratos/dart/pubspec.yaml +++ b/clients/kratos/dart/pubspec.yaml @@ -1,14 +1,14 @@ name: ory_kratos_client -version: 1.1.0 +version: 1.2.1 description: OpenAPI API client for Ory Kratos, Ory's central identity management solution with hardened authentication, MFA, FIDO2, TOTP, WebAuthn, SSO, profile management, and more. homepage: https://www.ory.sh repository: https://github.com/ory/sdk/tree/master/clients/kratos/dart environment: - sdk: '>=2.15.0 <3.0.0' + sdk: '>=2.15.0 <4.0.0' dependencies: - dio: '^5.0.0' + dio: '^5.2.0' one_of: '>=1.5.0 <2.0.0' one_of_serializer: '>=1.5.0 <2.0.0' built_value: '>=8.4.0 <9.0.0' diff --git a/clients/kratos/dart/test/create_recovery_code_for_identity_body_test.dart b/clients/kratos/dart/test/create_recovery_code_for_identity_body_test.dart index 0cb6535a6cc..f92ec68d640 100644 --- a/clients/kratos/dart/test/create_recovery_code_for_identity_body_test.dart +++ b/clients/kratos/dart/test/create_recovery_code_for_identity_body_test.dart @@ -13,6 +13,12 @@ void main() { // TODO }); + // The flow type can either be `api` or `browser`. + // String flowType + test('to test the property `flowType`', () async { + // TODO + }); + // Identity to Recover The identity's ID you wish to recover. // String identityId test('to test the property `identityId`', () async { diff --git a/clients/kratos/dart/test/frontend_api_test.dart b/clients/kratos/dart/test/frontend_api_test.dart index b07f4c1cb04..5a91b2ec359 100644 --- a/clients/kratos/dart/test/frontend_api_test.dart +++ b/clients/kratos/dart/test/frontend_api_test.dart @@ -11,7 +11,7 @@ void main() { // // This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! The optional query parameter login_challenge is set when using Kratos with Hydra in an OAuth2 flow. See the oauth2_provider.url configuration option. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). // - //Future createBrowserLoginFlow({ bool refresh, String aal, String returnTo, String cookie, String loginChallenge, String organization }) async + //Future createBrowserLoginFlow({ bool refresh, String aal, String returnTo, String cookie, String loginChallenge, String organization, String via }) async test('test createBrowserLoginFlow', () async { // TODO }); diff --git a/clients/kratos/dart/test/identity_api_test.dart b/clients/kratos/dart/test/identity_api_test.dart index 8a6e040edcc..61d0759dff9 100644 --- a/clients/kratos/dart/test/identity_api_test.dart +++ b/clients/kratos/dart/test/identity_api_test.dart @@ -7,9 +7,9 @@ void main() { final instance = OryKratosClient().getIdentityApi(); group(IdentityApi, () { - // Create and deletes multiple identities + // Create multiple identities // - // Creates or delete multiple [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model). This endpoint can also be used to [import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities) for instance passwords, social sign in configurations or multifactor methods. + // Creates multiple [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model). This endpoint can also be used to [import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities) for instance passwords, social sign in configurations or multifactor methods. // //Future batchPatchIdentities({ PatchIdentitiesBody patchIdentitiesBody }) async test('test batchPatchIdentities', () async { @@ -119,7 +119,7 @@ void main() { // // Lists all [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model) in the system. // - //Future> listIdentities({ int perPage, int page, int pageSize, String pageToken, String consistency, BuiltList ids, String credentialsIdentifier, String previewCredentialsIdentifierSimilar }) async + //Future> listIdentities({ int perPage, int page, int pageSize, String pageToken, String consistency, BuiltList ids, String credentialsIdentifier, String previewCredentialsIdentifierSimilar, BuiltList includeCredential }) async test('test listIdentities', () async { // TODO }); diff --git a/clients/kratos/dart/test/identity_credentials_test.dart b/clients/kratos/dart/test/identity_credentials_test.dart index 504ffe4747d..616fb78402a 100644 --- a/clients/kratos/dart/test/identity_credentials_test.dart +++ b/clients/kratos/dart/test/identity_credentials_test.dart @@ -24,7 +24,7 @@ void main() { // TODO }); - // Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + // Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode // String type test('to test the property `type`', () async { // TODO diff --git a/clients/kratos/dart/test/login_flow_test.dart b/clients/kratos/dart/test/login_flow_test.dart index 481840edfd4..f59442ab670 100644 --- a/clients/kratos/dart/test/login_flow_test.dart +++ b/clients/kratos/dart/test/login_flow_test.dart @@ -7,7 +7,7 @@ void main() { // TODO add properties to the builder and call build() group(LoginFlow, () { - // The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + // The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode // String active test('to test the property `active`', () async { // TODO @@ -88,6 +88,12 @@ void main() { // TODO }); + // TransientPayload is used to pass data from the login to hooks and email templates + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + // The flow type can either be `api` or `browser`. // String type test('to test the property `type`', () async { diff --git a/clients/kratos/dart/test/recovery_flow_test.dart b/clients/kratos/dart/test/recovery_flow_test.dart index 8d65a3f9293..e8cb7a2edfb 100644 --- a/clients/kratos/dart/test/recovery_flow_test.dart +++ b/clients/kratos/dart/test/recovery_flow_test.dart @@ -55,6 +55,12 @@ void main() { // TODO }); + // TransientPayload is used to pass data from the recovery flow to hooks and email templates + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + // The flow type can either be `api` or `browser`. // String type test('to test the property `type`', () async { diff --git a/clients/kratos/dart/test/registration_flow_test.dart b/clients/kratos/dart/test/registration_flow_test.dart index 1a07a605be9..c78e6428535 100644 --- a/clients/kratos/dart/test/registration_flow_test.dart +++ b/clients/kratos/dart/test/registration_flow_test.dart @@ -7,7 +7,7 @@ void main() { // TODO add properties to the builder and call build() group(RegistrationFlow, () { - // Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + // Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode // String active test('to test the property `active`', () async { // TODO diff --git a/clients/kratos/dart/test/settings_flow_test.dart b/clients/kratos/dart/test/settings_flow_test.dart index 46ec6de32ec..f1b9cb61dfa 100644 --- a/clients/kratos/dart/test/settings_flow_test.dart +++ b/clients/kratos/dart/test/settings_flow_test.dart @@ -60,6 +60,12 @@ void main() { // TODO }); + // TransientPayload is used to pass data from the settings flow to hooks and email templates + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + // The flow type can either be `api` or `browser`. // String type test('to test the property `type`', () async { diff --git a/clients/kratos/dart/test/successful_native_login_test.dart b/clients/kratos/dart/test/successful_native_login_test.dart index eabca2afefc..51f35899c79 100644 --- a/clients/kratos/dart/test/successful_native_login_test.dart +++ b/clients/kratos/dart/test/successful_native_login_test.dart @@ -7,6 +7,12 @@ void main() { // TODO add properties to the builder and call build() group(SuccessfulNativeLogin, () { + // Contains a list of actions, that could follow this flow It can, for example, this will contain a reference to the verification flow, created as part of the user's registration or the token of the session. + // BuiltList continueWith + test('to test the property `continueWith`', () async { + // TODO + }); + // Session session test('to test the property `session`', () async { // TODO diff --git a/clients/kratos/dart/test/ui_node_anchor_attributes_test.dart b/clients/kratos/dart/test/ui_node_anchor_attributes_test.dart index 33f77908264..ecb207bef13 100644 --- a/clients/kratos/dart/test/ui_node_anchor_attributes_test.dart +++ b/clients/kratos/dart/test/ui_node_anchor_attributes_test.dart @@ -19,7 +19,7 @@ void main() { // TODO }); - // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"a\". + // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"a\". text Text input Input img Image a Anchor script Script // String nodeType test('to test the property `nodeType`', () async { // TODO diff --git a/clients/kratos/dart/test/ui_node_attributes_test.dart b/clients/kratos/dart/test/ui_node_attributes_test.dart index b84eefe1ec6..484daa43566 100644 --- a/clients/kratos/dart/test/ui_node_attributes_test.dart +++ b/clients/kratos/dart/test/ui_node_attributes_test.dart @@ -30,7 +30,7 @@ void main() { // TODO }); - // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". + // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script // String nodeType test('to test the property `nodeType`', () async { // TODO @@ -42,6 +42,12 @@ void main() { // TODO }); + // OnLoad may contain javascript which should be executed on load. This is primarily used for WebAuthn. + // String onload + test('to test the property `onload`', () async { + // TODO + }); + // The input's pattern. // String pattern test('to test the property `pattern`', () async { diff --git a/clients/kratos/dart/test/ui_node_image_attributes_test.dart b/clients/kratos/dart/test/ui_node_image_attributes_test.dart index bba69e03567..c563a8e8798 100644 --- a/clients/kratos/dart/test/ui_node_image_attributes_test.dart +++ b/clients/kratos/dart/test/ui_node_image_attributes_test.dart @@ -19,7 +19,7 @@ void main() { // TODO }); - // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\". + // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\". text Text input Input img Image a Anchor script Script // String nodeType test('to test the property `nodeType`', () async { // TODO diff --git a/clients/kratos/dart/test/ui_node_input_attributes_test.dart b/clients/kratos/dart/test/ui_node_input_attributes_test.dart index 3924143f116..140aa016556 100644 --- a/clients/kratos/dart/test/ui_node_input_attributes_test.dart +++ b/clients/kratos/dart/test/ui_node_input_attributes_test.dart @@ -30,7 +30,7 @@ void main() { // TODO }); - // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". + // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script // String nodeType test('to test the property `nodeType`', () async { // TODO @@ -42,6 +42,12 @@ void main() { // TODO }); + // OnLoad may contain javascript which should be executed on load. This is primarily used for WebAuthn. + // String onload + test('to test the property `onload`', () async { + // TODO + }); + // The input's pattern. // String pattern test('to test the property `pattern`', () async { diff --git a/clients/kratos/dart/test/ui_node_script_attributes_test.dart b/clients/kratos/dart/test/ui_node_script_attributes_test.dart index e62c0def4a9..a29d0bb6db4 100644 --- a/clients/kratos/dart/test/ui_node_script_attributes_test.dart +++ b/clients/kratos/dart/test/ui_node_script_attributes_test.dart @@ -31,7 +31,7 @@ void main() { // TODO }); - // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". + // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script // String nodeType test('to test the property `nodeType`', () async { // TODO diff --git a/clients/kratos/dart/test/ui_node_test.dart b/clients/kratos/dart/test/ui_node_test.dart index 62abda89a25..1c2dd5d6905 100644 --- a/clients/kratos/dart/test/ui_node_test.dart +++ b/clients/kratos/dart/test/ui_node_test.dart @@ -12,7 +12,7 @@ void main() { // TODO }); - // Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup + // Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup // String group test('to test the property `group`', () async { // TODO diff --git a/clients/kratos/dart/test/ui_node_text_attributes_test.dart b/clients/kratos/dart/test/ui_node_text_attributes_test.dart index c30b369dcc2..cd77cf10c79 100644 --- a/clients/kratos/dart/test/ui_node_text_attributes_test.dart +++ b/clients/kratos/dart/test/ui_node_text_attributes_test.dart @@ -13,7 +13,7 @@ void main() { // TODO }); - // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"text\". + // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"text\". text Text input Input img Image a Anchor script Script // String nodeType test('to test the property `nodeType`', () async { // TODO diff --git a/clients/kratos/dart/test/update_login_flow_body_test.dart b/clients/kratos/dart/test/update_login_flow_body_test.dart index 40eb17d64f8..58084daeffa 100644 --- a/clients/kratos/dart/test/update_login_flow_body_test.dart +++ b/clients/kratos/dart/test/update_login_flow_body_test.dart @@ -7,7 +7,7 @@ void main() { // TODO add properties to the builder and call build() group(UpdateLoginFlowBody, () { - // CSRFToken is the anti-CSRF token + // Sending the anti-csrf token is only required for browser login flows. // String csrfToken test('to test the property `csrfToken`', () async { // TODO @@ -19,7 +19,7 @@ void main() { // TODO }); - // Method should be set to \"code\" when logging in using the code strategy. + // Method should be set to \"passkey\" when logging in using the Passkey strategy. // String method test('to test the property `method`', () async { // TODO @@ -37,6 +37,12 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + // IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple // String idToken test('to test the property `idToken`', () async { @@ -97,5 +103,11 @@ void main() { // TODO }); + // Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + // String passkeyLogin + test('to test the property `passkeyLogin`', () async { + // TODO + }); + }); } diff --git a/clients/kratos/dart/test/update_login_flow_with_code_method_test.dart b/clients/kratos/dart/test/update_login_flow_with_code_method_test.dart index 7737c397e8d..c26ca45ff80 100644 --- a/clients/kratos/dart/test/update_login_flow_with_code_method_test.dart +++ b/clients/kratos/dart/test/update_login_flow_with_code_method_test.dart @@ -37,5 +37,11 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + }); } diff --git a/clients/kratos/dart/test/update_login_flow_with_oidc_method_test.dart b/clients/kratos/dart/test/update_login_flow_with_oidc_method_test.dart index 19c4f79a928..53c22f03bce 100644 --- a/clients/kratos/dart/test/update_login_flow_with_oidc_method_test.dart +++ b/clients/kratos/dart/test/update_login_flow_with_oidc_method_test.dart @@ -43,6 +43,12 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + // UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. // JsonObject upstreamParameters test('to test the property `upstreamParameters`', () async { diff --git a/clients/kratos/dart/test/update_login_flow_with_passkey_method_test.dart b/clients/kratos/dart/test/update_login_flow_with_passkey_method_test.dart new file mode 100644 index 00000000000..c629d28869f --- /dev/null +++ b/clients/kratos/dart/test/update_login_flow_with_passkey_method_test.dart @@ -0,0 +1,29 @@ +import 'package:test/test.dart'; +import 'package:ory_kratos_client/ory_kratos_client.dart'; + +// tests for UpdateLoginFlowWithPasskeyMethod +void main() { + final instance = UpdateLoginFlowWithPasskeyMethodBuilder(); + // TODO add properties to the builder and call build() + + group(UpdateLoginFlowWithPasskeyMethod, () { + // Sending the anti-csrf token is only required for browser login flows. + // String csrfToken + test('to test the property `csrfToken`', () async { + // TODO + }); + + // Method should be set to \"passkey\" when logging in using the Passkey strategy. + // String method + test('to test the property `method`', () async { + // TODO + }); + + // Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + // String passkeyLogin + test('to test the property `passkeyLogin`', () async { + // TODO + }); + + }); +} diff --git a/clients/kratos/dart/test/update_login_flow_with_password_method_test.dart b/clients/kratos/dart/test/update_login_flow_with_password_method_test.dart index c67bf4c9538..8fdf1e9977b 100644 --- a/clients/kratos/dart/test/update_login_flow_with_password_method_test.dart +++ b/clients/kratos/dart/test/update_login_flow_with_password_method_test.dart @@ -37,5 +37,11 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + }); } diff --git a/clients/kratos/dart/test/update_login_flow_with_totp_method_test.dart b/clients/kratos/dart/test/update_login_flow_with_totp_method_test.dart index ec72f318b61..95ebc073914 100644 --- a/clients/kratos/dart/test/update_login_flow_with_totp_method_test.dart +++ b/clients/kratos/dart/test/update_login_flow_with_totp_method_test.dart @@ -25,5 +25,11 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + }); } diff --git a/clients/kratos/dart/test/update_login_flow_with_web_authn_method_test.dart b/clients/kratos/dart/test/update_login_flow_with_web_authn_method_test.dart index 3ae56da4659..42a88fe2d7d 100644 --- a/clients/kratos/dart/test/update_login_flow_with_web_authn_method_test.dart +++ b/clients/kratos/dart/test/update_login_flow_with_web_authn_method_test.dart @@ -25,6 +25,12 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + // Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. // String webauthnLogin test('to test the property `webauthnLogin`', () async { diff --git a/clients/kratos/dart/test/update_recovery_flow_body_test.dart b/clients/kratos/dart/test/update_recovery_flow_body_test.dart index 42609889eaa..a966cb8c1bc 100644 --- a/clients/kratos/dart/test/update_recovery_flow_body_test.dart +++ b/clients/kratos/dart/test/update_recovery_flow_body_test.dart @@ -25,6 +25,12 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + // Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. // String code test('to test the property `code`', () async { diff --git a/clients/kratos/dart/test/update_recovery_flow_with_code_method_test.dart b/clients/kratos/dart/test/update_recovery_flow_with_code_method_test.dart index db38cdff63d..57eae7d5852 100644 --- a/clients/kratos/dart/test/update_recovery_flow_with_code_method_test.dart +++ b/clients/kratos/dart/test/update_recovery_flow_with_code_method_test.dart @@ -31,5 +31,11 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + }); } diff --git a/clients/kratos/dart/test/update_recovery_flow_with_link_method_test.dart b/clients/kratos/dart/test/update_recovery_flow_with_link_method_test.dart index f50d5dd1dbe..5de835e3d01 100644 --- a/clients/kratos/dart/test/update_recovery_flow_with_link_method_test.dart +++ b/clients/kratos/dart/test/update_recovery_flow_with_link_method_test.dart @@ -25,5 +25,11 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + }); } diff --git a/clients/kratos/dart/test/update_registration_flow_body_test.dart b/clients/kratos/dart/test/update_registration_flow_body_test.dart index d34e0c291fb..ec27a0da311 100644 --- a/clients/kratos/dart/test/update_registration_flow_body_test.dart +++ b/clients/kratos/dart/test/update_registration_flow_body_test.dart @@ -7,13 +7,13 @@ void main() { // TODO add properties to the builder and call build() group(UpdateRegistrationFlowBody, () { - // The CSRF Token + // CSRFToken is the anti-CSRF token // String csrfToken test('to test the property `csrfToken`', () async { // TODO }); - // Method to use This field must be set to `code` when using the code method. + // Method Should be set to \"passkey\" when trying to add, update, or remove a Passkey. // String method test('to test the property `method`', () async { // TODO @@ -85,5 +85,11 @@ void main() { // TODO }); + // Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + // String passkeyRegister + test('to test the property `passkeyRegister`', () async { + // TODO + }); + }); } diff --git a/clients/kratos/dart/test/update_registration_flow_with_passkey_method_test.dart b/clients/kratos/dart/test/update_registration_flow_with_passkey_method_test.dart new file mode 100644 index 00000000000..2595c8da470 --- /dev/null +++ b/clients/kratos/dart/test/update_registration_flow_with_passkey_method_test.dart @@ -0,0 +1,41 @@ +import 'package:test/test.dart'; +import 'package:ory_kratos_client/ory_kratos_client.dart'; + +// tests for UpdateRegistrationFlowWithPasskeyMethod +void main() { + final instance = UpdateRegistrationFlowWithPasskeyMethodBuilder(); + // TODO add properties to the builder and call build() + + group(UpdateRegistrationFlowWithPasskeyMethod, () { + // CSRFToken is the anti-CSRF token + // String csrfToken + test('to test the property `csrfToken`', () async { + // TODO + }); + + // Method Should be set to \"passkey\" when trying to add, update, or remove a Passkey. + // String method + test('to test the property `method`', () async { + // TODO + }); + + // Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + // String passkeyRegister + test('to test the property `passkeyRegister`', () async { + // TODO + }); + + // The identity's traits + // JsonObject traits + test('to test the property `traits`', () async { + // TODO + }); + + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + + }); +} diff --git a/clients/kratos/dart/test/update_registration_flow_with_profile_method_test.dart b/clients/kratos/dart/test/update_registration_flow_with_profile_method_test.dart new file mode 100644 index 00000000000..546b98e566d --- /dev/null +++ b/clients/kratos/dart/test/update_registration_flow_with_profile_method_test.dart @@ -0,0 +1,41 @@ +import 'package:test/test.dart'; +import 'package:ory_kratos_client/ory_kratos_client.dart'; + +// tests for UpdateRegistrationFlowWithProfileMethod +void main() { + final instance = UpdateRegistrationFlowWithProfileMethodBuilder(); + // TODO add properties to the builder and call build() + + group(UpdateRegistrationFlowWithProfileMethod, () { + // The Anti-CSRF Token This token is only required when performing browser flows. + // String csrfToken + test('to test the property `csrfToken`', () async { + // TODO + }); + + // Method Should be set to profile when trying to update a profile. + // String method + test('to test the property `method`', () async { + // TODO + }); + + // Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. + // String screen + test('to test the property `screen`', () async { + // TODO + }); + + // Traits The identity's traits. + // JsonObject traits + test('to test the property `traits`', () async { + // TODO + }); + + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + + }); +} diff --git a/clients/kratos/dart/test/update_settings_flow_body_test.dart b/clients/kratos/dart/test/update_settings_flow_body_test.dart index adab88fd5b0..8575796e152 100644 --- a/clients/kratos/dart/test/update_settings_flow_body_test.dart +++ b/clients/kratos/dart/test/update_settings_flow_body_test.dart @@ -13,7 +13,7 @@ void main() { // TODO }); - // Method Should be set to \"lookup\" when trying to add, update, or remove a lookup pairing. + // Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. // String method test('to test the property `method`', () async { // TODO @@ -25,6 +25,12 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + // The identity's traits in: body // JsonObject traits test('to test the property `traits`', () async { @@ -109,5 +115,17 @@ void main() { // TODO }); + // Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + // String passkeyRemove + test('to test the property `passkeyRemove`', () async { + // TODO + }); + + // Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + // String passkeySettingsRegister + test('to test the property `passkeySettingsRegister`', () async { + // TODO + }); + }); } diff --git a/clients/kratos/dart/test/update_settings_flow_with_lookup_method_test.dart b/clients/kratos/dart/test/update_settings_flow_with_lookup_method_test.dart index a35a78d9b7d..90f1431b002 100644 --- a/clients/kratos/dart/test/update_settings_flow_with_lookup_method_test.dart +++ b/clients/kratos/dart/test/update_settings_flow_with_lookup_method_test.dart @@ -43,5 +43,11 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + }); } diff --git a/clients/kratos/dart/test/update_settings_flow_with_oidc_method_test.dart b/clients/kratos/dart/test/update_settings_flow_with_oidc_method_test.dart index 0b6a0d426ad..1284061e27c 100644 --- a/clients/kratos/dart/test/update_settings_flow_with_oidc_method_test.dart +++ b/clients/kratos/dart/test/update_settings_flow_with_oidc_method_test.dart @@ -31,6 +31,12 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + // Unlink this provider Either this or `link` must be set. type: string in: body // String unlink test('to test the property `unlink`', () async { diff --git a/clients/kratos/dart/test/update_settings_flow_with_passkey_method_test.dart b/clients/kratos/dart/test/update_settings_flow_with_passkey_method_test.dart new file mode 100644 index 00000000000..51bf357876e --- /dev/null +++ b/clients/kratos/dart/test/update_settings_flow_with_passkey_method_test.dart @@ -0,0 +1,35 @@ +import 'package:test/test.dart'; +import 'package:ory_kratos_client/ory_kratos_client.dart'; + +// tests for UpdateSettingsFlowWithPasskeyMethod +void main() { + final instance = UpdateSettingsFlowWithPasskeyMethodBuilder(); + // TODO add properties to the builder and call build() + + group(UpdateSettingsFlowWithPasskeyMethod, () { + // CSRFToken is the anti-CSRF token + // String csrfToken + test('to test the property `csrfToken`', () async { + // TODO + }); + + // Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. + // String method + test('to test the property `method`', () async { + // TODO + }); + + // Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + // String passkeyRemove + test('to test the property `passkeyRemove`', () async { + // TODO + }); + + // Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + // String passkeySettingsRegister + test('to test the property `passkeySettingsRegister`', () async { + // TODO + }); + + }); +} diff --git a/clients/kratos/dart/test/update_settings_flow_with_password_method_test.dart b/clients/kratos/dart/test/update_settings_flow_with_password_method_test.dart index 0d942400153..2285ff6a53e 100644 --- a/clients/kratos/dart/test/update_settings_flow_with_password_method_test.dart +++ b/clients/kratos/dart/test/update_settings_flow_with_password_method_test.dart @@ -25,5 +25,11 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + }); } diff --git a/clients/kratos/dart/test/update_settings_flow_with_profile_method_test.dart b/clients/kratos/dart/test/update_settings_flow_with_profile_method_test.dart index e7cd010c52a..a7dee1b1fff 100644 --- a/clients/kratos/dart/test/update_settings_flow_with_profile_method_test.dart +++ b/clients/kratos/dart/test/update_settings_flow_with_profile_method_test.dart @@ -25,5 +25,11 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + }); } diff --git a/clients/kratos/dart/test/update_settings_flow_with_totp_method_test.dart b/clients/kratos/dart/test/update_settings_flow_with_totp_method_test.dart index b8b59838c11..6181c2ebcb4 100644 --- a/clients/kratos/dart/test/update_settings_flow_with_totp_method_test.dart +++ b/clients/kratos/dart/test/update_settings_flow_with_totp_method_test.dart @@ -31,5 +31,11 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + }); } diff --git a/clients/kratos/dart/test/update_settings_flow_with_web_authn_method_test.dart b/clients/kratos/dart/test/update_settings_flow_with_web_authn_method_test.dart index 2e2e7def7f4..8ce8deb1091 100644 --- a/clients/kratos/dart/test/update_settings_flow_with_web_authn_method_test.dart +++ b/clients/kratos/dart/test/update_settings_flow_with_web_authn_method_test.dart @@ -19,6 +19,12 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + // Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. // String webauthnRegister test('to test the property `webauthnRegister`', () async { diff --git a/clients/kratos/dart/test/update_verification_flow_body_test.dart b/clients/kratos/dart/test/update_verification_flow_body_test.dart index 597fa2e6a5a..d82afc40bff 100644 --- a/clients/kratos/dart/test/update_verification_flow_body_test.dart +++ b/clients/kratos/dart/test/update_verification_flow_body_test.dart @@ -25,6 +25,12 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + // Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. // String code test('to test the property `code`', () async { diff --git a/clients/kratos/dart/test/update_verification_flow_with_code_method_test.dart b/clients/kratos/dart/test/update_verification_flow_with_code_method_test.dart index e6a42e27cbc..5110063d7ce 100644 --- a/clients/kratos/dart/test/update_verification_flow_with_code_method_test.dart +++ b/clients/kratos/dart/test/update_verification_flow_with_code_method_test.dart @@ -31,5 +31,11 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + }); } diff --git a/clients/kratos/dart/test/update_verification_flow_with_link_method_test.dart b/clients/kratos/dart/test/update_verification_flow_with_link_method_test.dart index 969e4665806..6ebe1c08eae 100644 --- a/clients/kratos/dart/test/update_verification_flow_with_link_method_test.dart +++ b/clients/kratos/dart/test/update_verification_flow_with_link_method_test.dart @@ -25,5 +25,11 @@ void main() { // TODO }); + // Transient data to pass along to any webhooks + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + }); } diff --git a/clients/kratos/dart/test/verification_flow_test.dart b/clients/kratos/dart/test/verification_flow_test.dart index 35c359cd1ab..9094a06f277 100644 --- a/clients/kratos/dart/test/verification_flow_test.dart +++ b/clients/kratos/dart/test/verification_flow_test.dart @@ -49,6 +49,12 @@ void main() { // TODO }); + // TransientPayload is used to pass data from the verification flow to hooks and email templates + // JsonObject transientPayload + test('to test the property `transientPayload`', () async { + // TODO + }); + // The flow type can either be `api` or `browser`. // String type test('to test the property `type`', () async { diff --git a/clients/kratos/dotnet/.openapi-generator/FILES b/clients/kratos/dotnet/.openapi-generator/FILES index 3f62749a8eb..a2fcbfc2818 100644 --- a/clients/kratos/dotnet/.openapi-generator/FILES +++ b/clients/kratos/dotnet/.openapi-generator/FILES @@ -2,6 +2,7 @@ .openapi-generator-ignore Ory.Kratos.Client.sln README.md +api/openapi.yaml appveyor.yml docs/CourierApi.md docs/FrontendApi.md @@ -29,6 +30,7 @@ docs/KratosErrorFlowReplaced.md docs/KratosErrorGeneric.md docs/KratosFlowError.md docs/KratosGenericError.md +docs/KratosGetVersion200Response.md docs/KratosHealthNotReadyStatus.md docs/KratosHealthStatus.md docs/KratosIdentity.md @@ -46,9 +48,8 @@ docs/KratosIdentityWithCredentialsOidcConfig.md docs/KratosIdentityWithCredentialsOidcConfigProvider.md docs/KratosIdentityWithCredentialsPassword.md docs/KratosIdentityWithCredentialsPasswordConfig.md -docs/KratosInlineResponse200.md -docs/KratosInlineResponse2001.md -docs/KratosInlineResponse503.md +docs/KratosIsAlive200Response.md +docs/KratosIsReady503Response.md docs/KratosJsonPatch.md docs/KratosLoginFlow.md docs/KratosLoginFlowState.md @@ -94,6 +95,7 @@ docs/KratosUpdateLoginFlowBody.md docs/KratosUpdateLoginFlowWithCodeMethod.md docs/KratosUpdateLoginFlowWithLookupSecretMethod.md docs/KratosUpdateLoginFlowWithOidcMethod.md +docs/KratosUpdateLoginFlowWithPasskeyMethod.md docs/KratosUpdateLoginFlowWithPasswordMethod.md docs/KratosUpdateLoginFlowWithTotpMethod.md docs/KratosUpdateLoginFlowWithWebAuthnMethod.md @@ -103,11 +105,14 @@ docs/KratosUpdateRecoveryFlowWithLinkMethod.md docs/KratosUpdateRegistrationFlowBody.md docs/KratosUpdateRegistrationFlowWithCodeMethod.md docs/KratosUpdateRegistrationFlowWithOidcMethod.md +docs/KratosUpdateRegistrationFlowWithPasskeyMethod.md docs/KratosUpdateRegistrationFlowWithPasswordMethod.md +docs/KratosUpdateRegistrationFlowWithProfileMethod.md docs/KratosUpdateRegistrationFlowWithWebAuthnMethod.md docs/KratosUpdateSettingsFlowBody.md docs/KratosUpdateSettingsFlowWithLookupMethod.md docs/KratosUpdateSettingsFlowWithOidcMethod.md +docs/KratosUpdateSettingsFlowWithPasskeyMethod.md docs/KratosUpdateSettingsFlowWithPasswordMethod.md docs/KratosUpdateSettingsFlowWithProfileMethod.md docs/KratosUpdateSettingsFlowWithTotpMethod.md @@ -148,6 +153,7 @@ src/Ory.Kratos.Client.Test/Model/KratosErrorFlowReplacedTests.cs src/Ory.Kratos.Client.Test/Model/KratosErrorGenericTests.cs src/Ory.Kratos.Client.Test/Model/KratosFlowErrorTests.cs src/Ory.Kratos.Client.Test/Model/KratosGenericErrorTests.cs +src/Ory.Kratos.Client.Test/Model/KratosGetVersion200ResponseTests.cs src/Ory.Kratos.Client.Test/Model/KratosHealthNotReadyStatusTests.cs src/Ory.Kratos.Client.Test/Model/KratosHealthStatusTests.cs src/Ory.Kratos.Client.Test/Model/KratosIdentityCredentialsCodeTests.cs @@ -165,9 +171,8 @@ src/Ory.Kratos.Client.Test/Model/KratosIdentityWithCredentialsOidcTests.cs src/Ory.Kratos.Client.Test/Model/KratosIdentityWithCredentialsPasswordConfigTests.cs src/Ory.Kratos.Client.Test/Model/KratosIdentityWithCredentialsPasswordTests.cs src/Ory.Kratos.Client.Test/Model/KratosIdentityWithCredentialsTests.cs -src/Ory.Kratos.Client.Test/Model/KratosInlineResponse2001Tests.cs -src/Ory.Kratos.Client.Test/Model/KratosInlineResponse200Tests.cs -src/Ory.Kratos.Client.Test/Model/KratosInlineResponse503Tests.cs +src/Ory.Kratos.Client.Test/Model/KratosIsAlive200ResponseTests.cs +src/Ory.Kratos.Client.Test/Model/KratosIsReady503ResponseTests.cs src/Ory.Kratos.Client.Test/Model/KratosJsonPatchTests.cs src/Ory.Kratos.Client.Test/Model/KratosLoginFlowStateTests.cs src/Ory.Kratos.Client.Test/Model/KratosLoginFlowTests.cs @@ -213,6 +218,7 @@ src/Ory.Kratos.Client.Test/Model/KratosUpdateLoginFlowBodyTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateLoginFlowWithCodeMethodTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateLoginFlowWithLookupSecretMethodTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateLoginFlowWithOidcMethodTests.cs +src/Ory.Kratos.Client.Test/Model/KratosUpdateLoginFlowWithPasskeyMethodTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateLoginFlowWithPasswordMethodTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateLoginFlowWithTotpMethodTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateLoginFlowWithWebAuthnMethodTests.cs @@ -222,11 +228,14 @@ src/Ory.Kratos.Client.Test/Model/KratosUpdateRecoveryFlowWithLinkMethodTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateRegistrationFlowBodyTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateRegistrationFlowWithCodeMethodTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateRegistrationFlowWithOidcMethodTests.cs +src/Ory.Kratos.Client.Test/Model/KratosUpdateRegistrationFlowWithPasskeyMethodTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateRegistrationFlowWithPasswordMethodTests.cs +src/Ory.Kratos.Client.Test/Model/KratosUpdateRegistrationFlowWithProfileMethodTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateRegistrationFlowWithWebAuthnMethodTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateSettingsFlowBodyTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateSettingsFlowWithLookupMethodTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateSettingsFlowWithOidcMethodTests.cs +src/Ory.Kratos.Client.Test/Model/KratosUpdateSettingsFlowWithPasskeyMethodTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateSettingsFlowWithPasswordMethodTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateSettingsFlowWithProfileMethodTests.cs src/Ory.Kratos.Client.Test/Model/KratosUpdateSettingsFlowWithTotpMethodTests.cs @@ -283,6 +292,7 @@ src/Ory.Kratos.Client/Model/KratosErrorFlowReplaced.cs src/Ory.Kratos.Client/Model/KratosErrorGeneric.cs src/Ory.Kratos.Client/Model/KratosFlowError.cs src/Ory.Kratos.Client/Model/KratosGenericError.cs +src/Ory.Kratos.Client/Model/KratosGetVersion200Response.cs src/Ory.Kratos.Client/Model/KratosHealthNotReadyStatus.cs src/Ory.Kratos.Client/Model/KratosHealthStatus.cs src/Ory.Kratos.Client/Model/KratosIdentity.cs @@ -300,9 +310,8 @@ src/Ory.Kratos.Client/Model/KratosIdentityWithCredentialsOidcConfig.cs src/Ory.Kratos.Client/Model/KratosIdentityWithCredentialsOidcConfigProvider.cs src/Ory.Kratos.Client/Model/KratosIdentityWithCredentialsPassword.cs src/Ory.Kratos.Client/Model/KratosIdentityWithCredentialsPasswordConfig.cs -src/Ory.Kratos.Client/Model/KratosInlineResponse200.cs -src/Ory.Kratos.Client/Model/KratosInlineResponse2001.cs -src/Ory.Kratos.Client/Model/KratosInlineResponse503.cs +src/Ory.Kratos.Client/Model/KratosIsAlive200Response.cs +src/Ory.Kratos.Client/Model/KratosIsReady503Response.cs src/Ory.Kratos.Client/Model/KratosJsonPatch.cs src/Ory.Kratos.Client/Model/KratosLoginFlow.cs src/Ory.Kratos.Client/Model/KratosLoginFlowState.cs @@ -348,6 +357,7 @@ src/Ory.Kratos.Client/Model/KratosUpdateLoginFlowBody.cs src/Ory.Kratos.Client/Model/KratosUpdateLoginFlowWithCodeMethod.cs src/Ory.Kratos.Client/Model/KratosUpdateLoginFlowWithLookupSecretMethod.cs src/Ory.Kratos.Client/Model/KratosUpdateLoginFlowWithOidcMethod.cs +src/Ory.Kratos.Client/Model/KratosUpdateLoginFlowWithPasskeyMethod.cs src/Ory.Kratos.Client/Model/KratosUpdateLoginFlowWithPasswordMethod.cs src/Ory.Kratos.Client/Model/KratosUpdateLoginFlowWithTotpMethod.cs src/Ory.Kratos.Client/Model/KratosUpdateLoginFlowWithWebAuthnMethod.cs @@ -357,11 +367,14 @@ src/Ory.Kratos.Client/Model/KratosUpdateRecoveryFlowWithLinkMethod.cs src/Ory.Kratos.Client/Model/KratosUpdateRegistrationFlowBody.cs src/Ory.Kratos.Client/Model/KratosUpdateRegistrationFlowWithCodeMethod.cs src/Ory.Kratos.Client/Model/KratosUpdateRegistrationFlowWithOidcMethod.cs +src/Ory.Kratos.Client/Model/KratosUpdateRegistrationFlowWithPasskeyMethod.cs src/Ory.Kratos.Client/Model/KratosUpdateRegistrationFlowWithPasswordMethod.cs +src/Ory.Kratos.Client/Model/KratosUpdateRegistrationFlowWithProfileMethod.cs src/Ory.Kratos.Client/Model/KratosUpdateRegistrationFlowWithWebAuthnMethod.cs src/Ory.Kratos.Client/Model/KratosUpdateSettingsFlowBody.cs src/Ory.Kratos.Client/Model/KratosUpdateSettingsFlowWithLookupMethod.cs src/Ory.Kratos.Client/Model/KratosUpdateSettingsFlowWithOidcMethod.cs +src/Ory.Kratos.Client/Model/KratosUpdateSettingsFlowWithPasskeyMethod.cs src/Ory.Kratos.Client/Model/KratosUpdateSettingsFlowWithPasswordMethod.cs src/Ory.Kratos.Client/Model/KratosUpdateSettingsFlowWithProfileMethod.cs src/Ory.Kratos.Client/Model/KratosUpdateSettingsFlowWithTotpMethod.cs diff --git a/clients/kratos/dotnet/.openapi-generator/VERSION b/clients/kratos/dotnet/.openapi-generator/VERSION index 1e20ec35c64..1985849fb58 100644 --- a/clients/kratos/dotnet/.openapi-generator/VERSION +++ b/clients/kratos/dotnet/.openapi-generator/VERSION @@ -1 +1 @@ -5.4.0 \ No newline at end of file +7.7.0 diff --git a/clients/kratos/dotnet/Ory.Kratos.Client.sln b/clients/kratos/dotnet/Ory.Kratos.Client.sln index b41b7473267..8417546b9fb 100644 --- a/clients/kratos/dotnet/Ory.Kratos.Client.sln +++ b/clients/kratos/dotnet/Ory.Kratos.Client.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2012 VisualStudioVersion = 12.0.0.0 MinimumVisualStudioVersion = 10.0.0.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ory.Kratos.Client", "src\Ory.Kratos.Client\Ory.Kratos.Client.csproj", "{416D272D-2262-4185-A660-3649179A9933}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ory.Kratos.Client", "src\Ory.Kratos.Client\Ory.Kratos.Client.csproj", "{82DCA838-DE84-49A5-9E15-3BDDA4752AC0}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ory.Kratos.Client.Test", "src\Ory.Kratos.Client.Test\Ory.Kratos.Client.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}" EndProject @@ -12,10 +12,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {416D272D-2262-4185-A660-3649179A9933}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {416D272D-2262-4185-A660-3649179A9933}.Debug|Any CPU.Build.0 = Debug|Any CPU - {416D272D-2262-4185-A660-3649179A9933}.Release|Any CPU.ActiveCfg = Release|Any CPU - {416D272D-2262-4185-A660-3649179A9933}.Release|Any CPU.Build.0 = Release|Any CPU + {82DCA838-DE84-49A5-9E15-3BDDA4752AC0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {82DCA838-DE84-49A5-9E15-3BDDA4752AC0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {82DCA838-DE84-49A5-9E15-3BDDA4752AC0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {82DCA838-DE84-49A5-9E15-3BDDA4752AC0}.Release|Any CPU.Build.0 = Release|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/clients/kratos/dotnet/README.md b/clients/kratos/dotnet/README.md index 73c5fa770e2..a969400e4fb 100644 --- a/clients/kratos/dotnet/README.md +++ b/clients/kratos/dotnet/README.md @@ -5,19 +5,20 @@ This is the API specification for Ory Identities with features such as registrat This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: v1.1.0 -- SDK version: 1.1.0 -- Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen +- API version: v1.2.1 +- SDK version: 1.2.1 +- Generator version: 7.7.0 +- Build package: org.openapitools.codegen.languages.CSharpClientCodegen For more information, please visit [https://www.ory.sh](https://www.ory.sh) - + ## Frameworks supported - + ## Dependencies - [RestSharp](https://www.nuget.org/packages/RestSharp) - 106.13.0 or later -- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 12.0.3 or later +- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 13.0.2 or later - [JsonSubTypes](https://www.nuget.org/packages/JsonSubTypes/) - 1.8.0 or later - [System.ComponentModel.Annotations](https://www.nuget.org/packages/System.ComponentModel.Annotations) - 5.0.0 or later @@ -32,7 +33,7 @@ Install-Package System.ComponentModel.Annotations NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See [RestSharp#742](https://github.com/restsharp/RestSharp/issues/742). NOTE: RestSharp for .Net Core creates a new socket for each api call, which can lead to a socket exhaustion problem. See [RestSharp#1406](https://github.com/restsharp/RestSharp/issues/1406). - + ## Installation Run the following command to generate the DLL - [Mac/Linux] `/bin/sh build.sh` @@ -44,7 +45,7 @@ using Ory.Kratos.Client.Api; using Ory.Kratos.Client.Client; using Ory.Kratos.Client.Model; ``` - + ## Packaging A `.nuspec` is included with the project. You can follow the Nuget quickstart to [create](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#create-the-package) and [publish](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#publish-the-package) packages. @@ -57,7 +58,7 @@ nuget pack -Build -OutputDirectory out Ory.Kratos.Client.csproj Then, publish to a [local feed](https://docs.microsoft.com/en-us/nuget/hosting-packages/local-feeds) or [other host](https://docs.microsoft.com/en-us/nuget/hosting-packages/overview) and consume the new package via Nuget as usual. - + ## Usage To use the API client with a HTTP proxy, setup a `System.Net.WebProxy` @@ -68,7 +69,7 @@ webProxy.Credentials = System.Net.CredentialCache.DefaultCredentials; c.Proxy = webProxy; ``` - + ## Getting Started ```csharp @@ -113,7 +114,7 @@ namespace Example } ``` - + ## Documentation for API Endpoints All URIs are relative to *http://localhost* @@ -152,7 +153,7 @@ Class | Method | HTTP request | Description *FrontendApi* | [**UpdateRegistrationFlow**](docs/FrontendApi.md#updateregistrationflow) | **POST** /self-service/registration | Update Registration Flow *FrontendApi* | [**UpdateSettingsFlow**](docs/FrontendApi.md#updatesettingsflow) | **POST** /self-service/settings | Complete Settings Flow *FrontendApi* | [**UpdateVerificationFlow**](docs/FrontendApi.md#updateverificationflow) | **POST** /self-service/verification | Complete Verification Flow -*IdentityApi* | [**BatchPatchIdentities**](docs/IdentityApi.md#batchpatchidentities) | **PATCH** /admin/identities | Create and deletes multiple identities +*IdentityApi* | [**BatchPatchIdentities**](docs/IdentityApi.md#batchpatchidentities) | **PATCH** /admin/identities | Create multiple identities *IdentityApi* | [**CreateIdentity**](docs/IdentityApi.md#createidentity) | **POST** /admin/identities | Create an Identity *IdentityApi* | [**CreateRecoveryCodeForIdentity**](docs/IdentityApi.md#createrecoverycodeforidentity) | **POST** /admin/recovery/code | Create a Recovery Code *IdentityApi* | [**CreateRecoveryLinkForIdentity**](docs/IdentityApi.md#createrecoverylinkforidentity) | **POST** /admin/recovery/link | Create a Recovery Link @@ -175,7 +176,7 @@ Class | Method | HTTP request | Description *MetadataApi* | [**IsReady**](docs/MetadataApi.md#isready) | **GET** /health/ready | Check HTTP Server and Database Status - + ## Documentation for Models - [Model.KratosAuthenticatorAssuranceLevel](docs/KratosAuthenticatorAssuranceLevel.md) @@ -201,6 +202,7 @@ Class | Method | HTTP request | Description - [Model.KratosErrorGeneric](docs/KratosErrorGeneric.md) - [Model.KratosFlowError](docs/KratosFlowError.md) - [Model.KratosGenericError](docs/KratosGenericError.md) + - [Model.KratosGetVersion200Response](docs/KratosGetVersion200Response.md) - [Model.KratosHealthNotReadyStatus](docs/KratosHealthNotReadyStatus.md) - [Model.KratosHealthStatus](docs/KratosHealthStatus.md) - [Model.KratosIdentity](docs/KratosIdentity.md) @@ -218,9 +220,8 @@ Class | Method | HTTP request | Description - [Model.KratosIdentityWithCredentialsOidcConfigProvider](docs/KratosIdentityWithCredentialsOidcConfigProvider.md) - [Model.KratosIdentityWithCredentialsPassword](docs/KratosIdentityWithCredentialsPassword.md) - [Model.KratosIdentityWithCredentialsPasswordConfig](docs/KratosIdentityWithCredentialsPasswordConfig.md) - - [Model.KratosInlineResponse200](docs/KratosInlineResponse200.md) - - [Model.KratosInlineResponse2001](docs/KratosInlineResponse2001.md) - - [Model.KratosInlineResponse503](docs/KratosInlineResponse503.md) + - [Model.KratosIsAlive200Response](docs/KratosIsAlive200Response.md) + - [Model.KratosIsReady503Response](docs/KratosIsReady503Response.md) - [Model.KratosJsonPatch](docs/KratosJsonPatch.md) - [Model.KratosLoginFlow](docs/KratosLoginFlow.md) - [Model.KratosLoginFlowState](docs/KratosLoginFlowState.md) @@ -266,6 +267,7 @@ Class | Method | HTTP request | Description - [Model.KratosUpdateLoginFlowWithCodeMethod](docs/KratosUpdateLoginFlowWithCodeMethod.md) - [Model.KratosUpdateLoginFlowWithLookupSecretMethod](docs/KratosUpdateLoginFlowWithLookupSecretMethod.md) - [Model.KratosUpdateLoginFlowWithOidcMethod](docs/KratosUpdateLoginFlowWithOidcMethod.md) + - [Model.KratosUpdateLoginFlowWithPasskeyMethod](docs/KratosUpdateLoginFlowWithPasskeyMethod.md) - [Model.KratosUpdateLoginFlowWithPasswordMethod](docs/KratosUpdateLoginFlowWithPasswordMethod.md) - [Model.KratosUpdateLoginFlowWithTotpMethod](docs/KratosUpdateLoginFlowWithTotpMethod.md) - [Model.KratosUpdateLoginFlowWithWebAuthnMethod](docs/KratosUpdateLoginFlowWithWebAuthnMethod.md) @@ -275,11 +277,14 @@ Class | Method | HTTP request | Description - [Model.KratosUpdateRegistrationFlowBody](docs/KratosUpdateRegistrationFlowBody.md) - [Model.KratosUpdateRegistrationFlowWithCodeMethod](docs/KratosUpdateRegistrationFlowWithCodeMethod.md) - [Model.KratosUpdateRegistrationFlowWithOidcMethod](docs/KratosUpdateRegistrationFlowWithOidcMethod.md) + - [Model.KratosUpdateRegistrationFlowWithPasskeyMethod](docs/KratosUpdateRegistrationFlowWithPasskeyMethod.md) - [Model.KratosUpdateRegistrationFlowWithPasswordMethod](docs/KratosUpdateRegistrationFlowWithPasswordMethod.md) + - [Model.KratosUpdateRegistrationFlowWithProfileMethod](docs/KratosUpdateRegistrationFlowWithProfileMethod.md) - [Model.KratosUpdateRegistrationFlowWithWebAuthnMethod](docs/KratosUpdateRegistrationFlowWithWebAuthnMethod.md) - [Model.KratosUpdateSettingsFlowBody](docs/KratosUpdateSettingsFlowBody.md) - [Model.KratosUpdateSettingsFlowWithLookupMethod](docs/KratosUpdateSettingsFlowWithLookupMethod.md) - [Model.KratosUpdateSettingsFlowWithOidcMethod](docs/KratosUpdateSettingsFlowWithOidcMethod.md) + - [Model.KratosUpdateSettingsFlowWithPasskeyMethod](docs/KratosUpdateSettingsFlowWithPasskeyMethod.md) - [Model.KratosUpdateSettingsFlowWithPasswordMethod](docs/KratosUpdateSettingsFlowWithPasswordMethod.md) - [Model.KratosUpdateSettingsFlowWithProfileMethod](docs/KratosUpdateSettingsFlowWithProfileMethod.md) - [Model.KratosUpdateSettingsFlowWithTotpMethod](docs/KratosUpdateSettingsFlowWithTotpMethod.md) @@ -293,10 +298,12 @@ Class | Method | HTTP request | Description - [Model.KratosVersion](docs/KratosVersion.md) - + ## Documentation for Authorization - + +Authentication schemes defined for the API: + ### oryAccessToken - **Type**: API key diff --git a/clients/kratos/dotnet/api/openapi.yaml b/clients/kratos/dotnet/api/openapi.yaml new file mode 100644 index 00000000000..d8d8ea0e028 --- /dev/null +++ b/clients/kratos/dotnet/api/openapi.yaml @@ -0,0 +1,9014 @@ +openapi: 3.0.3 +info: + contact: + email: office@ory.sh + description: | + This is the API specification for Ory Identities with features such as registration, login, recovery, account verification, profile settings, password reset, identity management, session management, email and sms delivery, and more. + license: + name: Apache 2.0 + title: Ory Identities API + version: v1.2.1 +servers: +- url: / +tags: +- description: APIs for managing identities. + name: identity +- description: "Endpoints used by frontend applications (e.g. Single-Page-App, Native\ + \ Apps, Server Apps, ...) to manage a user's own profile." + name: frontend +- description: APIs for managing email and SMS message delivery. + name: courier +- description: Server Metadata provides relevant information about the running server. + Only available when self-hosting this service. + name: metadata +paths: + /.well-known/ory/webauthn.js: + get: + description: |- + This endpoint provides JavaScript which is needed in order to perform WebAuthn login and registration. + + If you are building a JavaScript Browser App (e.g. in ReactJS or AngularJS) you will need to load this file: + + ```html +