@leancodepl/kratos 9.7.1 → 9.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +794 -0
- package/LICENSE +201 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8211 -0
- package/dist/index.umd.cjs +1 -0
- package/dist/lib/factories/index.d.ts +2 -0
- package/dist/lib/factories/index.d.ts.map +1 -0
- package/dist/lib/factories/mkKratos.d.ts +298 -0
- package/dist/lib/factories/mkKratos.d.ts.map +1 -0
- package/dist/lib/flows/fields/Submit.d.ts +7 -0
- package/dist/lib/flows/fields/Submit.d.ts.map +1 -0
- package/dist/lib/flows/fields/index.d.ts +2 -0
- package/dist/lib/flows/fields/index.d.ts.map +1 -0
- package/dist/lib/flows/index.d.ts +7 -0
- package/dist/lib/flows/index.d.ts.map +1 -0
- package/dist/lib/flows/login/chooseMethodForm/ChooseMethodFormWrapper.d.ts +58 -0
- package/dist/lib/flows/login/chooseMethodForm/ChooseMethodFormWrapper.d.ts.map +1 -0
- package/dist/lib/flows/login/chooseMethodForm/chooseMethodFormContext.d.ts +11 -0
- package/dist/lib/flows/login/chooseMethodForm/chooseMethodFormContext.d.ts.map +1 -0
- package/dist/lib/flows/login/chooseMethodForm/fields/Identifier.d.ts +7 -0
- package/dist/lib/flows/login/chooseMethodForm/fields/Identifier.d.ts.map +1 -0
- package/dist/lib/flows/login/chooseMethodForm/fields/Oidc.d.ts +14 -0
- package/dist/lib/flows/login/chooseMethodForm/fields/Oidc.d.ts.map +1 -0
- package/dist/lib/flows/login/chooseMethodForm/fields/Passkey.d.ts +10 -0
- package/dist/lib/flows/login/chooseMethodForm/fields/Passkey.d.ts.map +1 -0
- package/dist/lib/flows/login/chooseMethodForm/fields/Password.d.ts +7 -0
- package/dist/lib/flows/login/chooseMethodForm/fields/Password.d.ts.map +1 -0
- package/dist/lib/flows/login/chooseMethodForm/fields/index.d.ts +5 -0
- package/dist/lib/flows/login/chooseMethodForm/fields/index.d.ts.map +1 -0
- package/dist/lib/flows/login/chooseMethodForm/index.d.ts +2 -0
- package/dist/lib/flows/login/chooseMethodForm/index.d.ts.map +1 -0
- package/dist/lib/flows/login/chooseMethodForm/types.d.ts +5 -0
- package/dist/lib/flows/login/chooseMethodForm/types.d.ts.map +1 -0
- package/dist/lib/flows/login/chooseMethodForm/usePasswordForm.d.ts +41 -0
- package/dist/lib/flows/login/chooseMethodForm/usePasswordForm.d.ts.map +1 -0
- package/dist/lib/flows/login/hooks/index.d.ts +6 -0
- package/dist/lib/flows/login/hooks/index.d.ts.map +1 -0
- package/dist/lib/flows/login/hooks/queryKeys.d.ts +2 -0
- package/dist/lib/flows/login/hooks/queryKeys.d.ts.map +1 -0
- package/dist/lib/flows/login/hooks/useCreateLoginFlow.d.ts +6 -0
- package/dist/lib/flows/login/hooks/useCreateLoginFlow.d.ts.map +1 -0
- package/dist/lib/flows/login/hooks/useExistingIdentifierFromFlow.d.ts +2 -0
- package/dist/lib/flows/login/hooks/useExistingIdentifierFromFlow.d.ts.map +1 -0
- package/dist/lib/flows/login/hooks/useGetLoginFlow.d.ts +3 -0
- package/dist/lib/flows/login/hooks/useGetLoginFlow.d.ts.map +1 -0
- package/dist/lib/flows/login/hooks/useLoginFlowContext.d.ts +12 -0
- package/dist/lib/flows/login/hooks/useLoginFlowContext.d.ts.map +1 -0
- package/dist/lib/flows/login/hooks/useUpdateLoginFlow.d.ts +3 -0
- package/dist/lib/flows/login/hooks/useUpdateLoginFlow.d.ts.map +1 -0
- package/dist/lib/flows/login/index.d.ts +6 -0
- package/dist/lib/flows/login/index.d.ts.map +1 -0
- package/dist/lib/flows/login/loginFlow.d.ts +61 -0
- package/dist/lib/flows/login/loginFlow.d.ts.map +1 -0
- package/dist/lib/flows/login/secondFactorEmailForm/SecondFactorEmailFormWrapper.d.ts +25 -0
- package/dist/lib/flows/login/secondFactorEmailForm/SecondFactorEmailFormWrapper.d.ts.map +1 -0
- package/dist/lib/flows/login/secondFactorEmailForm/fields/Code.d.ts +7 -0
- package/dist/lib/flows/login/secondFactorEmailForm/fields/Code.d.ts.map +1 -0
- package/dist/lib/flows/login/secondFactorEmailForm/fields/Resend.d.ts +7 -0
- package/dist/lib/flows/login/secondFactorEmailForm/fields/Resend.d.ts.map +1 -0
- package/dist/lib/flows/login/secondFactorEmailForm/fields/index.d.ts +3 -0
- package/dist/lib/flows/login/secondFactorEmailForm/fields/index.d.ts.map +1 -0
- package/dist/lib/flows/login/secondFactorEmailForm/index.d.ts +2 -0
- package/dist/lib/flows/login/secondFactorEmailForm/index.d.ts.map +1 -0
- package/dist/lib/flows/login/secondFactorEmailForm/secondFactorEmailFormContext.d.ts +11 -0
- package/dist/lib/flows/login/secondFactorEmailForm/secondFactorEmailFormContext.d.ts.map +1 -0
- package/dist/lib/flows/login/secondFactorEmailForm/types.d.ts +4 -0
- package/dist/lib/flows/login/secondFactorEmailForm/types.d.ts.map +1 -0
- package/dist/lib/flows/login/secondFactorEmailForm/useCodeForm.d.ts +30 -0
- package/dist/lib/flows/login/secondFactorEmailForm/useCodeForm.d.ts.map +1 -0
- package/dist/lib/flows/login/secondFactorForm/SecondFactorFormWrapper.d.ts +38 -0
- package/dist/lib/flows/login/secondFactorForm/SecondFactorFormWrapper.d.ts.map +1 -0
- package/dist/lib/flows/login/secondFactorForm/fields/Email.d.ts +7 -0
- package/dist/lib/flows/login/secondFactorForm/fields/Email.d.ts.map +1 -0
- package/dist/lib/flows/login/secondFactorForm/fields/Totp.d.ts +7 -0
- package/dist/lib/flows/login/secondFactorForm/fields/Totp.d.ts.map +1 -0
- package/dist/lib/flows/login/secondFactorForm/fields/index.d.ts +3 -0
- package/dist/lib/flows/login/secondFactorForm/fields/index.d.ts.map +1 -0
- package/dist/lib/flows/login/secondFactorForm/index.d.ts +2 -0
- package/dist/lib/flows/login/secondFactorForm/index.d.ts.map +1 -0
- package/dist/lib/flows/login/secondFactorForm/secondFactorFormContext.d.ts +11 -0
- package/dist/lib/flows/login/secondFactorForm/secondFactorFormContext.d.ts.map +1 -0
- package/dist/lib/flows/login/secondFactorForm/types.d.ts +4 -0
- package/dist/lib/flows/login/secondFactorForm/types.d.ts.map +1 -0
- package/dist/lib/flows/login/secondFactorForm/useTotpForm.d.ts +30 -0
- package/dist/lib/flows/login/secondFactorForm/useTotpForm.d.ts.map +1 -0
- package/dist/lib/flows/login/types.d.ts +7 -0
- package/dist/lib/flows/login/types.d.ts.map +1 -0
- package/dist/lib/flows/logout/index.d.ts +2 -0
- package/dist/lib/flows/logout/index.d.ts.map +1 -0
- package/dist/lib/flows/logout/useLogout.d.ts +33 -0
- package/dist/lib/flows/logout/useLogout.d.ts.map +1 -0
- package/dist/lib/flows/recovery/codeForm/CodeFormWrapper.d.ts +21 -0
- package/dist/lib/flows/recovery/codeForm/CodeFormWrapper.d.ts.map +1 -0
- package/dist/lib/flows/recovery/codeForm/codeFormContext.d.ts +11 -0
- package/dist/lib/flows/recovery/codeForm/codeFormContext.d.ts.map +1 -0
- package/dist/lib/flows/recovery/codeForm/fields/Code.d.ts +7 -0
- package/dist/lib/flows/recovery/codeForm/fields/Code.d.ts.map +1 -0
- package/dist/lib/flows/recovery/codeForm/fields/index.d.ts +2 -0
- package/dist/lib/flows/recovery/codeForm/fields/index.d.ts.map +1 -0
- package/dist/lib/flows/recovery/codeForm/index.d.ts +2 -0
- package/dist/lib/flows/recovery/codeForm/index.d.ts.map +1 -0
- package/dist/lib/flows/recovery/codeForm/types.d.ts +4 -0
- package/dist/lib/flows/recovery/codeForm/types.d.ts.map +1 -0
- package/dist/lib/flows/recovery/codeForm/useCodeForm.d.ts +29 -0
- package/dist/lib/flows/recovery/codeForm/useCodeForm.d.ts.map +1 -0
- package/dist/lib/flows/recovery/emailForm/EmailFormWrapper.d.ts +21 -0
- package/dist/lib/flows/recovery/emailForm/EmailFormWrapper.d.ts.map +1 -0
- package/dist/lib/flows/recovery/emailForm/emailFormContext.d.ts +11 -0
- package/dist/lib/flows/recovery/emailForm/emailFormContext.d.ts.map +1 -0
- package/dist/lib/flows/recovery/emailForm/fields/Email.d.ts +7 -0
- package/dist/lib/flows/recovery/emailForm/fields/Email.d.ts.map +1 -0
- package/dist/lib/flows/recovery/emailForm/fields/index.d.ts +2 -0
- package/dist/lib/flows/recovery/emailForm/fields/index.d.ts.map +1 -0
- package/dist/lib/flows/recovery/emailForm/index.d.ts +2 -0
- package/dist/lib/flows/recovery/emailForm/index.d.ts.map +1 -0
- package/dist/lib/flows/recovery/emailForm/types.d.ts +4 -0
- package/dist/lib/flows/recovery/emailForm/types.d.ts.map +1 -0
- package/dist/lib/flows/recovery/emailForm/useEmailForm.d.ts +29 -0
- package/dist/lib/flows/recovery/emailForm/useEmailForm.d.ts.map +1 -0
- package/dist/lib/flows/recovery/hooks/index.d.ts +5 -0
- package/dist/lib/flows/recovery/hooks/index.d.ts.map +1 -0
- package/dist/lib/flows/recovery/hooks/queryKeys.d.ts +2 -0
- package/dist/lib/flows/recovery/hooks/queryKeys.d.ts.map +1 -0
- package/dist/lib/flows/recovery/hooks/useCreateRecoveryFlow.d.ts +4 -0
- package/dist/lib/flows/recovery/hooks/useCreateRecoveryFlow.d.ts.map +1 -0
- package/dist/lib/flows/recovery/hooks/useGetRecoveryFlow.d.ts +3 -0
- package/dist/lib/flows/recovery/hooks/useGetRecoveryFlow.d.ts.map +1 -0
- package/dist/lib/flows/recovery/hooks/useRecoveryFlowContext.d.ts +12 -0
- package/dist/lib/flows/recovery/hooks/useRecoveryFlowContext.d.ts.map +1 -0
- package/dist/lib/flows/recovery/hooks/useUpdateRecoveryFlow.d.ts +3 -0
- package/dist/lib/flows/recovery/hooks/useUpdateRecoveryFlow.d.ts.map +1 -0
- package/dist/lib/flows/recovery/index.d.ts +5 -0
- package/dist/lib/flows/recovery/index.d.ts.map +1 -0
- package/dist/lib/flows/recovery/recoveryFlow.d.ts +50 -0
- package/dist/lib/flows/recovery/recoveryFlow.d.ts.map +1 -0
- package/dist/lib/flows/recovery/types.d.ts +6 -0
- package/dist/lib/flows/recovery/types.d.ts.map +1 -0
- package/dist/lib/flows/registration/chooseMethodForm/ChooseMethodFormWrapper.d.ts +33 -0
- package/dist/lib/flows/registration/chooseMethodForm/ChooseMethodFormWrapper.d.ts.map +1 -0
- package/dist/lib/flows/registration/chooseMethodForm/chooseMethodFormContext.d.ts +11 -0
- package/dist/lib/flows/registration/chooseMethodForm/chooseMethodFormContext.d.ts.map +1 -0
- package/dist/lib/flows/registration/chooseMethodForm/fields/Passkey.d.ts +11 -0
- package/dist/lib/flows/registration/chooseMethodForm/fields/Passkey.d.ts.map +1 -0
- package/dist/lib/flows/registration/chooseMethodForm/fields/Password.d.ts +7 -0
- package/dist/lib/flows/registration/chooseMethodForm/fields/Password.d.ts.map +1 -0
- package/dist/lib/flows/registration/chooseMethodForm/fields/PasswordConfirmation.d.ts +10 -0
- package/dist/lib/flows/registration/chooseMethodForm/fields/PasswordConfirmation.d.ts.map +1 -0
- package/dist/lib/flows/registration/chooseMethodForm/fields/ReturnToTraitsForm.d.ts +7 -0
- package/dist/lib/flows/registration/chooseMethodForm/fields/ReturnToTraitsForm.d.ts.map +1 -0
- package/dist/lib/flows/registration/chooseMethodForm/fields/index.d.ts +5 -0
- package/dist/lib/flows/registration/chooseMethodForm/fields/index.d.ts.map +1 -0
- package/dist/lib/flows/registration/chooseMethodForm/index.d.ts +2 -0
- package/dist/lib/flows/registration/chooseMethodForm/index.d.ts.map +1 -0
- package/dist/lib/flows/registration/chooseMethodForm/types.d.ts +5 -0
- package/dist/lib/flows/registration/chooseMethodForm/types.d.ts.map +1 -0
- package/dist/lib/flows/registration/chooseMethodForm/useChooseMethodForm.d.ts +42 -0
- package/dist/lib/flows/registration/chooseMethodForm/useChooseMethodForm.d.ts.map +1 -0
- package/dist/lib/flows/registration/hooks/index.d.ts +5 -0
- package/dist/lib/flows/registration/hooks/index.d.ts.map +1 -0
- package/dist/lib/flows/registration/hooks/queryKeys.d.ts +2 -0
- package/dist/lib/flows/registration/hooks/queryKeys.d.ts.map +1 -0
- package/dist/lib/flows/registration/hooks/useCreateRegistrationFlow.d.ts +4 -0
- package/dist/lib/flows/registration/hooks/useCreateRegistrationFlow.d.ts.map +1 -0
- package/dist/lib/flows/registration/hooks/useGetRegistrationFlow.d.ts +3 -0
- package/dist/lib/flows/registration/hooks/useGetRegistrationFlow.d.ts.map +1 -0
- package/dist/lib/flows/registration/hooks/useRegistrationFlowContext.d.ts +16 -0
- package/dist/lib/flows/registration/hooks/useRegistrationFlowContext.d.ts.map +1 -0
- package/dist/lib/flows/registration/hooks/useUpdateRegistrationFlow.d.ts +3 -0
- package/dist/lib/flows/registration/hooks/useUpdateRegistrationFlow.d.ts.map +1 -0
- package/dist/lib/flows/registration/index.d.ts +5 -0
- package/dist/lib/flows/registration/index.d.ts.map +1 -0
- package/dist/lib/flows/registration/registrationFlow.d.ts +62 -0
- package/dist/lib/flows/registration/registrationFlow.d.ts.map +1 -0
- package/dist/lib/flows/registration/traitsForm/TraitsFormWrapper.d.ts +39 -0
- package/dist/lib/flows/registration/traitsForm/TraitsFormWrapper.d.ts.map +1 -0
- package/dist/lib/flows/registration/traitsForm/fields/Oidc.d.ts +14 -0
- package/dist/lib/flows/registration/traitsForm/fields/Oidc.d.ts.map +1 -0
- package/dist/lib/flows/registration/traitsForm/fields/Trait.d.ts +9 -0
- package/dist/lib/flows/registration/traitsForm/fields/Trait.d.ts.map +1 -0
- package/dist/lib/flows/registration/traitsForm/fields/index.d.ts +3 -0
- package/dist/lib/flows/registration/traitsForm/fields/index.d.ts.map +1 -0
- package/dist/lib/flows/registration/traitsForm/index.d.ts +2 -0
- package/dist/lib/flows/registration/traitsForm/index.d.ts.map +1 -0
- package/dist/lib/flows/registration/traitsForm/traitsFormContext.d.ts +11 -0
- package/dist/lib/flows/registration/traitsForm/traitsFormContext.d.ts.map +1 -0
- package/dist/lib/flows/registration/traitsForm/useTraitsForm.d.ts +32 -0
- package/dist/lib/flows/registration/traitsForm/useTraitsForm.d.ts.map +1 -0
- package/dist/lib/flows/registration/types.d.ts +5 -0
- package/dist/lib/flows/registration/types.d.ts.map +1 -0
- package/dist/lib/flows/settings/hooks/index.d.ts +5 -0
- package/dist/lib/flows/settings/hooks/index.d.ts.map +1 -0
- package/dist/lib/flows/settings/hooks/queryKeys.d.ts +2 -0
- package/dist/lib/flows/settings/hooks/queryKeys.d.ts.map +1 -0
- package/dist/lib/flows/settings/hooks/useCreateSettingsFlow.d.ts +2 -0
- package/dist/lib/flows/settings/hooks/useCreateSettingsFlow.d.ts.map +1 -0
- package/dist/lib/flows/settings/hooks/useGetSettingsFlow.d.ts +3 -0
- package/dist/lib/flows/settings/hooks/useGetSettingsFlow.d.ts.map +1 -0
- package/dist/lib/flows/settings/hooks/useSettingsFlowContext.d.ts +14 -0
- package/dist/lib/flows/settings/hooks/useSettingsFlowContext.d.ts.map +1 -0
- package/dist/lib/flows/settings/hooks/useUpdateSettingsFlow.d.ts +3 -0
- package/dist/lib/flows/settings/hooks/useUpdateSettingsFlow.d.ts.map +1 -0
- package/dist/lib/flows/settings/index.d.ts +9 -0
- package/dist/lib/flows/settings/index.d.ts.map +1 -0
- package/dist/lib/flows/settings/newPasswordForm/NewPasswordFormWrapper.d.ts +28 -0
- package/dist/lib/flows/settings/newPasswordForm/NewPasswordFormWrapper.d.ts.map +1 -0
- package/dist/lib/flows/settings/newPasswordForm/fields/Password.d.ts +7 -0
- package/dist/lib/flows/settings/newPasswordForm/fields/Password.d.ts.map +1 -0
- package/dist/lib/flows/settings/newPasswordForm/fields/PasswordConfirmation.d.ts +10 -0
- package/dist/lib/flows/settings/newPasswordForm/fields/PasswordConfirmation.d.ts.map +1 -0
- package/dist/lib/flows/settings/newPasswordForm/fields/index.d.ts +3 -0
- package/dist/lib/flows/settings/newPasswordForm/fields/index.d.ts.map +1 -0
- package/dist/lib/flows/settings/newPasswordForm/index.d.ts +2 -0
- package/dist/lib/flows/settings/newPasswordForm/index.d.ts.map +1 -0
- package/dist/lib/flows/settings/newPasswordForm/newPasswordFormContext.d.ts +11 -0
- package/dist/lib/flows/settings/newPasswordForm/newPasswordFormContext.d.ts.map +1 -0
- package/dist/lib/flows/settings/newPasswordForm/types.d.ts +5 -0
- package/dist/lib/flows/settings/newPasswordForm/types.d.ts.map +1 -0
- package/dist/lib/flows/settings/newPasswordForm/useNewPasswordForm.d.ts +42 -0
- package/dist/lib/flows/settings/newPasswordForm/useNewPasswordForm.d.ts.map +1 -0
- package/dist/lib/flows/settings/oidcForm/OidcFormWrapper.d.ts +16 -0
- package/dist/lib/flows/settings/oidcForm/OidcFormWrapper.d.ts.map +1 -0
- package/dist/lib/flows/settings/oidcForm/fields/Oidc.d.ts +13 -0
- package/dist/lib/flows/settings/oidcForm/fields/Oidc.d.ts.map +1 -0
- package/dist/lib/flows/settings/oidcForm/fields/index.d.ts +2 -0
- package/dist/lib/flows/settings/oidcForm/fields/index.d.ts.map +1 -0
- package/dist/lib/flows/settings/oidcForm/index.d.ts +3 -0
- package/dist/lib/flows/settings/oidcForm/index.d.ts.map +1 -0
- package/dist/lib/flows/settings/oidcForm/providers.d.ts +4 -0
- package/dist/lib/flows/settings/oidcForm/providers.d.ts.map +1 -0
- package/dist/lib/flows/settings/passkeysForm/PasskeysFormWrapper.d.ts +19 -0
- package/dist/lib/flows/settings/passkeysForm/PasskeysFormWrapper.d.ts.map +1 -0
- package/dist/lib/flows/settings/passkeysForm/fields/AddPasskey.d.ts +7 -0
- package/dist/lib/flows/settings/passkeysForm/fields/AddPasskey.d.ts.map +1 -0
- package/dist/lib/flows/settings/passkeysForm/fields/index.d.ts +2 -0
- package/dist/lib/flows/settings/passkeysForm/fields/index.d.ts.map +1 -0
- package/dist/lib/flows/settings/passkeysForm/hooks/index.d.ts +2 -0
- package/dist/lib/flows/settings/passkeysForm/hooks/index.d.ts.map +1 -0
- package/dist/lib/flows/settings/passkeysForm/hooks/usePasskeys.d.ts +6 -0
- package/dist/lib/flows/settings/passkeysForm/hooks/usePasskeys.d.ts.map +1 -0
- package/dist/lib/flows/settings/passkeysForm/index.d.ts +2 -0
- package/dist/lib/flows/settings/passkeysForm/index.d.ts.map +1 -0
- package/dist/lib/flows/settings/settingsFlow.d.ts +74 -0
- package/dist/lib/flows/settings/settingsFlow.d.ts.map +1 -0
- package/dist/lib/flows/settings/totpForm/TotpFormFormWrapper.d.ts +42 -0
- package/dist/lib/flows/settings/totpForm/TotpFormFormWrapper.d.ts.map +1 -0
- package/dist/lib/flows/settings/totpForm/fields/Code.d.ts +7 -0
- package/dist/lib/flows/settings/totpForm/fields/Code.d.ts.map +1 -0
- package/dist/lib/flows/settings/totpForm/fields/Unlink.d.ts +7 -0
- package/dist/lib/flows/settings/totpForm/fields/Unlink.d.ts.map +1 -0
- package/dist/lib/flows/settings/totpForm/fields/index.d.ts +3 -0
- package/dist/lib/flows/settings/totpForm/fields/index.d.ts.map +1 -0
- package/dist/lib/flows/settings/totpForm/index.d.ts +2 -0
- package/dist/lib/flows/settings/totpForm/index.d.ts.map +1 -0
- package/dist/lib/flows/settings/totpForm/totpFormContext.d.ts +11 -0
- package/dist/lib/flows/settings/totpForm/totpFormContext.d.ts.map +1 -0
- package/dist/lib/flows/settings/totpForm/types.d.ts +4 -0
- package/dist/lib/flows/settings/totpForm/types.d.ts.map +1 -0
- package/dist/lib/flows/settings/totpForm/useTotpForm.d.ts +31 -0
- package/dist/lib/flows/settings/totpForm/useTotpForm.d.ts.map +1 -0
- package/dist/lib/flows/settings/traitsForm/TraitsFormWrapper.d.ts +31 -0
- package/dist/lib/flows/settings/traitsForm/TraitsFormWrapper.d.ts.map +1 -0
- package/dist/lib/flows/settings/traitsForm/fields/Trait.d.ts +9 -0
- package/dist/lib/flows/settings/traitsForm/fields/Trait.d.ts.map +1 -0
- package/dist/lib/flows/settings/traitsForm/fields/index.d.ts +2 -0
- package/dist/lib/flows/settings/traitsForm/fields/index.d.ts.map +1 -0
- package/dist/lib/flows/settings/traitsForm/index.d.ts +2 -0
- package/dist/lib/flows/settings/traitsForm/index.d.ts.map +1 -0
- package/dist/lib/flows/settings/traitsForm/traitsFormContext.d.ts +11 -0
- package/dist/lib/flows/settings/traitsForm/traitsFormContext.d.ts.map +1 -0
- package/dist/lib/flows/settings/traitsForm/types.d.ts +4 -0
- package/dist/lib/flows/settings/traitsForm/types.d.ts.map +1 -0
- package/dist/lib/flows/settings/traitsForm/useTraitsForm.d.ts +32 -0
- package/dist/lib/flows/settings/traitsForm/useTraitsForm.d.ts.map +1 -0
- package/dist/lib/flows/settings/types.d.ts +5 -0
- package/dist/lib/flows/settings/types.d.ts.map +1 -0
- package/dist/lib/flows/verification/emailVerificationForm/EmailVerificationFormWrapper.d.ts +25 -0
- package/dist/lib/flows/verification/emailVerificationForm/EmailVerificationFormWrapper.d.ts.map +1 -0
- package/dist/lib/flows/verification/emailVerificationForm/emailVerificationFormContext.d.ts +11 -0
- package/dist/lib/flows/verification/emailVerificationForm/emailVerificationFormContext.d.ts.map +1 -0
- package/dist/lib/flows/verification/emailVerificationForm/fields/Code.d.ts +7 -0
- package/dist/lib/flows/verification/emailVerificationForm/fields/Code.d.ts.map +1 -0
- package/dist/lib/flows/verification/emailVerificationForm/fields/Resend.d.ts +7 -0
- package/dist/lib/flows/verification/emailVerificationForm/fields/Resend.d.ts.map +1 -0
- package/dist/lib/flows/verification/emailVerificationForm/fields/index.d.ts +3 -0
- package/dist/lib/flows/verification/emailVerificationForm/fields/index.d.ts.map +1 -0
- package/dist/lib/flows/verification/emailVerificationForm/index.d.ts +2 -0
- package/dist/lib/flows/verification/emailVerificationForm/index.d.ts.map +1 -0
- package/dist/lib/flows/verification/emailVerificationForm/types.d.ts +4 -0
- package/dist/lib/flows/verification/emailVerificationForm/types.d.ts.map +1 -0
- package/dist/lib/flows/verification/emailVerificationForm/useEmailVerificationForm.d.ts +30 -0
- package/dist/lib/flows/verification/emailVerificationForm/useEmailVerificationForm.d.ts.map +1 -0
- package/dist/lib/flows/verification/hooks/index.d.ts +5 -0
- package/dist/lib/flows/verification/hooks/index.d.ts.map +1 -0
- package/dist/lib/flows/verification/hooks/queryKeys.d.ts +2 -0
- package/dist/lib/flows/verification/hooks/queryKeys.d.ts.map +1 -0
- package/dist/lib/flows/verification/hooks/useCreateVerificationFlow.d.ts +4 -0
- package/dist/lib/flows/verification/hooks/useCreateVerificationFlow.d.ts.map +1 -0
- package/dist/lib/flows/verification/hooks/useGetVerificationFlow.d.ts +3 -0
- package/dist/lib/flows/verification/hooks/useGetVerificationFlow.d.ts.map +1 -0
- package/dist/lib/flows/verification/hooks/useUpdateVerificationFlow.d.ts +3 -0
- package/dist/lib/flows/verification/hooks/useUpdateVerificationFlow.d.ts.map +1 -0
- package/dist/lib/flows/verification/hooks/useVerificationFlowContext.d.ts +14 -0
- package/dist/lib/flows/verification/hooks/useVerificationFlowContext.d.ts.map +1 -0
- package/dist/lib/flows/verification/index.d.ts +5 -0
- package/dist/lib/flows/verification/index.d.ts.map +1 -0
- package/dist/lib/flows/verification/types.d.ts +4 -0
- package/dist/lib/flows/verification/types.d.ts.map +1 -0
- package/dist/lib/flows/verification/verificationFlow.d.ts +42 -0
- package/dist/lib/flows/verification/verificationFlow.d.ts.map +1 -0
- package/dist/lib/hooks/index.d.ts +5 -0
- package/dist/lib/hooks/index.d.ts.map +1 -0
- package/dist/lib/hooks/useFlowManager.d.ts +12 -0
- package/dist/lib/hooks/useFlowManager.d.ts.map +1 -0
- package/dist/lib/hooks/useFormErrors.d.ts +3 -0
- package/dist/lib/hooks/useFormErrors.d.ts.map +1 -0
- package/dist/lib/hooks/useKratosClientContext.d.ts +13 -0
- package/dist/lib/hooks/useKratosClientContext.d.ts.map +1 -0
- package/dist/lib/hooks/useKratosSessionContext.d.ts +14 -0
- package/dist/lib/hooks/useKratosSessionContext.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/apis/CourierApi.d.ts +87 -0
- package/dist/lib/kratos/api.generated/apis/CourierApi.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/apis/EventsApi.d.ts +134 -0
- package/dist/lib/kratos/api.generated/apis/EventsApi.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/apis/FrontendApi.d.ts +980 -0
- package/dist/lib/kratos/api.generated/apis/FrontendApi.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/apis/IdentityApi.d.ts +631 -0
- package/dist/lib/kratos/api.generated/apis/IdentityApi.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/apis/JwkApi.d.ts +228 -0
- package/dist/lib/kratos/api.generated/apis/JwkApi.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/apis/MetadataApi.d.ts +50 -0
- package/dist/lib/kratos/api.generated/apis/MetadataApi.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/apis/OAuth2Api.d.ts +831 -0
- package/dist/lib/kratos/api.generated/apis/OAuth2Api.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/apis/OidcApi.d.ts +233 -0
- package/dist/lib/kratos/api.generated/apis/OidcApi.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/apis/PermissionApi.d.ts +229 -0
- package/dist/lib/kratos/api.generated/apis/PermissionApi.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/apis/ProjectApi.d.ts +512 -0
- package/dist/lib/kratos/api.generated/apis/ProjectApi.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/apis/RelationshipApi.d.ts +213 -0
- package/dist/lib/kratos/api.generated/apis/RelationshipApi.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/apis/WellknownApi.d.ts +50 -0
- package/dist/lib/kratos/api.generated/apis/WellknownApi.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/apis/WorkspaceApi.d.ts +245 -0
- package/dist/lib/kratos/api.generated/apis/WorkspaceApi.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/apis/index.d.ts +14 -0
- package/dist/lib/kratos/api.generated/apis/index.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/index.d.ts +4 -0
- package/dist/lib/kratos/api.generated/index.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/AcceptOAuth2ConsentRequest.d.ts +61 -0
- package/dist/lib/kratos/api.generated/models/AcceptOAuth2ConsentRequest.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/AcceptOAuth2ConsentRequestSession.d.ts +43 -0
- package/dist/lib/kratos/api.generated/models/AcceptOAuth2ConsentRequestSession.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/AcceptOAuth2LoginRequest.d.ts +106 -0
- package/dist/lib/kratos/api.generated/models/AcceptOAuth2LoginRequest.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/AccountExperienceColors.d.ts +885 -0
- package/dist/lib/kratos/api.generated/models/AccountExperienceColors.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/AccountExperienceConfiguration.d.ts +146 -0
- package/dist/lib/kratos/api.generated/models/AccountExperienceConfiguration.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/AccountExperienceThemeVariables.d.ts +573 -0
- package/dist/lib/kratos/api.generated/models/AccountExperienceThemeVariables.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ActiveProjectInConsole.d.ts +35 -0
- package/dist/lib/kratos/api.generated/models/ActiveProjectInConsole.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/AddProjectToWorkspaceBody.d.ts +67 -0
- package/dist/lib/kratos/api.generated/models/AddProjectToWorkspaceBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Attribute.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/Attribute.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/AttributeFilter.d.ts +60 -0
- package/dist/lib/kratos/api.generated/models/AttributeFilter.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/AttributesCountDatapoint.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/AttributesCountDatapoint.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/AuthenticatorAssuranceLevel.d.ts +35 -0
- package/dist/lib/kratos/api.generated/models/AuthenticatorAssuranceLevel.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/BatchCheckPermissionBody.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/BatchCheckPermissionBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/BatchCheckPermissionResult.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/BatchCheckPermissionResult.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/BatchPatchIdentitiesResponse.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/BatchPatchIdentitiesResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/BillingPeriodBucket.d.ts +36 -0
- package/dist/lib/kratos/api.generated/models/BillingPeriodBucket.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CheckOplSyntaxResult.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/CheckOplSyntaxResult.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CheckPermissionResult.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/CheckPermissionResult.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CheckPermissionResultWithError.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/CheckPermissionResultWithError.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CloudAccount.d.ts +51 -0
- package/dist/lib/kratos/api.generated/models/CloudAccount.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ConsistencyRequestParameters.d.ts +61 -0
- package/dist/lib/kratos/api.generated/models/ConsistencyRequestParameters.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ContinueWith.d.ts +26 -0
- package/dist/lib/kratos/api.generated/models/ContinueWith.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ContinueWithRecoveryUi.d.ts +38 -0
- package/dist/lib/kratos/api.generated/models/ContinueWithRecoveryUi.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ContinueWithRecoveryUiFlow.d.ts +41 -0
- package/dist/lib/kratos/api.generated/models/ContinueWithRecoveryUiFlow.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ContinueWithRedirectBrowserTo.d.ts +48 -0
- package/dist/lib/kratos/api.generated/models/ContinueWithRedirectBrowserTo.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ContinueWithSetOrySessionToken.d.ts +48 -0
- package/dist/lib/kratos/api.generated/models/ContinueWithSetOrySessionToken.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ContinueWithSettingsUi.d.ts +38 -0
- package/dist/lib/kratos/api.generated/models/ContinueWithSettingsUi.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ContinueWithSettingsUiFlow.d.ts +41 -0
- package/dist/lib/kratos/api.generated/models/ContinueWithSettingsUiFlow.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ContinueWithVerificationUi.d.ts +38 -0
- package/dist/lib/kratos/api.generated/models/ContinueWithVerificationUi.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ContinueWithVerificationUiFlow.d.ts +47 -0
- package/dist/lib/kratos/api.generated/models/ContinueWithVerificationUiFlow.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CourierMessageStatus.d.ts +29 -0
- package/dist/lib/kratos/api.generated/models/CourierMessageStatus.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CourierMessageType.d.ts +27 -0
- package/dist/lib/kratos/api.generated/models/CourierMessageType.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateCustomDomainBody.d.ts +57 -0
- package/dist/lib/kratos/api.generated/models/CreateCustomDomainBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateEventStreamBody.d.ts +53 -0
- package/dist/lib/kratos/api.generated/models/CreateEventStreamBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateFedcmFlowResponse.d.ts +29 -0
- package/dist/lib/kratos/api.generated/models/CreateFedcmFlowResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateIdentityBody.d.ts +95 -0
- package/dist/lib/kratos/api.generated/models/CreateIdentityBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateInviteResponse.d.ts +29 -0
- package/dist/lib/kratos/api.generated/models/CreateInviteResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateJsonWebKeySet.d.ts +54 -0
- package/dist/lib/kratos/api.generated/models/CreateJsonWebKeySet.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateProjectApiKeyRequest.d.ts +43 -0
- package/dist/lib/kratos/api.generated/models/CreateProjectApiKeyRequest.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateProjectBody.d.ts +85 -0
- package/dist/lib/kratos/api.generated/models/CreateProjectBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateProjectBranding.d.ts +53 -0
- package/dist/lib/kratos/api.generated/models/CreateProjectBranding.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateProjectMemberInviteBody.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/CreateProjectMemberInviteBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateProjectNormalizedPayload.d.ts +1893 -0
- package/dist/lib/kratos/api.generated/models/CreateProjectNormalizedPayload.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateRecoveryCodeForIdentityBody.d.ts +50 -0
- package/dist/lib/kratos/api.generated/models/CreateRecoveryCodeForIdentityBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateRecoveryLinkForIdentityBody.d.ts +44 -0
- package/dist/lib/kratos/api.generated/models/CreateRecoveryLinkForIdentityBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateRelationshipBody.d.ts +49 -0
- package/dist/lib/kratos/api.generated/models/CreateRelationshipBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateSubscriptionBody.d.ts +79 -0
- package/dist/lib/kratos/api.generated/models/CreateSubscriptionBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateSubscriptionCommon.d.ts +73 -0
- package/dist/lib/kratos/api.generated/models/CreateSubscriptionCommon.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateVerifiableCredentialRequestBody.d.ts +35 -0
- package/dist/lib/kratos/api.generated/models/CreateVerifiableCredentialRequestBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateWorkspaceApiKeyBody.d.ts +41 -0
- package/dist/lib/kratos/api.generated/models/CreateWorkspaceApiKeyBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateWorkspaceBody.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/CreateWorkspaceBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateWorkspaceMemberInviteBody.d.ts +50 -0
- package/dist/lib/kratos/api.generated/models/CreateWorkspaceMemberInviteBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CreateWorkspaceSubscriptionBody.d.ts +73 -0
- package/dist/lib/kratos/api.generated/models/CreateWorkspaceSubscriptionBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CredentialSupportedDraft00.d.ts +59 -0
- package/dist/lib/kratos/api.generated/models/CredentialSupportedDraft00.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/CustomDomain.d.ts +122 -0
- package/dist/lib/kratos/api.generated/models/CustomDomain.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/DeleteMySessionsCount.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/DeleteMySessionsCount.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/EmailTemplateData.d.ts +29 -0
- package/dist/lib/kratos/api.generated/models/EmailTemplateData.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/EmailTemplateDataBody.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/EmailTemplateDataBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ErrorAuthenticatorAssuranceLevelNotSatisfied.d.ts +29 -0
- package/dist/lib/kratos/api.generated/models/ErrorAuthenticatorAssuranceLevelNotSatisfied.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ErrorBrowserLocationChangeRequired.d.ts +29 -0
- package/dist/lib/kratos/api.generated/models/ErrorBrowserLocationChangeRequired.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ErrorFlowReplaced.d.ts +29 -0
- package/dist/lib/kratos/api.generated/models/ErrorFlowReplaced.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ErrorGeneric.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/ErrorGeneric.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ErrorOAuth2.d.ts +61 -0
- package/dist/lib/kratos/api.generated/models/ErrorOAuth2.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/EventStream.d.ts +63 -0
- package/dist/lib/kratos/api.generated/models/EventStream.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ExpandedPermissionTree.d.ts +58 -0
- package/dist/lib/kratos/api.generated/models/ExpandedPermissionTree.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/FlowError.d.ts +51 -0
- package/dist/lib/kratos/api.generated/models/FlowError.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/GenericError.d.ts +81 -0
- package/dist/lib/kratos/api.generated/models/GenericError.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/GenericErrorContent.d.ts +74 -0
- package/dist/lib/kratos/api.generated/models/GenericErrorContent.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/GenericUsage.d.ts +29 -0
- package/dist/lib/kratos/api.generated/models/GenericUsage.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/GetAttributesCountResponse.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/GetAttributesCountResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/GetManagedIdentitySchemaLocation.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/GetManagedIdentitySchemaLocation.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/GetMetricsEventAttributesResponse.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/GetMetricsEventAttributesResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/GetMetricsEventTypesResponse.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/GetMetricsEventTypesResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/GetOrganizationResponse.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/GetOrganizationResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/GetProjectEventsBody.d.ts +53 -0
- package/dist/lib/kratos/api.generated/models/GetProjectEventsBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/GetProjectEventsResponse.d.ts +29 -0
- package/dist/lib/kratos/api.generated/models/GetProjectEventsResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/GetProjectMetricsResponse.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/GetProjectMetricsResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/GetSessionActivityResponse.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/GetSessionActivityResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/GetVersion200Response.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/GetVersion200Response.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/HealthNotReadyStatus.d.ts +35 -0
- package/dist/lib/kratos/api.generated/models/HealthNotReadyStatus.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/HealthStatus.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/HealthStatus.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Identity.d.ts +125 -0
- package/dist/lib/kratos/api.generated/models/Identity.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityCredentials.d.ts +92 -0
- package/dist/lib/kratos/api.generated/models/IdentityCredentials.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityCredentialsCode.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/IdentityCredentialsCode.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityCredentialsCodeAddress.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/IdentityCredentialsCodeAddress.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityCredentialsOidc.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/IdentityCredentialsOidc.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityCredentialsOidcProvider.d.ts +69 -0
- package/dist/lib/kratos/api.generated/models/IdentityCredentialsOidcProvider.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityCredentialsPassword.d.ts +41 -0
- package/dist/lib/kratos/api.generated/models/IdentityCredentialsPassword.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityPatch.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/IdentityPatch.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityPatchResponse.d.ts +62 -0
- package/dist/lib/kratos/api.generated/models/IdentityPatchResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentitySchemaContainer.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/IdentitySchemaContainer.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentitySchemaPreset.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/IdentitySchemaPreset.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentials.d.ts +37 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentials.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentialsOidc.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentialsOidc.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentialsOidcConfig.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentialsOidcConfig.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentialsOidcConfigProvider.d.ts +51 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentialsOidcConfigProvider.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentialsPassword.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentialsPassword.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentialsPasswordConfig.d.ts +45 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentialsPasswordConfig.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentialsSaml.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentialsSaml.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentialsSamlConfig.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentialsSamlConfig.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentialsSamlConfigProvider.d.ts +45 -0
- package/dist/lib/kratos/api.generated/models/IdentityWithCredentialsSamlConfigProvider.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/InternalGetProjectBrandingBody.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/InternalGetProjectBrandingBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/InternalIsAXWelcomeScreenEnabledForProjectBody.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/InternalIsAXWelcomeScreenEnabledForProjectBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/InternalIsOwnerForProjectBySlugBody.d.ts +61 -0
- package/dist/lib/kratos/api.generated/models/InternalIsOwnerForProjectBySlugBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/InternalIsOwnerForProjectBySlugResponse.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/InternalIsOwnerForProjectBySlugResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IntrospectedOAuth2Token.d.ts +133 -0
- package/dist/lib/kratos/api.generated/models/IntrospectedOAuth2Token.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/InviteTokenBody.d.ts +37 -0
- package/dist/lib/kratos/api.generated/models/InviteTokenBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Invoice.d.ts +58 -0
- package/dist/lib/kratos/api.generated/models/Invoice.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/InvoiceDataV1.d.ts +91 -0
- package/dist/lib/kratos/api.generated/models/InvoiceDataV1.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/IsOwnerForProjectBySlug.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/IsOwnerForProjectBySlug.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/JsonPatch.d.ts +70 -0
- package/dist/lib/kratos/api.generated/models/JsonPatch.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/JsonWebKey.d.ts +154 -0
- package/dist/lib/kratos/api.generated/models/JsonWebKey.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/JsonWebKeySet.d.ts +29 -0
- package/dist/lib/kratos/api.generated/models/JsonWebKeySet.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/KetoNamespace.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/KetoNamespace.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/LineItemV1.d.ts +63 -0
- package/dist/lib/kratos/api.generated/models/LineItemV1.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ListEventStreams.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/ListEventStreams.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ListInvoicesResponse.d.ts +35 -0
- package/dist/lib/kratos/api.generated/models/ListInvoicesResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ListOrganizationsResponse.d.ts +35 -0
- package/dist/lib/kratos/api.generated/models/ListOrganizationsResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ListWorkspaceProjects.d.ts +35 -0
- package/dist/lib/kratos/api.generated/models/ListWorkspaceProjects.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ListWorkspaces.d.ts +35 -0
- package/dist/lib/kratos/api.generated/models/ListWorkspaces.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/LoginFlow.d.ts +173 -0
- package/dist/lib/kratos/api.generated/models/LoginFlow.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/LoginFlowState.d.ts +28 -0
- package/dist/lib/kratos/api.generated/models/LoginFlowState.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/LogoutFlow.d.ts +41 -0
- package/dist/lib/kratos/api.generated/models/LogoutFlow.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ManagedIdentitySchema.d.ts +77 -0
- package/dist/lib/kratos/api.generated/models/ManagedIdentitySchema.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ManagedIdentitySchemaValidationResult.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/ManagedIdentitySchemaValidationResult.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/MemberInvite.d.ts +115 -0
- package/dist/lib/kratos/api.generated/models/MemberInvite.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Message.d.ts +121 -0
- package/dist/lib/kratos/api.generated/models/Message.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/MessageDispatch.d.ts +76 -0
- package/dist/lib/kratos/api.generated/models/MessageDispatch.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/MetricsDatapoint.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/MetricsDatapoint.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Money.d.ts +45 -0
- package/dist/lib/kratos/api.generated/models/Money.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Namespace.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/Namespace.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/NeedsPrivilegedSessionError.d.ts +29 -0
- package/dist/lib/kratos/api.generated/models/NeedsPrivilegedSessionError.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProject.d.ts +141 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProject.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProjectRevision.d.ts +1843 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProjectRevision.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProjectRevisionCourierChannel.d.ts +128 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProjectRevisionCourierChannel.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProjectRevisionHook.d.ts +135 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProjectRevisionHook.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProjectRevisionIdentitySchema.d.ts +86 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProjectRevisionIdentitySchema.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProjectRevisionSAMLProvider.d.ts +101 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProjectRevisionSAMLProvider.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProjectRevisionScimClient.d.ts +90 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProjectRevisionScimClient.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProjectRevisionThirdPartyProvider.d.ts +244 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProjectRevisionThirdPartyProvider.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProjectRevisionTokenizerTemplate.d.ts +75 -0
- package/dist/lib/kratos/api.generated/models/NormalizedProjectRevisionTokenizerTemplate.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/OAuth2Client.d.ts +416 -0
- package/dist/lib/kratos/api.generated/models/OAuth2Client.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/OAuth2ClientTokenLifespans.d.ts +87 -0
- package/dist/lib/kratos/api.generated/models/OAuth2ClientTokenLifespans.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/OAuth2ConsentRequest.d.ts +112 -0
- package/dist/lib/kratos/api.generated/models/OAuth2ConsentRequest.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/OAuth2ConsentRequestOpenIDConnectContext.d.ts +82 -0
- package/dist/lib/kratos/api.generated/models/OAuth2ConsentRequestOpenIDConnectContext.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/OAuth2ConsentSession.d.ts +85 -0
- package/dist/lib/kratos/api.generated/models/OAuth2ConsentSession.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/OAuth2ConsentSessionExpiresAt.d.ts +57 -0
- package/dist/lib/kratos/api.generated/models/OAuth2ConsentSessionExpiresAt.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/OAuth2LoginRequest.d.ts +82 -0
- package/dist/lib/kratos/api.generated/models/OAuth2LoginRequest.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/OAuth2LogoutRequest.d.ts +65 -0
- package/dist/lib/kratos/api.generated/models/OAuth2LogoutRequest.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/OAuth2RedirectTo.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/OAuth2RedirectTo.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/OAuth2TokenExchange.d.ts +66 -0
- package/dist/lib/kratos/api.generated/models/OAuth2TokenExchange.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/OidcConfiguration.d.ts +282 -0
- package/dist/lib/kratos/api.generated/models/OidcConfiguration.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/OidcUserInfo.d.ts +141 -0
- package/dist/lib/kratos/api.generated/models/OidcUserInfo.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Organization.d.ts +63 -0
- package/dist/lib/kratos/api.generated/models/Organization.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/OrganizationBody.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/OrganizationBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Pagination.d.ts +45 -0
- package/dist/lib/kratos/api.generated/models/Pagination.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/PaginationHeaders.d.ts +45 -0
- package/dist/lib/kratos/api.generated/models/PaginationHeaders.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ParseError.d.ts +35 -0
- package/dist/lib/kratos/api.generated/models/ParseError.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/PatchIdentitiesBody.d.ts +25 -0
- package/dist/lib/kratos/api.generated/models/PatchIdentitiesBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/PerformNativeLogoutBody.d.ts +35 -0
- package/dist/lib/kratos/api.generated/models/PerformNativeLogoutBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/PermissionsOnWorkspace.d.ts +35 -0
- package/dist/lib/kratos/api.generated/models/PermissionsOnWorkspace.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Plan.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/Plan.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/PlanDetails.d.ts +67 -0
- package/dist/lib/kratos/api.generated/models/PlanDetails.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/PostCheckPermissionBody.d.ts +49 -0
- package/dist/lib/kratos/api.generated/models/PostCheckPermissionBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/PostCheckPermissionOrErrorBody.d.ts +49 -0
- package/dist/lib/kratos/api.generated/models/PostCheckPermissionOrErrorBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Project.d.ts +131 -0
- package/dist/lib/kratos/api.generated/models/Project.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ProjectApiKey.d.ts +77 -0
- package/dist/lib/kratos/api.generated/models/ProjectApiKey.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ProjectBranding.d.ts +53 -0
- package/dist/lib/kratos/api.generated/models/ProjectBranding.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ProjectBrandingColors.d.ts +201 -0
- package/dist/lib/kratos/api.generated/models/ProjectBrandingColors.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ProjectBrandingTheme.d.ts +261 -0
- package/dist/lib/kratos/api.generated/models/ProjectBrandingTheme.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ProjectCors.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/ProjectCors.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ProjectEventsDatapoint.d.ts +35 -0
- package/dist/lib/kratos/api.generated/models/ProjectEventsDatapoint.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ProjectHost.d.ts +45 -0
- package/dist/lib/kratos/api.generated/models/ProjectHost.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ProjectMember.d.ts +57 -0
- package/dist/lib/kratos/api.generated/models/ProjectMember.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ProjectMetadata.d.ts +140 -0
- package/dist/lib/kratos/api.generated/models/ProjectMetadata.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ProjectServiceIdentity.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/ProjectServiceIdentity.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ProjectServiceOAuth2.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/ProjectServiceOAuth2.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ProjectServicePermission.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/ProjectServicePermission.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/ProjectServices.d.ts +37 -0
- package/dist/lib/kratos/api.generated/models/ProjectServices.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Provider.d.ts +85 -0
- package/dist/lib/kratos/api.generated/models/Provider.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/QuotaUsage.d.ts +150 -0
- package/dist/lib/kratos/api.generated/models/QuotaUsage.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/RFC6749ErrorJson.d.ts +57 -0
- package/dist/lib/kratos/api.generated/models/RFC6749ErrorJson.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/RecoveryCodeForIdentity.d.ts +49 -0
- package/dist/lib/kratos/api.generated/models/RecoveryCodeForIdentity.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/RecoveryFlow.d.ts +94 -0
- package/dist/lib/kratos/api.generated/models/RecoveryFlow.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/RecoveryFlowState.d.ts +28 -0
- package/dist/lib/kratos/api.generated/models/RecoveryFlowState.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/RecoveryIdentityAddress.d.ts +57 -0
- package/dist/lib/kratos/api.generated/models/RecoveryIdentityAddress.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/RecoveryLinkForIdentity.d.ts +43 -0
- package/dist/lib/kratos/api.generated/models/RecoveryLinkForIdentity.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/RegistrationFlow.d.ts +144 -0
- package/dist/lib/kratos/api.generated/models/RegistrationFlow.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/RegistrationFlowState.d.ts +28 -0
- package/dist/lib/kratos/api.generated/models/RegistrationFlowState.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/RejectOAuth2Request.d.ts +62 -0
- package/dist/lib/kratos/api.generated/models/RejectOAuth2Request.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/RelationQuery.d.ts +49 -0
- package/dist/lib/kratos/api.generated/models/RelationQuery.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Relationship.d.ts +49 -0
- package/dist/lib/kratos/api.generated/models/Relationship.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/RelationshipNamespaces.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/RelationshipNamespaces.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/RelationshipPatch.d.ts +38 -0
- package/dist/lib/kratos/api.generated/models/RelationshipPatch.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Relationships.d.ts +31 -0
- package/dist/lib/kratos/api.generated/models/Relationships.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SchemaPatch.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/SchemaPatch.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SelfServiceFlowExpiredError.d.ts +43 -0
- package/dist/lib/kratos/api.generated/models/SelfServiceFlowExpiredError.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Session.d.ts +89 -0
- package/dist/lib/kratos/api.generated/models/Session.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SessionActivityDatapoint.d.ts +45 -0
- package/dist/lib/kratos/api.generated/models/SessionActivityDatapoint.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SessionAuthenticationMethod.d.ts +63 -0
- package/dist/lib/kratos/api.generated/models/SessionAuthenticationMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SessionDevice.d.ts +51 -0
- package/dist/lib/kratos/api.generated/models/SessionDevice.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SetActiveProjectInConsoleBody.d.ts +37 -0
- package/dist/lib/kratos/api.generated/models/SetActiveProjectInConsoleBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SetCustomDomainBody.d.ts +57 -0
- package/dist/lib/kratos/api.generated/models/SetCustomDomainBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SetEventStreamBody.d.ts +53 -0
- package/dist/lib/kratos/api.generated/models/SetEventStreamBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SetProject.d.ts +42 -0
- package/dist/lib/kratos/api.generated/models/SetProject.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SetProjectBrandingThemeBody.d.ts +53 -0
- package/dist/lib/kratos/api.generated/models/SetProjectBrandingThemeBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SettingsFlow.d.ts +106 -0
- package/dist/lib/kratos/api.generated/models/SettingsFlow.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SettingsFlowState.d.ts +27 -0
- package/dist/lib/kratos/api.generated/models/SettingsFlowState.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SourcePosition.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/SourcePosition.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SubjectSet.d.ts +45 -0
- package/dist/lib/kratos/api.generated/models/SubjectSet.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Subscription.d.ts +137 -0
- package/dist/lib/kratos/api.generated/models/Subscription.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SuccessfulCodeExchangeResponse.d.ts +36 -0
- package/dist/lib/kratos/api.generated/models/SuccessfulCodeExchangeResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SuccessfulNativeLogin.d.ts +46 -0
- package/dist/lib/kratos/api.generated/models/SuccessfulNativeLogin.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SuccessfulNativeRegistration.d.ts +55 -0
- package/dist/lib/kratos/api.generated/models/SuccessfulNativeRegistration.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/SuccessfulProjectUpdate.d.ts +38 -0
- package/dist/lib/kratos/api.generated/models/SuccessfulProjectUpdate.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/TaxLineItem.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/TaxLineItem.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/TimeInterval.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/TimeInterval.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/TokenPagination.d.ts +45 -0
- package/dist/lib/kratos/api.generated/models/TokenPagination.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/TokenPaginationHeaders.d.ts +45 -0
- package/dist/lib/kratos/api.generated/models/TokenPaginationHeaders.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/TokenPaginationRequestParameters.d.ts +48 -0
- package/dist/lib/kratos/api.generated/models/TokenPaginationRequestParameters.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/TokenPaginationResponseHeaders.d.ts +55 -0
- package/dist/lib/kratos/api.generated/models/TokenPaginationResponseHeaders.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/TrustOAuth2JwtGrantIssuer.d.ts +53 -0
- package/dist/lib/kratos/api.generated/models/TrustOAuth2JwtGrantIssuer.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/TrustedOAuth2JwtGrantIssuer.d.ts +65 -0
- package/dist/lib/kratos/api.generated/models/TrustedOAuth2JwtGrantIssuer.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/TrustedOAuth2JwtGrantJsonWebKey.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/TrustedOAuth2JwtGrantJsonWebKey.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UiContainer.d.ts +42 -0
- package/dist/lib/kratos/api.generated/models/UiContainer.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UiNode.d.ts +103 -0
- package/dist/lib/kratos/api.generated/models/UiNode.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UiNodeAnchorAttributes.d.ts +63 -0
- package/dist/lib/kratos/api.generated/models/UiNodeAnchorAttributes.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UiNodeAttributes.d.ts +29 -0
- package/dist/lib/kratos/api.generated/models/UiNodeAttributes.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UiNodeDivisionAttributes.d.ts +75 -0
- package/dist/lib/kratos/api.generated/models/UiNodeDivisionAttributes.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UiNodeImageAttributes.d.ts +79 -0
- package/dist/lib/kratos/api.generated/models/UiNodeImageAttributes.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UiNodeInputAttributes.d.ts +219 -0
- package/dist/lib/kratos/api.generated/models/UiNodeInputAttributes.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UiNodeMeta.d.ts +24 -0
- package/dist/lib/kratos/api.generated/models/UiNodeMeta.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UiNodeScriptAttributes.d.ts +105 -0
- package/dist/lib/kratos/api.generated/models/UiNodeScriptAttributes.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UiNodeTextAttributes.d.ts +55 -0
- package/dist/lib/kratos/api.generated/models/UiNodeTextAttributes.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UiText.d.ts +64 -0
- package/dist/lib/kratos/api.generated/models/UiText.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateFedcmFlowBody.d.ts +52 -0
- package/dist/lib/kratos/api.generated/models/UpdateFedcmFlowBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateIdentityBody.d.ts +68 -0
- package/dist/lib/kratos/api.generated/models/UpdateIdentityBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowBody.d.ts +38 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithCodeMethod.d.ts +71 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithCodeMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithIdentifierFirstMethod.d.ts +51 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithIdentifierFirstMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithLookupSecretMethod.d.ts +45 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithLookupSecretMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithOidcMethod.d.ts +93 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithOidcMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithPasskeyMethod.d.ts +47 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithPasskeyMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithPasswordMethod.d.ts +64 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithPasswordMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithSamlMethod.d.ts +53 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithSamlMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithTotpMethod.d.ts +51 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithTotpMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithWebAuthnMethod.d.ts +59 -0
- package/dist/lib/kratos/api.generated/models/UpdateLoginFlowWithWebAuthnMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateRecoveryFlowBody.d.ts +17 -0
- package/dist/lib/kratos/api.generated/models/UpdateRecoveryFlowBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateRecoveryFlowWithCodeMethod.d.ts +81 -0
- package/dist/lib/kratos/api.generated/models/UpdateRecoveryFlowWithCodeMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateRecoveryFlowWithLinkMethod.d.ts +70 -0
- package/dist/lib/kratos/api.generated/models/UpdateRecoveryFlowWithLinkMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateRegistrationFlowBody.d.ts +32 -0
- package/dist/lib/kratos/api.generated/models/UpdateRegistrationFlowBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateRegistrationFlowWithCodeMethod.d.ts +65 -0
- package/dist/lib/kratos/api.generated/models/UpdateRegistrationFlowWithCodeMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateRegistrationFlowWithOidcMethod.d.ts +93 -0
- package/dist/lib/kratos/api.generated/models/UpdateRegistrationFlowWithOidcMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateRegistrationFlowWithPasskeyMethod.d.ts +62 -0
- package/dist/lib/kratos/api.generated/models/UpdateRegistrationFlowWithPasskeyMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateRegistrationFlowWithPasswordMethod.d.ts +59 -0
- package/dist/lib/kratos/api.generated/models/UpdateRegistrationFlowWithPasswordMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateRegistrationFlowWithProfileMethod.d.ts +77 -0
- package/dist/lib/kratos/api.generated/models/UpdateRegistrationFlowWithProfileMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateRegistrationFlowWithSamlMethod.d.ts +59 -0
- package/dist/lib/kratos/api.generated/models/UpdateRegistrationFlowWithSamlMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateRegistrationFlowWithWebAuthnMethod.d.ts +70 -0
- package/dist/lib/kratos/api.generated/models/UpdateRegistrationFlowWithWebAuthnMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowBody.d.ts +35 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowWithLookupMethod.d.ts +71 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowWithLookupMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowWithOidcMethod.d.ts +91 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowWithOidcMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowWithPasskeyMethod.d.ts +58 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowWithPasskeyMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowWithPasswordMethod.d.ts +53 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowWithPasswordMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowWithProfileMethod.d.ts +57 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowWithProfileMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowWithSamlMethod.d.ts +85 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowWithSamlMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowWithTotpMethod.d.ts +61 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowWithTotpMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowWithWebAuthnMethod.d.ts +72 -0
- package/dist/lib/kratos/api.generated/models/UpdateSettingsFlowWithWebAuthnMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateSubscriptionBody.d.ts +56 -0
- package/dist/lib/kratos/api.generated/models/UpdateSubscriptionBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateVerificationFlowBody.d.ts +17 -0
- package/dist/lib/kratos/api.generated/models/UpdateVerificationFlowBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateVerificationFlowWithCodeMethod.d.ts +81 -0
- package/dist/lib/kratos/api.generated/models/UpdateVerificationFlowWithCodeMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateVerificationFlowWithLinkMethod.d.ts +70 -0
- package/dist/lib/kratos/api.generated/models/UpdateVerificationFlowWithLinkMethod.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/UpdateWorkspaceBody.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/UpdateWorkspaceBody.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Usage.d.ts +23 -0
- package/dist/lib/kratos/api.generated/models/Usage.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/VerifiableCredentialPrimingResponse.d.ts +75 -0
- package/dist/lib/kratos/api.generated/models/VerifiableCredentialPrimingResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/VerifiableCredentialProof.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/VerifiableCredentialProof.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/VerifiableCredentialResponse.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/VerifiableCredentialResponse.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/VerifiableIdentityAddress.d.ts +86 -0
- package/dist/lib/kratos/api.generated/models/VerifiableIdentityAddress.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/VerificationFlow.d.ts +91 -0
- package/dist/lib/kratos/api.generated/models/VerificationFlow.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/VerificationFlowState.d.ts +28 -0
- package/dist/lib/kratos/api.generated/models/VerificationFlowState.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Version.d.ts +33 -0
- package/dist/lib/kratos/api.generated/models/Version.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Warning.d.ts +39 -0
- package/dist/lib/kratos/api.generated/models/Warning.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/Workspace.d.ts +63 -0
- package/dist/lib/kratos/api.generated/models/Workspace.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/WorkspaceApiKey.d.ts +77 -0
- package/dist/lib/kratos/api.generated/models/WorkspaceApiKey.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/models/index.d.ts +284 -0
- package/dist/lib/kratos/api.generated/models/index.d.ts.map +1 -0
- package/dist/lib/kratos/api.generated/runtime.d.ts +183 -0
- package/dist/lib/kratos/api.generated/runtime.d.ts.map +1 -0
- package/dist/lib/kratos/contrib/continueWith.d.ts +52 -0
- package/dist/lib/kratos/contrib/continueWith.d.ts.map +1 -0
- package/dist/lib/kratos/contrib/error.d.ts +88 -0
- package/dist/lib/kratos/contrib/error.d.ts.map +1 -0
- package/dist/lib/kratos/contrib/flowTypes.d.ts +10 -0
- package/dist/lib/kratos/contrib/flowTypes.d.ts.map +1 -0
- package/dist/lib/kratos/contrib/index.d.ts +7 -0
- package/dist/lib/kratos/contrib/index.d.ts.map +1 -0
- package/dist/lib/kratos/contrib/ui.d.ts +64 -0
- package/dist/lib/kratos/contrib/ui.d.ts.map +1 -0
- package/dist/lib/kratos/contrib/urlHelpers.d.ts +26 -0
- package/dist/lib/kratos/contrib/urlHelpers.d.ts.map +1 -0
- package/dist/lib/kratos/contrib/utils.d.ts +33 -0
- package/dist/lib/kratos/contrib/utils.d.ts.map +1 -0
- package/dist/lib/kratos/index.d.ts +3 -0
- package/dist/lib/kratos/index.d.ts.map +1 -0
- package/dist/lib/sessionManager/baseSessionManager.d.ts +59 -0
- package/dist/lib/sessionManager/baseSessionManager.d.ts.map +1 -0
- package/dist/lib/sessionManager/index.d.ts +2 -0
- package/dist/lib/sessionManager/index.d.ts.map +1 -0
- package/dist/lib/sessionManager/types.d.ts +11 -0
- package/dist/lib/sessionManager/types.d.ts.map +1 -0
- package/dist/lib/types/index.d.ts +18 -0
- package/dist/lib/types/index.d.ts.map +1 -0
- package/dist/lib/utils/assertion.d.ts +10 -0
- package/dist/lib/utils/assertion.d.ts.map +1 -0
- package/dist/lib/utils/errors.d.ts +387 -0
- package/dist/lib/utils/errors.d.ts.map +1 -0
- package/dist/lib/utils/fields.d.ts +10 -0
- package/dist/lib/utils/fields.d.ts.map +1 -0
- package/dist/lib/utils/flow.d.ts +47 -0
- package/dist/lib/utils/flow.d.ts.map +1 -0
- package/dist/lib/utils/form.d.ts +13 -0
- package/dist/lib/utils/form.d.ts.map +1 -0
- package/dist/lib/utils/index.d.ts +10 -0
- package/dist/lib/utils/index.d.ts.map +1 -0
- package/dist/lib/utils/passkeys/credential.d.ts +14 -0
- package/dist/lib/utils/passkeys/credential.d.ts.map +1 -0
- package/dist/lib/utils/passkeys/guards.d.ts +4 -0
- package/dist/lib/utils/passkeys/guards.d.ts.map +1 -0
- package/dist/lib/utils/passkeys/helpers.d.ts +3 -0
- package/dist/lib/utils/passkeys/helpers.d.ts.map +1 -0
- package/dist/lib/utils/passkeys/index.d.ts +5 -0
- package/dist/lib/utils/passkeys/index.d.ts.map +1 -0
- package/dist/lib/utils/passkeys/types.d.ts +32 -0
- package/dist/lib/utils/passkeys/types.d.ts.map +1 -0
- package/dist/lib/utils/query.d.ts +4 -0
- package/dist/lib/utils/query.d.ts.map +1 -0
- package/dist/lib/utils/searchQuery.d.ts +7 -0
- package/dist/lib/utils/searchQuery.d.ts.map +1 -0
- package/dist/lib/utils/traits.d.ts +6 -0
- package/dist/lib/utils/traits.d.ts.map +1 -0
- package/package.json +20 -15
- package/index.cjs.default.js +0 -1
- package/index.cjs.js +0 -17568
- package/index.cjs.mjs +0 -2
- package/index.d.ts +0 -1
- package/index.esm.js +0 -17540
- package/src/index.d.ts +0 -5
- package/src/lib/factories/index.d.ts +0 -1
- package/src/lib/factories/mkKratos.d.ts +0 -292
- package/src/lib/flows/fields/Submit.d.ts +0 -6
- package/src/lib/flows/fields/index.d.ts +0 -1
- package/src/lib/flows/index.d.ts +0 -6
- package/src/lib/flows/login/chooseMethodForm/ChooseMethodFormWrapper.d.ts +0 -57
- package/src/lib/flows/login/chooseMethodForm/chooseMethodFormContext.d.ts +0 -10
- package/src/lib/flows/login/chooseMethodForm/fields/Identifier.d.ts +0 -6
- package/src/lib/flows/login/chooseMethodForm/fields/Oidc.d.ts +0 -13
- package/src/lib/flows/login/chooseMethodForm/fields/Passkey.d.ts +0 -9
- package/src/lib/flows/login/chooseMethodForm/fields/Password.d.ts +0 -6
- package/src/lib/flows/login/chooseMethodForm/fields/index.d.ts +0 -4
- package/src/lib/flows/login/chooseMethodForm/index.d.ts +0 -1
- package/src/lib/flows/login/chooseMethodForm/types.d.ts +0 -4
- package/src/lib/flows/login/chooseMethodForm/usePasswordForm.d.ts +0 -40
- package/src/lib/flows/login/hooks/index.d.ts +0 -5
- package/src/lib/flows/login/hooks/queryKeys.d.ts +0 -1
- package/src/lib/flows/login/hooks/useCreateLoginFlow.d.ts +0 -5
- package/src/lib/flows/login/hooks/useExistingIdentifierFromFlow.d.ts +0 -1
- package/src/lib/flows/login/hooks/useGetLoginFlow.d.ts +0 -2
- package/src/lib/flows/login/hooks/useLoginFlowContext.d.ts +0 -11
- package/src/lib/flows/login/hooks/useUpdateLoginFlow.d.ts +0 -2
- package/src/lib/flows/login/index.d.ts +0 -5
- package/src/lib/flows/login/loginFlow.d.ts +0 -60
- package/src/lib/flows/login/secondFactorEmailForm/SecondFactorEmailFormWrapper.d.ts +0 -24
- package/src/lib/flows/login/secondFactorEmailForm/fields/Code.d.ts +0 -6
- package/src/lib/flows/login/secondFactorEmailForm/fields/Resend.d.ts +0 -6
- package/src/lib/flows/login/secondFactorEmailForm/fields/index.d.ts +0 -2
- package/src/lib/flows/login/secondFactorEmailForm/index.d.ts +0 -1
- package/src/lib/flows/login/secondFactorEmailForm/secondFactorEmailFormContext.d.ts +0 -10
- package/src/lib/flows/login/secondFactorEmailForm/types.d.ts +0 -3
- package/src/lib/flows/login/secondFactorEmailForm/useCodeForm.d.ts +0 -29
- package/src/lib/flows/login/secondFactorForm/SecondFactorFormWrapper.d.ts +0 -37
- package/src/lib/flows/login/secondFactorForm/fields/Email.d.ts +0 -6
- package/src/lib/flows/login/secondFactorForm/fields/Totp.d.ts +0 -6
- package/src/lib/flows/login/secondFactorForm/fields/index.d.ts +0 -2
- package/src/lib/flows/login/secondFactorForm/index.d.ts +0 -1
- package/src/lib/flows/login/secondFactorForm/secondFactorFormContext.d.ts +0 -10
- package/src/lib/flows/login/secondFactorForm/types.d.ts +0 -3
- package/src/lib/flows/login/secondFactorForm/useTotpForm.d.ts +0 -29
- package/src/lib/flows/login/types.d.ts +0 -6
- package/src/lib/flows/logout/index.d.ts +0 -1
- package/src/lib/flows/logout/useLogout.d.ts +0 -32
- package/src/lib/flows/recovery/codeForm/CodeFormWrapper.d.ts +0 -20
- package/src/lib/flows/recovery/codeForm/codeFormContext.d.ts +0 -10
- package/src/lib/flows/recovery/codeForm/fields/Code.d.ts +0 -6
- package/src/lib/flows/recovery/codeForm/fields/index.d.ts +0 -1
- package/src/lib/flows/recovery/codeForm/index.d.ts +0 -1
- package/src/lib/flows/recovery/codeForm/types.d.ts +0 -3
- package/src/lib/flows/recovery/codeForm/useCodeForm.d.ts +0 -28
- package/src/lib/flows/recovery/emailForm/EmailFormWrapper.d.ts +0 -20
- package/src/lib/flows/recovery/emailForm/emailFormContext.d.ts +0 -10
- package/src/lib/flows/recovery/emailForm/fields/Email.d.ts +0 -6
- package/src/lib/flows/recovery/emailForm/fields/index.d.ts +0 -1
- package/src/lib/flows/recovery/emailForm/index.d.ts +0 -1
- package/src/lib/flows/recovery/emailForm/types.d.ts +0 -3
- package/src/lib/flows/recovery/emailForm/useEmailForm.d.ts +0 -28
- package/src/lib/flows/recovery/hooks/index.d.ts +0 -4
- package/src/lib/flows/recovery/hooks/queryKeys.d.ts +0 -1
- package/src/lib/flows/recovery/hooks/useCreateRecoveryFlow.d.ts +0 -3
- package/src/lib/flows/recovery/hooks/useGetRecoveryFlow.d.ts +0 -2
- package/src/lib/flows/recovery/hooks/useRecoveryFlowContext.d.ts +0 -11
- package/src/lib/flows/recovery/hooks/useUpdateRecoveryFlow.d.ts +0 -2
- package/src/lib/flows/recovery/index.d.ts +0 -4
- package/src/lib/flows/recovery/recoveryFlow.d.ts +0 -49
- package/src/lib/flows/recovery/types.d.ts +0 -5
- package/src/lib/flows/registration/chooseMethodForm/ChooseMethodFormWrapper.d.ts +0 -32
- package/src/lib/flows/registration/chooseMethodForm/chooseMethodFormContext.d.ts +0 -10
- package/src/lib/flows/registration/chooseMethodForm/fields/Passkey.d.ts +0 -10
- package/src/lib/flows/registration/chooseMethodForm/fields/Password.d.ts +0 -6
- package/src/lib/flows/registration/chooseMethodForm/fields/PasswordConfirmation.d.ts +0 -9
- package/src/lib/flows/registration/chooseMethodForm/fields/ReturnToTraitsForm.d.ts +0 -6
- package/src/lib/flows/registration/chooseMethodForm/fields/index.d.ts +0 -4
- package/src/lib/flows/registration/chooseMethodForm/index.d.ts +0 -1
- package/src/lib/flows/registration/chooseMethodForm/types.d.ts +0 -4
- package/src/lib/flows/registration/chooseMethodForm/useChooseMethodForm.d.ts +0 -41
- package/src/lib/flows/registration/hooks/index.d.ts +0 -4
- package/src/lib/flows/registration/hooks/queryKeys.d.ts +0 -1
- package/src/lib/flows/registration/hooks/useCreateRegistrationFlow.d.ts +0 -3
- package/src/lib/flows/registration/hooks/useGetRegistrationFlow.d.ts +0 -2
- package/src/lib/flows/registration/hooks/useRegistrationFlowContext.d.ts +0 -15
- package/src/lib/flows/registration/hooks/useUpdateRegistrationFlow.d.ts +0 -2
- package/src/lib/flows/registration/index.d.ts +0 -4
- package/src/lib/flows/registration/registrationFlow.d.ts +0 -61
- package/src/lib/flows/registration/traitsForm/TraitsFormWrapper.d.ts +0 -38
- package/src/lib/flows/registration/traitsForm/fields/Oidc.d.ts +0 -13
- package/src/lib/flows/registration/traitsForm/fields/Trait.d.ts +0 -8
- package/src/lib/flows/registration/traitsForm/fields/index.d.ts +0 -2
- package/src/lib/flows/registration/traitsForm/index.d.ts +0 -1
- package/src/lib/flows/registration/traitsForm/traitsFormContext.d.ts +0 -10
- package/src/lib/flows/registration/traitsForm/useTraitsForm.d.ts +0 -31
- package/src/lib/flows/registration/types.d.ts +0 -4
- package/src/lib/flows/settings/hooks/index.d.ts +0 -4
- package/src/lib/flows/settings/hooks/queryKeys.d.ts +0 -1
- package/src/lib/flows/settings/hooks/useCreateSettingsFlow.d.ts +0 -1
- package/src/lib/flows/settings/hooks/useGetSettingsFlow.d.ts +0 -2
- package/src/lib/flows/settings/hooks/useSettingsFlowContext.d.ts +0 -13
- package/src/lib/flows/settings/hooks/useUpdateSettingsFlow.d.ts +0 -2
- package/src/lib/flows/settings/index.d.ts +0 -8
- package/src/lib/flows/settings/newPasswordForm/NewPasswordFormWrapper.d.ts +0 -27
- package/src/lib/flows/settings/newPasswordForm/fields/Password.d.ts +0 -6
- package/src/lib/flows/settings/newPasswordForm/fields/PasswordConfirmation.d.ts +0 -9
- package/src/lib/flows/settings/newPasswordForm/fields/index.d.ts +0 -2
- package/src/lib/flows/settings/newPasswordForm/index.d.ts +0 -1
- package/src/lib/flows/settings/newPasswordForm/newPasswordFormContext.d.ts +0 -10
- package/src/lib/flows/settings/newPasswordForm/types.d.ts +0 -4
- package/src/lib/flows/settings/newPasswordForm/useNewPasswordForm.d.ts +0 -41
- package/src/lib/flows/settings/oidcForm/OidcFormWrapper.d.ts +0 -15
- package/src/lib/flows/settings/oidcForm/fields/Oidc.d.ts +0 -12
- package/src/lib/flows/settings/oidcForm/fields/index.d.ts +0 -1
- package/src/lib/flows/settings/oidcForm/index.d.ts +0 -2
- package/src/lib/flows/settings/oidcForm/providers.d.ts +0 -3
- package/src/lib/flows/settings/passkeysForm/PasskeysFormWrapper.d.ts +0 -18
- package/src/lib/flows/settings/passkeysForm/fields/AddPasskey.d.ts +0 -6
- package/src/lib/flows/settings/passkeysForm/fields/index.d.ts +0 -1
- package/src/lib/flows/settings/passkeysForm/hooks/index.d.ts +0 -1
- package/src/lib/flows/settings/passkeysForm/hooks/usePasskeys.d.ts +0 -5
- package/src/lib/flows/settings/passkeysForm/index.d.ts +0 -1
- package/src/lib/flows/settings/settingsFlow.d.ts +0 -73
- package/src/lib/flows/settings/totpForm/TotpFormFormWrapper.d.ts +0 -41
- package/src/lib/flows/settings/totpForm/fields/Code.d.ts +0 -6
- package/src/lib/flows/settings/totpForm/fields/Unlink.d.ts +0 -6
- package/src/lib/flows/settings/totpForm/fields/index.d.ts +0 -2
- package/src/lib/flows/settings/totpForm/index.d.ts +0 -1
- package/src/lib/flows/settings/totpForm/totpFormContext.d.ts +0 -10
- package/src/lib/flows/settings/totpForm/types.d.ts +0 -3
- package/src/lib/flows/settings/totpForm/useTotpForm.d.ts +0 -30
- package/src/lib/flows/settings/traitsForm/TraitsFormWrapper.d.ts +0 -30
- package/src/lib/flows/settings/traitsForm/fields/Trait.d.ts +0 -8
- package/src/lib/flows/settings/traitsForm/fields/index.d.ts +0 -1
- package/src/lib/flows/settings/traitsForm/index.d.ts +0 -1
- package/src/lib/flows/settings/traitsForm/traitsFormContext.d.ts +0 -10
- package/src/lib/flows/settings/traitsForm/types.d.ts +0 -3
- package/src/lib/flows/settings/traitsForm/useTraitsForm.d.ts +0 -31
- package/src/lib/flows/settings/types.d.ts +0 -4
- package/src/lib/flows/verification/emailVerificationForm/EmailVerificationFormWrapper.d.ts +0 -24
- package/src/lib/flows/verification/emailVerificationForm/emailVerificationFormContext.d.ts +0 -10
- package/src/lib/flows/verification/emailVerificationForm/fields/Code.d.ts +0 -6
- package/src/lib/flows/verification/emailVerificationForm/fields/Resend.d.ts +0 -6
- package/src/lib/flows/verification/emailVerificationForm/fields/index.d.ts +0 -2
- package/src/lib/flows/verification/emailVerificationForm/index.d.ts +0 -1
- package/src/lib/flows/verification/emailVerificationForm/types.d.ts +0 -3
- package/src/lib/flows/verification/emailVerificationForm/useEmailVerificationForm.d.ts +0 -29
- package/src/lib/flows/verification/hooks/index.d.ts +0 -4
- package/src/lib/flows/verification/hooks/queryKeys.d.ts +0 -1
- package/src/lib/flows/verification/hooks/useCreateVerificationFlow.d.ts +0 -3
- package/src/lib/flows/verification/hooks/useGetVerificationFlow.d.ts +0 -2
- package/src/lib/flows/verification/hooks/useUpdateVerificationFlow.d.ts +0 -2
- package/src/lib/flows/verification/hooks/useVerificationFlowContext.d.ts +0 -13
- package/src/lib/flows/verification/index.d.ts +0 -4
- package/src/lib/flows/verification/types.d.ts +0 -3
- package/src/lib/flows/verification/verificationFlow.d.ts +0 -41
- package/src/lib/hooks/index.d.ts +0 -4
- package/src/lib/hooks/useFlowManager.d.ts +0 -11
- package/src/lib/hooks/useFormErrors.d.ts +0 -2
- package/src/lib/hooks/useKratosClientContext.d.ts +0 -12
- package/src/lib/hooks/useKratosSessionContext.d.ts +0 -13
- package/src/lib/kratos/api.generated/apis/CourierApi.d.ts +0 -86
- package/src/lib/kratos/api.generated/apis/EventsApi.d.ts +0 -133
- package/src/lib/kratos/api.generated/apis/FrontendApi.d.ts +0 -979
- package/src/lib/kratos/api.generated/apis/IdentityApi.d.ts +0 -630
- package/src/lib/kratos/api.generated/apis/JwkApi.d.ts +0 -227
- package/src/lib/kratos/api.generated/apis/MetadataApi.d.ts +0 -49
- package/src/lib/kratos/api.generated/apis/OAuth2Api.d.ts +0 -830
- package/src/lib/kratos/api.generated/apis/OidcApi.d.ts +0 -232
- package/src/lib/kratos/api.generated/apis/PermissionApi.d.ts +0 -228
- package/src/lib/kratos/api.generated/apis/ProjectApi.d.ts +0 -511
- package/src/lib/kratos/api.generated/apis/RelationshipApi.d.ts +0 -212
- package/src/lib/kratos/api.generated/apis/WellknownApi.d.ts +0 -49
- package/src/lib/kratos/api.generated/apis/WorkspaceApi.d.ts +0 -244
- package/src/lib/kratos/api.generated/apis/index.d.ts +0 -13
- package/src/lib/kratos/api.generated/index.d.ts +0 -3
- package/src/lib/kratos/api.generated/models/AcceptOAuth2ConsentRequest.d.ts +0 -71
- package/src/lib/kratos/api.generated/models/AcceptOAuth2ConsentRequestSession.d.ts +0 -42
- package/src/lib/kratos/api.generated/models/AcceptOAuth2LoginRequest.d.ts +0 -105
- package/src/lib/kratos/api.generated/models/AccountExperienceColors.d.ts +0 -884
- package/src/lib/kratos/api.generated/models/AccountExperienceConfiguration.d.ts +0 -145
- package/src/lib/kratos/api.generated/models/AccountExperienceThemeVariables.d.ts +0 -572
- package/src/lib/kratos/api.generated/models/ActiveProjectInConsole.d.ts +0 -34
- package/src/lib/kratos/api.generated/models/AddProjectToWorkspaceBody.d.ts +0 -66
- package/src/lib/kratos/api.generated/models/Attribute.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/AttributeFilter.d.ts +0 -59
- package/src/lib/kratos/api.generated/models/AttributesCountDatapoint.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/AuthenticatorAssuranceLevel.d.ts +0 -34
- package/src/lib/kratos/api.generated/models/BatchCheckPermissionBody.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/BatchCheckPermissionResult.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/BatchPatchIdentitiesResponse.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/BillingPeriodBucket.d.ts +0 -46
- package/src/lib/kratos/api.generated/models/CheckOplSyntaxResult.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/CheckPermissionResult.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/CheckPermissionResultWithError.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/CloudAccount.d.ts +0 -50
- package/src/lib/kratos/api.generated/models/ConsistencyRequestParameters.d.ts +0 -60
- package/src/lib/kratos/api.generated/models/ContinueWith.d.ts +0 -36
- package/src/lib/kratos/api.generated/models/ContinueWithRecoveryUi.d.ts +0 -48
- package/src/lib/kratos/api.generated/models/ContinueWithRecoveryUiFlow.d.ts +0 -40
- package/src/lib/kratos/api.generated/models/ContinueWithRedirectBrowserTo.d.ts +0 -47
- package/src/lib/kratos/api.generated/models/ContinueWithSetOrySessionToken.d.ts +0 -47
- package/src/lib/kratos/api.generated/models/ContinueWithSettingsUi.d.ts +0 -48
- package/src/lib/kratos/api.generated/models/ContinueWithSettingsUiFlow.d.ts +0 -40
- package/src/lib/kratos/api.generated/models/ContinueWithVerificationUi.d.ts +0 -48
- package/src/lib/kratos/api.generated/models/ContinueWithVerificationUiFlow.d.ts +0 -46
- package/src/lib/kratos/api.generated/models/CourierMessageStatus.d.ts +0 -28
- package/src/lib/kratos/api.generated/models/CourierMessageType.d.ts +0 -26
- package/src/lib/kratos/api.generated/models/CreateCustomDomainBody.d.ts +0 -56
- package/src/lib/kratos/api.generated/models/CreateEventStreamBody.d.ts +0 -52
- package/src/lib/kratos/api.generated/models/CreateFedcmFlowResponse.d.ts +0 -39
- package/src/lib/kratos/api.generated/models/CreateIdentityBody.d.ts +0 -105
- package/src/lib/kratos/api.generated/models/CreateInviteResponse.d.ts +0 -39
- package/src/lib/kratos/api.generated/models/CreateJsonWebKeySet.d.ts +0 -53
- package/src/lib/kratos/api.generated/models/CreateProjectApiKeyRequest.d.ts +0 -42
- package/src/lib/kratos/api.generated/models/CreateProjectBody.d.ts +0 -84
- package/src/lib/kratos/api.generated/models/CreateProjectBranding.d.ts +0 -63
- package/src/lib/kratos/api.generated/models/CreateProjectMemberInviteBody.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/CreateProjectNormalizedPayload.d.ts +0 -1903
- package/src/lib/kratos/api.generated/models/CreateRecoveryCodeForIdentityBody.d.ts +0 -49
- package/src/lib/kratos/api.generated/models/CreateRecoveryLinkForIdentityBody.d.ts +0 -43
- package/src/lib/kratos/api.generated/models/CreateRelationshipBody.d.ts +0 -59
- package/src/lib/kratos/api.generated/models/CreateSubscriptionBody.d.ts +0 -78
- package/src/lib/kratos/api.generated/models/CreateSubscriptionCommon.d.ts +0 -72
- package/src/lib/kratos/api.generated/models/CreateVerifiableCredentialRequestBody.d.ts +0 -45
- package/src/lib/kratos/api.generated/models/CreateWorkspaceApiKeyBody.d.ts +0 -40
- package/src/lib/kratos/api.generated/models/CreateWorkspaceBody.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/CreateWorkspaceMemberInviteBody.d.ts +0 -49
- package/src/lib/kratos/api.generated/models/CreateWorkspaceSubscriptionBody.d.ts +0 -72
- package/src/lib/kratos/api.generated/models/CredentialSupportedDraft00.d.ts +0 -58
- package/src/lib/kratos/api.generated/models/CustomDomain.d.ts +0 -121
- package/src/lib/kratos/api.generated/models/DeleteMySessionsCount.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/EmailTemplateData.d.ts +0 -39
- package/src/lib/kratos/api.generated/models/EmailTemplateDataBody.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/ErrorAuthenticatorAssuranceLevelNotSatisfied.d.ts +0 -39
- package/src/lib/kratos/api.generated/models/ErrorBrowserLocationChangeRequired.d.ts +0 -39
- package/src/lib/kratos/api.generated/models/ErrorFlowReplaced.d.ts +0 -39
- package/src/lib/kratos/api.generated/models/ErrorGeneric.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/ErrorOAuth2.d.ts +0 -60
- package/src/lib/kratos/api.generated/models/EventStream.d.ts +0 -62
- package/src/lib/kratos/api.generated/models/ExpandedPermissionTree.d.ts +0 -68
- package/src/lib/kratos/api.generated/models/FlowError.d.ts +0 -50
- package/src/lib/kratos/api.generated/models/GenericError.d.ts +0 -91
- package/src/lib/kratos/api.generated/models/GenericErrorContent.d.ts +0 -73
- package/src/lib/kratos/api.generated/models/GenericUsage.d.ts +0 -39
- package/src/lib/kratos/api.generated/models/GetAttributesCountResponse.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/GetManagedIdentitySchemaLocation.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/GetMetricsEventAttributesResponse.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/GetMetricsEventTypesResponse.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/GetOrganizationResponse.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/GetProjectEventsBody.d.ts +0 -63
- package/src/lib/kratos/api.generated/models/GetProjectEventsResponse.d.ts +0 -39
- package/src/lib/kratos/api.generated/models/GetProjectMetricsResponse.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/GetSessionActivityResponse.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/GetVersion200Response.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/HealthNotReadyStatus.d.ts +0 -34
- package/src/lib/kratos/api.generated/models/HealthStatus.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/Identity.d.ts +0 -135
- package/src/lib/kratos/api.generated/models/IdentityCredentials.d.ts +0 -91
- package/src/lib/kratos/api.generated/models/IdentityCredentialsCode.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/IdentityCredentialsCodeAddress.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/IdentityCredentialsOidc.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/IdentityCredentialsOidcProvider.d.ts +0 -68
- package/src/lib/kratos/api.generated/models/IdentityCredentialsPassword.d.ts +0 -40
- package/src/lib/kratos/api.generated/models/IdentityPatch.d.ts +0 -43
- package/src/lib/kratos/api.generated/models/IdentityPatchResponse.d.ts +0 -61
- package/src/lib/kratos/api.generated/models/IdentitySchemaContainer.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/IdentitySchemaPreset.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/IdentityWithCredentials.d.ts +0 -47
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsOidc.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsOidcConfig.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsOidcConfigProvider.d.ts +0 -50
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsPassword.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsPasswordConfig.d.ts +0 -44
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsSaml.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsSamlConfig.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsSamlConfigProvider.d.ts +0 -44
- package/src/lib/kratos/api.generated/models/InternalGetProjectBrandingBody.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/InternalIsAXWelcomeScreenEnabledForProjectBody.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/InternalIsOwnerForProjectBySlugBody.d.ts +0 -60
- package/src/lib/kratos/api.generated/models/InternalIsOwnerForProjectBySlugResponse.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/IntrospectedOAuth2Token.d.ts +0 -132
- package/src/lib/kratos/api.generated/models/InviteTokenBody.d.ts +0 -36
- package/src/lib/kratos/api.generated/models/Invoice.d.ts +0 -68
- package/src/lib/kratos/api.generated/models/InvoiceDataV1.d.ts +0 -101
- package/src/lib/kratos/api.generated/models/IsOwnerForProjectBySlug.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/JsonPatch.d.ts +0 -69
- package/src/lib/kratos/api.generated/models/JsonWebKey.d.ts +0 -153
- package/src/lib/kratos/api.generated/models/JsonWebKeySet.d.ts +0 -39
- package/src/lib/kratos/api.generated/models/KetoNamespace.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/LineItemV1.d.ts +0 -62
- package/src/lib/kratos/api.generated/models/ListEventStreams.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/ListInvoicesResponse.d.ts +0 -45
- package/src/lib/kratos/api.generated/models/ListOrganizationsResponse.d.ts +0 -45
- package/src/lib/kratos/api.generated/models/ListWorkspaceProjects.d.ts +0 -45
- package/src/lib/kratos/api.generated/models/ListWorkspaces.d.ts +0 -45
- package/src/lib/kratos/api.generated/models/LoginFlow.d.ts +0 -183
- package/src/lib/kratos/api.generated/models/LoginFlowState.d.ts +0 -27
- package/src/lib/kratos/api.generated/models/LogoutFlow.d.ts +0 -40
- package/src/lib/kratos/api.generated/models/ManagedIdentitySchema.d.ts +0 -76
- package/src/lib/kratos/api.generated/models/ManagedIdentitySchemaValidationResult.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/MemberInvite.d.ts +0 -114
- package/src/lib/kratos/api.generated/models/Message.d.ts +0 -131
- package/src/lib/kratos/api.generated/models/MessageDispatch.d.ts +0 -75
- package/src/lib/kratos/api.generated/models/MetricsDatapoint.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/Money.d.ts +0 -44
- package/src/lib/kratos/api.generated/models/Namespace.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/NeedsPrivilegedSessionError.d.ts +0 -39
- package/src/lib/kratos/api.generated/models/NormalizedProject.d.ts +0 -151
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevision.d.ts +0 -1853
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionCourierChannel.d.ts +0 -127
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionHook.d.ts +0 -134
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionIdentitySchema.d.ts +0 -96
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionSAMLProvider.d.ts +0 -100
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionScimClient.d.ts +0 -89
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionThirdPartyProvider.d.ts +0 -243
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionTokenizerTemplate.d.ts +0 -74
- package/src/lib/kratos/api.generated/models/OAuth2Client.d.ts +0 -415
- package/src/lib/kratos/api.generated/models/OAuth2ClientTokenLifespans.d.ts +0 -86
- package/src/lib/kratos/api.generated/models/OAuth2ConsentRequest.d.ts +0 -122
- package/src/lib/kratos/api.generated/models/OAuth2ConsentRequestOpenIDConnectContext.d.ts +0 -81
- package/src/lib/kratos/api.generated/models/OAuth2ConsentSession.d.ts +0 -95
- package/src/lib/kratos/api.generated/models/OAuth2ConsentSessionExpiresAt.d.ts +0 -56
- package/src/lib/kratos/api.generated/models/OAuth2LoginRequest.d.ts +0 -92
- package/src/lib/kratos/api.generated/models/OAuth2LogoutRequest.d.ts +0 -75
- package/src/lib/kratos/api.generated/models/OAuth2RedirectTo.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/OAuth2TokenExchange.d.ts +0 -65
- package/src/lib/kratos/api.generated/models/OidcConfiguration.d.ts +0 -292
- package/src/lib/kratos/api.generated/models/OidcUserInfo.d.ts +0 -140
- package/src/lib/kratos/api.generated/models/Organization.d.ts +0 -62
- package/src/lib/kratos/api.generated/models/OrganizationBody.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/Pagination.d.ts +0 -44
- package/src/lib/kratos/api.generated/models/PaginationHeaders.d.ts +0 -44
- package/src/lib/kratos/api.generated/models/ParseError.d.ts +0 -45
- package/src/lib/kratos/api.generated/models/PatchIdentitiesBody.d.ts +0 -35
- package/src/lib/kratos/api.generated/models/PerformNativeLogoutBody.d.ts +0 -34
- package/src/lib/kratos/api.generated/models/PermissionsOnWorkspace.d.ts +0 -34
- package/src/lib/kratos/api.generated/models/Plan.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/PlanDetails.d.ts +0 -77
- package/src/lib/kratos/api.generated/models/PostCheckPermissionBody.d.ts +0 -59
- package/src/lib/kratos/api.generated/models/PostCheckPermissionOrErrorBody.d.ts +0 -59
- package/src/lib/kratos/api.generated/models/Project.d.ts +0 -141
- package/src/lib/kratos/api.generated/models/ProjectApiKey.d.ts +0 -76
- package/src/lib/kratos/api.generated/models/ProjectBranding.d.ts +0 -63
- package/src/lib/kratos/api.generated/models/ProjectBrandingColors.d.ts +0 -200
- package/src/lib/kratos/api.generated/models/ProjectBrandingTheme.d.ts +0 -271
- package/src/lib/kratos/api.generated/models/ProjectCors.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/ProjectEventsDatapoint.d.ts +0 -45
- package/src/lib/kratos/api.generated/models/ProjectHost.d.ts +0 -44
- package/src/lib/kratos/api.generated/models/ProjectMember.d.ts +0 -56
- package/src/lib/kratos/api.generated/models/ProjectMetadata.d.ts +0 -150
- package/src/lib/kratos/api.generated/models/ProjectServiceIdentity.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/ProjectServiceOAuth2.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/ProjectServicePermission.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/ProjectServices.d.ts +0 -47
- package/src/lib/kratos/api.generated/models/Provider.d.ts +0 -84
- package/src/lib/kratos/api.generated/models/QuotaUsage.d.ts +0 -149
- package/src/lib/kratos/api.generated/models/RFC6749ErrorJson.d.ts +0 -56
- package/src/lib/kratos/api.generated/models/RecoveryCodeForIdentity.d.ts +0 -48
- package/src/lib/kratos/api.generated/models/RecoveryFlow.d.ts +0 -104
- package/src/lib/kratos/api.generated/models/RecoveryFlowState.d.ts +0 -27
- package/src/lib/kratos/api.generated/models/RecoveryIdentityAddress.d.ts +0 -56
- package/src/lib/kratos/api.generated/models/RecoveryLinkForIdentity.d.ts +0 -42
- package/src/lib/kratos/api.generated/models/RegistrationFlow.d.ts +0 -154
- package/src/lib/kratos/api.generated/models/RegistrationFlowState.d.ts +0 -27
- package/src/lib/kratos/api.generated/models/RejectOAuth2Request.d.ts +0 -61
- package/src/lib/kratos/api.generated/models/RelationQuery.d.ts +0 -59
- package/src/lib/kratos/api.generated/models/Relationship.d.ts +0 -59
- package/src/lib/kratos/api.generated/models/RelationshipNamespaces.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/RelationshipPatch.d.ts +0 -48
- package/src/lib/kratos/api.generated/models/Relationships.d.ts +0 -41
- package/src/lib/kratos/api.generated/models/SchemaPatch.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/SelfServiceFlowExpiredError.d.ts +0 -53
- package/src/lib/kratos/api.generated/models/Session.d.ts +0 -99
- package/src/lib/kratos/api.generated/models/SessionActivityDatapoint.d.ts +0 -44
- package/src/lib/kratos/api.generated/models/SessionAuthenticationMethod.d.ts +0 -73
- package/src/lib/kratos/api.generated/models/SessionDevice.d.ts +0 -50
- package/src/lib/kratos/api.generated/models/SetActiveProjectInConsoleBody.d.ts +0 -36
- package/src/lib/kratos/api.generated/models/SetCustomDomainBody.d.ts +0 -56
- package/src/lib/kratos/api.generated/models/SetEventStreamBody.d.ts +0 -52
- package/src/lib/kratos/api.generated/models/SetProject.d.ts +0 -52
- package/src/lib/kratos/api.generated/models/SetProjectBrandingThemeBody.d.ts +0 -63
- package/src/lib/kratos/api.generated/models/SettingsFlow.d.ts +0 -116
- package/src/lib/kratos/api.generated/models/SettingsFlowState.d.ts +0 -26
- package/src/lib/kratos/api.generated/models/SourcePosition.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/SubjectSet.d.ts +0 -44
- package/src/lib/kratos/api.generated/models/Subscription.d.ts +0 -147
- package/src/lib/kratos/api.generated/models/SuccessfulCodeExchangeResponse.d.ts +0 -46
- package/src/lib/kratos/api.generated/models/SuccessfulNativeLogin.d.ts +0 -56
- package/src/lib/kratos/api.generated/models/SuccessfulNativeRegistration.d.ts +0 -65
- package/src/lib/kratos/api.generated/models/SuccessfulProjectUpdate.d.ts +0 -48
- package/src/lib/kratos/api.generated/models/TaxLineItem.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/TimeInterval.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/TokenPagination.d.ts +0 -44
- package/src/lib/kratos/api.generated/models/TokenPaginationHeaders.d.ts +0 -44
- package/src/lib/kratos/api.generated/models/TokenPaginationRequestParameters.d.ts +0 -47
- package/src/lib/kratos/api.generated/models/TokenPaginationResponseHeaders.d.ts +0 -54
- package/src/lib/kratos/api.generated/models/TrustOAuth2JwtGrantIssuer.d.ts +0 -63
- package/src/lib/kratos/api.generated/models/TrustedOAuth2JwtGrantIssuer.d.ts +0 -75
- package/src/lib/kratos/api.generated/models/TrustedOAuth2JwtGrantJsonWebKey.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/UiContainer.d.ts +0 -52
- package/src/lib/kratos/api.generated/models/UiNode.d.ts +0 -113
- package/src/lib/kratos/api.generated/models/UiNodeAnchorAttributes.d.ts +0 -73
- package/src/lib/kratos/api.generated/models/UiNodeAttributes.d.ts +0 -39
- package/src/lib/kratos/api.generated/models/UiNodeDivisionAttributes.d.ts +0 -74
- package/src/lib/kratos/api.generated/models/UiNodeImageAttributes.d.ts +0 -78
- package/src/lib/kratos/api.generated/models/UiNodeInputAttributes.d.ts +0 -229
- package/src/lib/kratos/api.generated/models/UiNodeMeta.d.ts +0 -34
- package/src/lib/kratos/api.generated/models/UiNodeScriptAttributes.d.ts +0 -104
- package/src/lib/kratos/api.generated/models/UiNodeTextAttributes.d.ts +0 -65
- package/src/lib/kratos/api.generated/models/UiText.d.ts +0 -63
- package/src/lib/kratos/api.generated/models/UpdateFedcmFlowBody.d.ts +0 -51
- package/src/lib/kratos/api.generated/models/UpdateIdentityBody.d.ts +0 -78
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowBody.d.ts +0 -48
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithCodeMethod.d.ts +0 -70
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithIdentifierFirstMethod.d.ts +0 -50
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithLookupSecretMethod.d.ts +0 -44
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithOidcMethod.d.ts +0 -92
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithPasskeyMethod.d.ts +0 -46
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithPasswordMethod.d.ts +0 -63
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithSamlMethod.d.ts +0 -52
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithTotpMethod.d.ts +0 -50
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithWebAuthnMethod.d.ts +0 -58
- package/src/lib/kratos/api.generated/models/UpdateRecoveryFlowBody.d.ts +0 -27
- package/src/lib/kratos/api.generated/models/UpdateRecoveryFlowWithCodeMethod.d.ts +0 -80
- package/src/lib/kratos/api.generated/models/UpdateRecoveryFlowWithLinkMethod.d.ts +0 -69
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowBody.d.ts +0 -42
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithCodeMethod.d.ts +0 -64
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithOidcMethod.d.ts +0 -92
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithPasskeyMethod.d.ts +0 -61
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithPasswordMethod.d.ts +0 -58
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithProfileMethod.d.ts +0 -76
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithSamlMethod.d.ts +0 -58
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithWebAuthnMethod.d.ts +0 -69
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowBody.d.ts +0 -45
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithLookupMethod.d.ts +0 -70
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithOidcMethod.d.ts +0 -90
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithPasskeyMethod.d.ts +0 -57
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithPasswordMethod.d.ts +0 -52
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithProfileMethod.d.ts +0 -56
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithSamlMethod.d.ts +0 -84
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithTotpMethod.d.ts +0 -60
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithWebAuthnMethod.d.ts +0 -71
- package/src/lib/kratos/api.generated/models/UpdateSubscriptionBody.d.ts +0 -55
- package/src/lib/kratos/api.generated/models/UpdateVerificationFlowBody.d.ts +0 -27
- package/src/lib/kratos/api.generated/models/UpdateVerificationFlowWithCodeMethod.d.ts +0 -80
- package/src/lib/kratos/api.generated/models/UpdateVerificationFlowWithLinkMethod.d.ts +0 -69
- package/src/lib/kratos/api.generated/models/UpdateWorkspaceBody.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/Usage.d.ts +0 -33
- package/src/lib/kratos/api.generated/models/VerifiableCredentialPrimingResponse.d.ts +0 -74
- package/src/lib/kratos/api.generated/models/VerifiableCredentialProof.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/VerifiableCredentialResponse.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/VerifiableIdentityAddress.d.ts +0 -85
- package/src/lib/kratos/api.generated/models/VerificationFlow.d.ts +0 -101
- package/src/lib/kratos/api.generated/models/VerificationFlowState.d.ts +0 -27
- package/src/lib/kratos/api.generated/models/Version.d.ts +0 -32
- package/src/lib/kratos/api.generated/models/Warning.d.ts +0 -38
- package/src/lib/kratos/api.generated/models/Workspace.d.ts +0 -62
- package/src/lib/kratos/api.generated/models/WorkspaceApiKey.d.ts +0 -76
- package/src/lib/kratos/api.generated/models/index.d.ts +0 -283
- package/src/lib/kratos/api.generated/runtime.d.ts +0 -182
- package/src/lib/kratos/contrib/continueWith.d.ts +0 -51
- package/src/lib/kratos/contrib/error.d.ts +0 -87
- package/src/lib/kratos/contrib/flowTypes.d.ts +0 -9
- package/src/lib/kratos/contrib/index.d.ts +0 -6
- package/src/lib/kratos/contrib/ui.d.ts +0 -63
- package/src/lib/kratos/contrib/urlHelpers.d.ts +0 -25
- package/src/lib/kratos/contrib/utils.d.ts +0 -32
- package/src/lib/kratos/index.d.ts +0 -2
- package/src/lib/sessionManager/baseSessionManager.d.ts +0 -58
- package/src/lib/sessionManager/index.d.ts +0 -1
- package/src/lib/sessionManager/types.d.ts +0 -10
- package/src/lib/types/index.d.ts +0 -17
- package/src/lib/utils/assertion.d.ts +0 -9
- package/src/lib/utils/errors.d.ts +0 -386
- package/src/lib/utils/fields.d.ts +0 -9
- package/src/lib/utils/flow.d.ts +0 -46
- package/src/lib/utils/form.d.ts +0 -12
- package/src/lib/utils/index.d.ts +0 -9
- package/src/lib/utils/passkeys/credential.d.ts +0 -13
- package/src/lib/utils/passkeys/guards.d.ts +0 -3
- package/src/lib/utils/passkeys/helpers.d.ts +0 -2
- package/src/lib/utils/passkeys/index.d.ts +0 -4
- package/src/lib/utils/passkeys/types.d.ts +0 -31
- package/src/lib/utils/query.d.ts +0 -3
- package/src/lib/utils/searchQuery.d.ts +0 -6
- package/src/lib/utils/traits.d.ts +0 -5
|
@@ -1,979 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Ory APIs
|
|
3
|
-
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1.20.10
|
|
6
|
-
* Contact: support@ory.sh
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { CreateFedcmFlowResponse, DeleteMySessionsCount, FlowError, LoginFlow, LogoutFlow, PerformNativeLogoutBody, RecoveryFlow, RegistrationFlow, Session, SettingsFlow, SuccessfulNativeLogin, SuccessfulNativeRegistration, UpdateFedcmFlowBody, UpdateLoginFlowBody, UpdateRecoveryFlowBody, UpdateRegistrationFlowBody, UpdateSettingsFlowBody, UpdateVerificationFlowBody, VerificationFlow } from '../models/index';
|
|
14
|
-
export interface CreateBrowserLoginFlowRequest {
|
|
15
|
-
refresh?: boolean;
|
|
16
|
-
aal?: string;
|
|
17
|
-
returnTo?: string;
|
|
18
|
-
cookie?: string;
|
|
19
|
-
loginChallenge?: string;
|
|
20
|
-
organization?: string;
|
|
21
|
-
via?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface CreateBrowserLogoutFlowRequest {
|
|
24
|
-
cookie?: string;
|
|
25
|
-
returnTo?: string;
|
|
26
|
-
}
|
|
27
|
-
export interface CreateBrowserRecoveryFlowRequest {
|
|
28
|
-
returnTo?: string;
|
|
29
|
-
}
|
|
30
|
-
export interface CreateBrowserRegistrationFlowRequest {
|
|
31
|
-
returnTo?: string;
|
|
32
|
-
loginChallenge?: string;
|
|
33
|
-
afterVerificationReturnTo?: string;
|
|
34
|
-
organization?: string;
|
|
35
|
-
}
|
|
36
|
-
export interface CreateBrowserSettingsFlowRequest {
|
|
37
|
-
returnTo?: string;
|
|
38
|
-
cookie?: string;
|
|
39
|
-
}
|
|
40
|
-
export interface CreateBrowserVerificationFlowRequest {
|
|
41
|
-
returnTo?: string;
|
|
42
|
-
}
|
|
43
|
-
export interface CreateNativeLoginFlowRequest {
|
|
44
|
-
refresh?: boolean;
|
|
45
|
-
aal?: string;
|
|
46
|
-
xSessionToken?: string;
|
|
47
|
-
returnSessionTokenExchangeCode?: boolean;
|
|
48
|
-
returnTo?: string;
|
|
49
|
-
organization?: string;
|
|
50
|
-
via?: string;
|
|
51
|
-
}
|
|
52
|
-
export interface CreateNativeRegistrationFlowRequest {
|
|
53
|
-
returnSessionTokenExchangeCode?: boolean;
|
|
54
|
-
returnTo?: string;
|
|
55
|
-
organization?: string;
|
|
56
|
-
}
|
|
57
|
-
export interface CreateNativeSettingsFlowRequest {
|
|
58
|
-
xSessionToken?: string;
|
|
59
|
-
}
|
|
60
|
-
export interface CreateNativeVerificationFlowRequest {
|
|
61
|
-
returnTo?: string;
|
|
62
|
-
}
|
|
63
|
-
export interface DisableMyOtherSessionsRequest {
|
|
64
|
-
xSessionToken?: string;
|
|
65
|
-
cookie?: string;
|
|
66
|
-
}
|
|
67
|
-
export interface DisableMySessionRequest {
|
|
68
|
-
id: string;
|
|
69
|
-
xSessionToken?: string;
|
|
70
|
-
cookie?: string;
|
|
71
|
-
}
|
|
72
|
-
export interface ExchangeSessionTokenRequest {
|
|
73
|
-
initCode: string;
|
|
74
|
-
returnToCode: string;
|
|
75
|
-
}
|
|
76
|
-
export interface GetFlowErrorRequest {
|
|
77
|
-
id: string;
|
|
78
|
-
}
|
|
79
|
-
export interface GetLoginFlowRequest {
|
|
80
|
-
id: string;
|
|
81
|
-
cookie?: string;
|
|
82
|
-
}
|
|
83
|
-
export interface GetRecoveryFlowRequest {
|
|
84
|
-
id: string;
|
|
85
|
-
cookie?: string;
|
|
86
|
-
}
|
|
87
|
-
export interface GetRegistrationFlowRequest {
|
|
88
|
-
id: string;
|
|
89
|
-
cookie?: string;
|
|
90
|
-
}
|
|
91
|
-
export interface GetSettingsFlowRequest {
|
|
92
|
-
id: string;
|
|
93
|
-
xSessionToken?: string;
|
|
94
|
-
cookie?: string;
|
|
95
|
-
}
|
|
96
|
-
export interface GetVerificationFlowRequest {
|
|
97
|
-
id: string;
|
|
98
|
-
cookie?: string;
|
|
99
|
-
}
|
|
100
|
-
export interface ListMySessionsRequest {
|
|
101
|
-
perPage?: number;
|
|
102
|
-
page?: number;
|
|
103
|
-
pageSize?: number;
|
|
104
|
-
pageToken?: string;
|
|
105
|
-
xSessionToken?: string;
|
|
106
|
-
cookie?: string;
|
|
107
|
-
}
|
|
108
|
-
export interface PerformNativeLogoutRequest {
|
|
109
|
-
performNativeLogoutBody: PerformNativeLogoutBody;
|
|
110
|
-
}
|
|
111
|
-
export interface ToSessionRequest {
|
|
112
|
-
xSessionToken?: string;
|
|
113
|
-
cookie?: string;
|
|
114
|
-
tokenizeAs?: string;
|
|
115
|
-
}
|
|
116
|
-
export interface UpdateFedcmFlowRequest {
|
|
117
|
-
updateFedcmFlowBody: UpdateFedcmFlowBody;
|
|
118
|
-
}
|
|
119
|
-
export interface UpdateLoginFlowRequest {
|
|
120
|
-
flow: string;
|
|
121
|
-
updateLoginFlowBody: UpdateLoginFlowBody;
|
|
122
|
-
xSessionToken?: string;
|
|
123
|
-
cookie?: string;
|
|
124
|
-
}
|
|
125
|
-
export interface UpdateLogoutFlowRequest {
|
|
126
|
-
token?: string;
|
|
127
|
-
returnTo?: string;
|
|
128
|
-
cookie?: string;
|
|
129
|
-
}
|
|
130
|
-
export interface UpdateRecoveryFlowRequest {
|
|
131
|
-
flow: string;
|
|
132
|
-
updateRecoveryFlowBody: UpdateRecoveryFlowBody;
|
|
133
|
-
token?: string;
|
|
134
|
-
cookie?: string;
|
|
135
|
-
}
|
|
136
|
-
export interface UpdateRegistrationFlowRequest {
|
|
137
|
-
flow: string;
|
|
138
|
-
updateRegistrationFlowBody: UpdateRegistrationFlowBody;
|
|
139
|
-
cookie?: string;
|
|
140
|
-
}
|
|
141
|
-
export interface UpdateSettingsFlowRequest {
|
|
142
|
-
flow: string;
|
|
143
|
-
updateSettingsFlowBody: UpdateSettingsFlowBody;
|
|
144
|
-
xSessionToken?: string;
|
|
145
|
-
cookie?: string;
|
|
146
|
-
}
|
|
147
|
-
export interface UpdateVerificationFlowRequest {
|
|
148
|
-
flow: string;
|
|
149
|
-
updateVerificationFlowBody: UpdateVerificationFlowBody;
|
|
150
|
-
token?: string;
|
|
151
|
-
cookie?: string;
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* FrontendApi - interface
|
|
155
|
-
*
|
|
156
|
-
* @export
|
|
157
|
-
* @interface FrontendApiInterface
|
|
158
|
-
*/
|
|
159
|
-
export interface FrontendApiInterface {
|
|
160
|
-
/**
|
|
161
|
-
* 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).
|
|
162
|
-
* @summary Create Login Flow for Browsers
|
|
163
|
-
* @param {boolean} [refresh] Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session.
|
|
164
|
-
* @param {string} [aal] Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session\'s authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \"upgrade\" the session\'s security by asking the user to perform TOTP / WebAuth/ ... you would set this to \"aal2\".
|
|
165
|
-
* @param {string} [returnTo] The URL to return the browser to after the flow was completed.
|
|
166
|
-
* @param {string} [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.
|
|
167
|
-
* @param {string} [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`).
|
|
168
|
-
* @param {string} [organization] An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network.
|
|
169
|
-
* @param {string} [via] Via should contain the identity\'s credential the code should be sent to. Only relevant in aal2 flows. DEPRECATED: This field is deprecated. Please remove it from your requests. The user will now see a choice of MFA credentials to choose from to perform the second factor instead.
|
|
170
|
-
* @param {*} [options] Override http request option.
|
|
171
|
-
* @throws {RequiredError}
|
|
172
|
-
* @memberof FrontendApiInterface
|
|
173
|
-
*/
|
|
174
|
-
createBrowserLoginFlowRaw(requestParameters: CreateBrowserLoginFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LoginFlow>>;
|
|
175
|
-
/**
|
|
176
|
-
* 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).
|
|
177
|
-
* Create Login Flow for Browsers
|
|
178
|
-
*/
|
|
179
|
-
createBrowserLoginFlow(requestParameters: CreateBrowserLoginFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LoginFlow>;
|
|
180
|
-
/**
|
|
181
|
-
* This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. The URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns a 401 error. When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies.
|
|
182
|
-
* @summary Create a Logout URL for Browsers
|
|
183
|
-
* @param {string} [cookie] HTTP Cookies If you call this endpoint from a backend, please include the original Cookie header in the request.
|
|
184
|
-
* @param {string} [returnTo] Return to URL The URL to which the browser should be redirected to after the logout has been performed.
|
|
185
|
-
* @param {*} [options] Override http request option.
|
|
186
|
-
* @throws {RequiredError}
|
|
187
|
-
* @memberof FrontendApiInterface
|
|
188
|
-
*/
|
|
189
|
-
createBrowserLogoutFlowRaw(requestParameters: CreateBrowserLogoutFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LogoutFlow>>;
|
|
190
|
-
/**
|
|
191
|
-
* This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. The URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns a 401 error. When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies.
|
|
192
|
-
* Create a Logout URL for Browsers
|
|
193
|
-
*/
|
|
194
|
-
createBrowserLogoutFlow(requestParameters: CreateBrowserLogoutFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LogoutFlow>;
|
|
195
|
-
/**
|
|
196
|
-
* This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to `selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists, the browser is returned to the configured return URL. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects or a 400 bad request error if the user is already authenticated. 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 Account Recovery Documentation](../self-service/flows/account-recovery).
|
|
197
|
-
* @summary Create Recovery Flow for Browsers
|
|
198
|
-
* @param {string} [returnTo] The URL to return the browser to after the flow was completed.
|
|
199
|
-
* @param {*} [options] Override http request option.
|
|
200
|
-
* @throws {RequiredError}
|
|
201
|
-
* @memberof FrontendApiInterface
|
|
202
|
-
*/
|
|
203
|
-
createBrowserRecoveryFlowRaw(requestParameters: CreateBrowserRecoveryFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecoveryFlow>>;
|
|
204
|
-
/**
|
|
205
|
-
* This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to `selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists, the browser is returned to the configured return URL. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects or a 400 bad request error if the user is already authenticated. 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 Account Recovery Documentation](../self-service/flows/account-recovery).
|
|
206
|
-
* Create Recovery Flow for Browsers
|
|
207
|
-
*/
|
|
208
|
-
createBrowserRecoveryFlow(requestParameters: CreateBrowserRecoveryFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecoveryFlow>;
|
|
209
|
-
/**
|
|
210
|
-
* This endpoint initializes a browser-based user registration 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.registration.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`. 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. `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! If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect. 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).
|
|
211
|
-
* @summary Create Registration Flow for Browsers
|
|
212
|
-
* @param {string} [returnTo] The URL to return the browser to after the flow was completed.
|
|
213
|
-
* @param {string} [loginChallenge] Ory OAuth 2.0 Login Challenge. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. The value for this parameter comes from `login_challenge` URL Query parameter sent to your application (e.g. `/registration?login_challenge=abcde`). This feature is compatible with Ory Hydra when not running on the Ory Network.
|
|
214
|
-
* @param {string} [afterVerificationReturnTo] The URL to return the browser to after the verification flow was completed. After the registration flow is completed, the user will be sent a verification email. Upon completing the verification flow, this URL will be used to override the default `selfservice.flows.verification.after.default_redirect_to` value.
|
|
215
|
-
* @param {string} [organization] An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network.
|
|
216
|
-
* @param {*} [options] Override http request option.
|
|
217
|
-
* @throws {RequiredError}
|
|
218
|
-
* @memberof FrontendApiInterface
|
|
219
|
-
*/
|
|
220
|
-
createBrowserRegistrationFlowRaw(requestParameters: CreateBrowserRegistrationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RegistrationFlow>>;
|
|
221
|
-
/**
|
|
222
|
-
* This endpoint initializes a browser-based user registration 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.registration.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`. 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. `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! If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect. 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).
|
|
223
|
-
* Create Registration Flow for Browsers
|
|
224
|
-
*/
|
|
225
|
-
createBrowserRegistrationFlow(requestParameters: CreateBrowserRegistrationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RegistrationFlow>;
|
|
226
|
-
/**
|
|
227
|
-
* This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid Ory Kratos Session Cookie is included in the request, a login flow will be initialized. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid user session was set, the browser will be redirected to the login endpoint. If this endpoint is called via an AJAX request, the response contains the settings flow without any redirects or a 401 forbidden error if no valid session was set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. 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: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! 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 Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
|
228
|
-
* @summary Create Settings Flow for Browsers
|
|
229
|
-
* @param {string} [returnTo] The URL to return the browser to after the flow was completed.
|
|
230
|
-
* @param {string} [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.
|
|
231
|
-
* @param {*} [options] Override http request option.
|
|
232
|
-
* @throws {RequiredError}
|
|
233
|
-
* @memberof FrontendApiInterface
|
|
234
|
-
*/
|
|
235
|
-
createBrowserSettingsFlowRaw(requestParameters: CreateBrowserSettingsFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SettingsFlow>>;
|
|
236
|
-
/**
|
|
237
|
-
* This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid Ory Kratos Session Cookie is included in the request, a login flow will be initialized. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid user session was set, the browser will be redirected to the login endpoint. If this endpoint is called via an AJAX request, the response contains the settings flow without any redirects or a 401 forbidden error if no valid session was set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. 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: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! 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 Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
|
238
|
-
* Create Settings Flow for Browsers
|
|
239
|
-
*/
|
|
240
|
-
createBrowserSettingsFlow(requestParameters: CreateBrowserSettingsFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SettingsFlow>;
|
|
241
|
-
/**
|
|
242
|
-
* This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to `selfservice.flows.verification.ui_url` with the flow ID set as the query parameter `?flow=`. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
|
243
|
-
* @summary Create Verification Flow for Browser Clients
|
|
244
|
-
* @param {string} [returnTo] The URL to return the browser to after the flow was completed.
|
|
245
|
-
* @param {*} [options] Override http request option.
|
|
246
|
-
* @throws {RequiredError}
|
|
247
|
-
* @memberof FrontendApiInterface
|
|
248
|
-
*/
|
|
249
|
-
createBrowserVerificationFlowRaw(requestParameters: CreateBrowserVerificationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerificationFlow>>;
|
|
250
|
-
/**
|
|
251
|
-
* This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to `selfservice.flows.verification.ui_url` with the flow ID set as the query parameter `?flow=`. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
|
252
|
-
* Create Verification Flow for Browser Clients
|
|
253
|
-
*/
|
|
254
|
-
createBrowserVerificationFlow(requestParameters: CreateBrowserVerificationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VerificationFlow>;
|
|
255
|
-
/**
|
|
256
|
-
* This endpoint returns a list of all available FedCM providers. It is only supported on the Ory Network.
|
|
257
|
-
* @summary Get FedCM Parameters
|
|
258
|
-
* @param {*} [options] Override http request option.
|
|
259
|
-
* @throws {RequiredError}
|
|
260
|
-
* @memberof FrontendApiInterface
|
|
261
|
-
*/
|
|
262
|
-
createFedcmFlowRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateFedcmFlowResponse>>;
|
|
263
|
-
/**
|
|
264
|
-
* This endpoint returns a list of all available FedCM providers. It is only supported on the Ory Network.
|
|
265
|
-
* Get FedCM Parameters
|
|
266
|
-
*/
|
|
267
|
-
createFedcmFlow(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateFedcmFlowResponse>;
|
|
268
|
-
/**
|
|
269
|
-
* This endpoint initiates a login flow for native apps that do not use a browser, such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks. 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. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). 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).
|
|
270
|
-
* @summary Create Login Flow for Native Apps
|
|
271
|
-
* @param {boolean} [refresh] Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session.
|
|
272
|
-
* @param {string} [aal] Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session\'s authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \"upgrade\" the session\'s security by asking the user to perform TOTP / WebAuth/ ... you would set this to \"aal2\".
|
|
273
|
-
* @param {string} [xSessionToken] The Session Token of the Identity performing the settings flow.
|
|
274
|
-
* @param {boolean} [returnSessionTokenExchangeCode] EnableSessionTokenExchangeCode requests the login flow to include a code that can be used to retrieve the session token after the login flow has been completed.
|
|
275
|
-
* @param {string} [returnTo] The URL to return the browser to after the flow was completed.
|
|
276
|
-
* @param {string} [organization] An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network.
|
|
277
|
-
* @param {string} [via] Via should contain the identity\'s credential the code should be sent to. Only relevant in aal2 flows. DEPRECATED: This field is deprecated. Please remove it from your requests. The user will now see a choice of MFA credentials to choose from to perform the second factor instead.
|
|
278
|
-
* @param {*} [options] Override http request option.
|
|
279
|
-
* @throws {RequiredError}
|
|
280
|
-
* @memberof FrontendApiInterface
|
|
281
|
-
*/
|
|
282
|
-
createNativeLoginFlowRaw(requestParameters: CreateNativeLoginFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LoginFlow>>;
|
|
283
|
-
/**
|
|
284
|
-
* This endpoint initiates a login flow for native apps that do not use a browser, such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks. 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. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). 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).
|
|
285
|
-
* Create Login Flow for Native Apps
|
|
286
|
-
*/
|
|
287
|
-
createNativeLoginFlow(requestParameters: CreateNativeLoginFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LoginFlow>;
|
|
288
|
-
/**
|
|
289
|
-
* This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error. On an existing recovery flow, use the `getRecoveryFlow` API endpoint. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
|
290
|
-
* @summary Create Recovery Flow for Native Apps
|
|
291
|
-
* @param {*} [options] Override http request option.
|
|
292
|
-
* @throws {RequiredError}
|
|
293
|
-
* @memberof FrontendApiInterface
|
|
294
|
-
*/
|
|
295
|
-
createNativeRecoveryFlowRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecoveryFlow>>;
|
|
296
|
-
/**
|
|
297
|
-
* This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error. On an existing recovery flow, use the `getRecoveryFlow` API endpoint. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
|
298
|
-
* Create Recovery Flow for Native Apps
|
|
299
|
-
*/
|
|
300
|
-
createNativeRecoveryFlow(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecoveryFlow>;
|
|
301
|
-
/**
|
|
302
|
-
* This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing registration flow call `/self-service/registration/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. 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. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). 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).
|
|
303
|
-
* @summary Create Registration Flow for Native Apps
|
|
304
|
-
* @param {boolean} [returnSessionTokenExchangeCode] EnableSessionTokenExchangeCode requests the login flow to include a code that can be used to retrieve the session token after the login flow has been completed.
|
|
305
|
-
* @param {string} [returnTo] The URL to return the browser to after the flow was completed.
|
|
306
|
-
* @param {string} [organization] An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network.
|
|
307
|
-
* @param {*} [options] Override http request option.
|
|
308
|
-
* @throws {RequiredError}
|
|
309
|
-
* @memberof FrontendApiInterface
|
|
310
|
-
*/
|
|
311
|
-
createNativeRegistrationFlowRaw(requestParameters: CreateNativeRegistrationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RegistrationFlow>>;
|
|
312
|
-
/**
|
|
313
|
-
* This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing registration flow call `/self-service/registration/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. 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. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). 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).
|
|
314
|
-
* Create Registration Flow for Native Apps
|
|
315
|
-
*/
|
|
316
|
-
createNativeRegistrationFlow(requestParameters: CreateNativeRegistrationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RegistrationFlow>;
|
|
317
|
-
/**
|
|
318
|
-
* This endpoint initiates a settings flow for API clients such as mobile devices, smart TVs, and so on. You must provide a valid Ory Kratos Session Token for this endpoint to respond with HTTP 200 OK. To fetch an existing settings flow call `/self-service/settings/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
|
319
|
-
* @summary Create Settings Flow for Native Apps
|
|
320
|
-
* @param {string} [xSessionToken] The Session Token of the Identity performing the settings flow.
|
|
321
|
-
* @param {*} [options] Override http request option.
|
|
322
|
-
* @throws {RequiredError}
|
|
323
|
-
* @memberof FrontendApiInterface
|
|
324
|
-
*/
|
|
325
|
-
createNativeSettingsFlowRaw(requestParameters: CreateNativeSettingsFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SettingsFlow>>;
|
|
326
|
-
/**
|
|
327
|
-
* This endpoint initiates a settings flow for API clients such as mobile devices, smart TVs, and so on. You must provide a valid Ory Kratos Session Token for this endpoint to respond with HTTP 200 OK. To fetch an existing settings flow call `/self-service/settings/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
|
328
|
-
* Create Settings Flow for Native Apps
|
|
329
|
-
*/
|
|
330
|
-
createNativeSettingsFlow(requestParameters: CreateNativeSettingsFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SettingsFlow>;
|
|
331
|
-
/**
|
|
332
|
-
* This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on. To fetch an existing verification flow call `/self-service/verification/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
|
333
|
-
* @summary Create Verification Flow for Native Apps
|
|
334
|
-
* @param {string} [returnTo] A URL contained in the return_to key of the verification flow. This piece of data has no effect on the actual logic of the flow and is purely informational.
|
|
335
|
-
* @param {*} [options] Override http request option.
|
|
336
|
-
* @throws {RequiredError}
|
|
337
|
-
* @memberof FrontendApiInterface
|
|
338
|
-
*/
|
|
339
|
-
createNativeVerificationFlowRaw(requestParameters: CreateNativeVerificationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerificationFlow>>;
|
|
340
|
-
/**
|
|
341
|
-
* This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on. To fetch an existing verification flow call `/self-service/verification/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
|
342
|
-
* Create Verification Flow for Native Apps
|
|
343
|
-
*/
|
|
344
|
-
createNativeVerificationFlow(requestParameters: CreateNativeVerificationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VerificationFlow>;
|
|
345
|
-
/**
|
|
346
|
-
* Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
|
|
347
|
-
* @summary Disable my other sessions
|
|
348
|
-
* @param {string} [xSessionToken] Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
|
|
349
|
-
* @param {string} [cookie] Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
|
|
350
|
-
* @param {*} [options] Override http request option.
|
|
351
|
-
* @throws {RequiredError}
|
|
352
|
-
* @memberof FrontendApiInterface
|
|
353
|
-
*/
|
|
354
|
-
disableMyOtherSessionsRaw(requestParameters: DisableMyOtherSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteMySessionsCount>>;
|
|
355
|
-
/**
|
|
356
|
-
* Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
|
|
357
|
-
* Disable my other sessions
|
|
358
|
-
*/
|
|
359
|
-
disableMyOtherSessions(requestParameters: DisableMyOtherSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteMySessionsCount>;
|
|
360
|
-
/**
|
|
361
|
-
* Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
|
|
362
|
-
* @summary Disable one of my sessions
|
|
363
|
-
* @param {string} id ID is the session\'s ID.
|
|
364
|
-
* @param {string} [xSessionToken] Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
|
|
365
|
-
* @param {string} [cookie] Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
|
|
366
|
-
* @param {*} [options] Override http request option.
|
|
367
|
-
* @throws {RequiredError}
|
|
368
|
-
* @memberof FrontendApiInterface
|
|
369
|
-
*/
|
|
370
|
-
disableMySessionRaw(requestParameters: DisableMySessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
371
|
-
/**
|
|
372
|
-
* Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
|
|
373
|
-
* Disable one of my sessions
|
|
374
|
-
*/
|
|
375
|
-
disableMySession(requestParameters: DisableMySessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
376
|
-
/**
|
|
377
|
-
*
|
|
378
|
-
* @summary Exchange Session Token
|
|
379
|
-
* @param {string} initCode The part of the code return when initializing the flow.
|
|
380
|
-
* @param {string} returnToCode The part of the code returned by the return_to URL.
|
|
381
|
-
* @param {*} [options] Override http request option.
|
|
382
|
-
* @throws {RequiredError}
|
|
383
|
-
* @memberof FrontendApiInterface
|
|
384
|
-
*/
|
|
385
|
-
exchangeSessionTokenRaw(requestParameters: ExchangeSessionTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessfulNativeLogin>>;
|
|
386
|
-
/**
|
|
387
|
-
* Exchange Session Token
|
|
388
|
-
*/
|
|
389
|
-
exchangeSessionToken(requestParameters: ExchangeSessionTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessfulNativeLogin>;
|
|
390
|
-
/**
|
|
391
|
-
* This endpoint returns the error associated with a user-facing self service errors. This endpoint supports stub values to help you implement the error UI: `?id=stub:500` - returns a stub 500 (Internal Server Error) error. More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).
|
|
392
|
-
* @summary Get User-Flow Errors
|
|
393
|
-
* @param {string} id Error is the error\'s ID
|
|
394
|
-
* @param {*} [options] Override http request option.
|
|
395
|
-
* @throws {RequiredError}
|
|
396
|
-
* @memberof FrontendApiInterface
|
|
397
|
-
*/
|
|
398
|
-
getFlowErrorRaw(requestParameters: GetFlowErrorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FlowError>>;
|
|
399
|
-
/**
|
|
400
|
-
* This endpoint returns the error associated with a user-facing self service errors. This endpoint supports stub values to help you implement the error UI: `?id=stub:500` - returns a stub 500 (Internal Server Error) error. More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).
|
|
401
|
-
* Get User-Flow Errors
|
|
402
|
-
*/
|
|
403
|
-
getFlowError(requestParameters: GetFlowErrorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FlowError>;
|
|
404
|
-
/**
|
|
405
|
-
* This endpoint returns a login flow\'s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request\'s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get(\'/login\', async function (req, res) { const flow = await client.getLoginFlow(req.header(\'cookie\'), req.query[\'flow\']) res.render(\'login\', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. 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).
|
|
406
|
-
* @summary Get Login Flow
|
|
407
|
-
* @param {string} id The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`).
|
|
408
|
-
* @param {string} [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.
|
|
409
|
-
* @param {*} [options] Override http request option.
|
|
410
|
-
* @throws {RequiredError}
|
|
411
|
-
* @memberof FrontendApiInterface
|
|
412
|
-
*/
|
|
413
|
-
getLoginFlowRaw(requestParameters: GetLoginFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LoginFlow>>;
|
|
414
|
-
/**
|
|
415
|
-
* This endpoint returns a login flow\'s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request\'s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get(\'/login\', async function (req, res) { const flow = await client.getLoginFlow(req.header(\'cookie\'), req.query[\'flow\']) res.render(\'login\', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. 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).
|
|
416
|
-
* Get Login Flow
|
|
417
|
-
*/
|
|
418
|
-
getLoginFlow(requestParameters: GetLoginFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LoginFlow>;
|
|
419
|
-
/**
|
|
420
|
-
* This endpoint returns a recovery flow\'s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request\'s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get(\'/recovery\', async function (req, res) { const flow = await client.getRecoveryFlow(req.header(\'Cookie\'), req.query[\'flow\']) res.render(\'recovery\', flow) }) ``` More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
|
421
|
-
* @summary Get Recovery Flow
|
|
422
|
-
* @param {string} id The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`).
|
|
423
|
-
* @param {string} [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.
|
|
424
|
-
* @param {*} [options] Override http request option.
|
|
425
|
-
* @throws {RequiredError}
|
|
426
|
-
* @memberof FrontendApiInterface
|
|
427
|
-
*/
|
|
428
|
-
getRecoveryFlowRaw(requestParameters: GetRecoveryFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecoveryFlow>>;
|
|
429
|
-
/**
|
|
430
|
-
* This endpoint returns a recovery flow\'s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request\'s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get(\'/recovery\', async function (req, res) { const flow = await client.getRecoveryFlow(req.header(\'Cookie\'), req.query[\'flow\']) res.render(\'recovery\', flow) }) ``` More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
|
431
|
-
* Get Recovery Flow
|
|
432
|
-
*/
|
|
433
|
-
getRecoveryFlow(requestParameters: GetRecoveryFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecoveryFlow>;
|
|
434
|
-
/**
|
|
435
|
-
* This endpoint returns a registration flow\'s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request\'s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get(\'/registration\', async function (req, res) { const flow = await client.getRegistrationFlow(req.header(\'cookie\'), req.query[\'flow\']) res.render(\'registration\', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. 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).
|
|
436
|
-
* @summary Get Registration Flow
|
|
437
|
-
* @param {string} id The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`).
|
|
438
|
-
* @param {string} [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.
|
|
439
|
-
* @param {*} [options] Override http request option.
|
|
440
|
-
* @throws {RequiredError}
|
|
441
|
-
* @memberof FrontendApiInterface
|
|
442
|
-
*/
|
|
443
|
-
getRegistrationFlowRaw(requestParameters: GetRegistrationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RegistrationFlow>>;
|
|
444
|
-
/**
|
|
445
|
-
* This endpoint returns a registration flow\'s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request\'s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get(\'/registration\', async function (req, res) { const flow = await client.getRegistrationFlow(req.header(\'cookie\'), req.query[\'flow\']) res.render(\'registration\', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. 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).
|
|
446
|
-
* Get Registration Flow
|
|
447
|
-
*/
|
|
448
|
-
getRegistrationFlow(requestParameters: GetRegistrationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RegistrationFlow>;
|
|
449
|
-
/**
|
|
450
|
-
* When accessing this endpoint through Ory Kratos\' Public API you must ensure that either the Ory Kratos Session Cookie or the Ory Kratos Session Token are set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. You can access this endpoint without credentials when using Ory Kratos\' Admin API. 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: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
|
451
|
-
* @summary Get Settings Flow
|
|
452
|
-
* @param {string} id ID is the Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`).
|
|
453
|
-
* @param {string} [xSessionToken] The Session Token When using the SDK in an app without a browser, please include the session token here.
|
|
454
|
-
* @param {string} [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.
|
|
455
|
-
* @param {*} [options] Override http request option.
|
|
456
|
-
* @throws {RequiredError}
|
|
457
|
-
* @memberof FrontendApiInterface
|
|
458
|
-
*/
|
|
459
|
-
getSettingsFlowRaw(requestParameters: GetSettingsFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SettingsFlow>>;
|
|
460
|
-
/**
|
|
461
|
-
* When accessing this endpoint through Ory Kratos\' Public API you must ensure that either the Ory Kratos Session Cookie or the Ory Kratos Session Token are set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. You can access this endpoint without credentials when using Ory Kratos\' Admin API. 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: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
|
462
|
-
* Get Settings Flow
|
|
463
|
-
*/
|
|
464
|
-
getSettingsFlow(requestParameters: GetSettingsFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SettingsFlow>;
|
|
465
|
-
/**
|
|
466
|
-
* This endpoint returns a verification flow\'s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request\'s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get(\'/recovery\', async function (req, res) { const flow = await client.getVerificationFlow(req.header(\'cookie\'), req.query[\'flow\']) res.render(\'verification\', flow) }) ``` More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
|
467
|
-
* @summary Get Verification Flow
|
|
468
|
-
* @param {string} id The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`).
|
|
469
|
-
* @param {string} [cookie] HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here.
|
|
470
|
-
* @param {*} [options] Override http request option.
|
|
471
|
-
* @throws {RequiredError}
|
|
472
|
-
* @memberof FrontendApiInterface
|
|
473
|
-
*/
|
|
474
|
-
getVerificationFlowRaw(requestParameters: GetVerificationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerificationFlow>>;
|
|
475
|
-
/**
|
|
476
|
-
* This endpoint returns a verification flow\'s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request\'s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get(\'/recovery\', async function (req, res) { const flow = await client.getVerificationFlow(req.header(\'cookie\'), req.query[\'flow\']) res.render(\'verification\', flow) }) ``` More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
|
477
|
-
* Get Verification Flow
|
|
478
|
-
*/
|
|
479
|
-
getVerificationFlow(requestParameters: GetVerificationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VerificationFlow>;
|
|
480
|
-
/**
|
|
481
|
-
* 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 <script src=\"https://public-kratos.example.org/.well-known/ory/webauthn.js\" type=\"script\" async /> ``` 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).
|
|
482
|
-
* @summary Get WebAuthn JavaScript
|
|
483
|
-
* @param {*} [options] Override http request option.
|
|
484
|
-
* @throws {RequiredError}
|
|
485
|
-
* @memberof FrontendApiInterface
|
|
486
|
-
*/
|
|
487
|
-
getWebAuthnJavaScriptRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
488
|
-
/**
|
|
489
|
-
* 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 <script src=\"https://public-kratos.example.org/.well-known/ory/webauthn.js\" type=\"script\" async /> ``` 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).
|
|
490
|
-
* Get WebAuthn JavaScript
|
|
491
|
-
*/
|
|
492
|
-
getWebAuthnJavaScript(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
493
|
-
/**
|
|
494
|
-
* This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint.
|
|
495
|
-
* @summary Get My Active Sessions
|
|
496
|
-
* @param {number} [perPage] Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page.
|
|
497
|
-
* @param {number} [page] Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header.
|
|
498
|
-
* @param {number} [pageSize] Page Size This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
|
|
499
|
-
* @param {string} [pageToken] Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
|
|
500
|
-
* @param {string} [xSessionToken] Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
|
|
501
|
-
* @param {string} [cookie] Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
|
|
502
|
-
* @param {*} [options] Override http request option.
|
|
503
|
-
* @throws {RequiredError}
|
|
504
|
-
* @memberof FrontendApiInterface
|
|
505
|
-
*/
|
|
506
|
-
listMySessionsRaw(requestParameters: ListMySessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Session>>>;
|
|
507
|
-
/**
|
|
508
|
-
* This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint.
|
|
509
|
-
* Get My Active Sessions
|
|
510
|
-
*/
|
|
511
|
-
listMySessions(requestParameters: ListMySessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Session>>;
|
|
512
|
-
/**
|
|
513
|
-
* Use this endpoint to log out an identity using an Ory Session Token. If the Ory Session Token was successfully revoked, the server returns a 204 No Content response. A 204 No Content response is also sent when the Ory Session Token has been revoked already before. If the Ory Session Token is malformed or does not exist a 403 Forbidden response will be returned. This endpoint does not remove any HTTP Cookies - use the Browser-Based Self-Service Logout Flow instead.
|
|
514
|
-
* @summary Perform Logout for Native Apps
|
|
515
|
-
* @param {PerformNativeLogoutBody} performNativeLogoutBody
|
|
516
|
-
* @param {*} [options] Override http request option.
|
|
517
|
-
* @throws {RequiredError}
|
|
518
|
-
* @memberof FrontendApiInterface
|
|
519
|
-
*/
|
|
520
|
-
performNativeLogoutRaw(requestParameters: PerformNativeLogoutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
521
|
-
/**
|
|
522
|
-
* Use this endpoint to log out an identity using an Ory Session Token. If the Ory Session Token was successfully revoked, the server returns a 204 No Content response. A 204 No Content response is also sent when the Ory Session Token has been revoked already before. If the Ory Session Token is malformed or does not exist a 403 Forbidden response will be returned. This endpoint does not remove any HTTP Cookies - use the Browser-Based Self-Service Logout Flow instead.
|
|
523
|
-
* Perform Logout for Native Apps
|
|
524
|
-
*/
|
|
525
|
-
performNativeLogout(requestParameters: PerformNativeLogoutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
526
|
-
/**
|
|
527
|
-
* Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated. Returns a session object in the body or 401 if the credentials are invalid or no credentials were sent. When the request it successful it adds the user ID to the \'X-Kratos-Authenticated-Identity-Id\' header in the response. If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint: ```js pseudo-code example router.get(\'/protected-endpoint\', async function (req, res) { const session = await client.toSession(undefined, req.header(\'cookie\')) console.log(session) }) ``` When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token: ```js pseudo-code example ... const session = await client.toSession(\"the-session-token\") console.log(session) ``` When using a token template, the token is included in the `tokenized` field of the session. ```js pseudo-code example ... const session = await client.toSession(\"the-session-token\", { tokenize_as: \"example-jwt-template\" }) console.log(session.tokenized) // The JWT ``` Depending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. This endpoint is useful for: AJAX calls. Remember to send credentials and set up CORS correctly! Reverse proxies and API Gateways Server-side calls - use the `X-Session-Token` header! This endpoint authenticates users by checking: if the `Cookie` HTTP header was set containing an Ory Kratos Session Cookie; if the `Authorization: bearer <ory-session-token>` HTTP header was set with a valid Ory Kratos Session Token; if the `X-Session-Token` HTTP header was set with a valid Ory Kratos Session Token. If none of these headers are set or the cookie or token are invalid, the endpoint returns a HTTP 401 status code. As explained above, this request may fail due to several reasons. The `error.id` can be one of: `session_inactive`: No active session was found in the request (e.g. no Ory Session Cookie / Ory Session Token). `session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor.
|
|
528
|
-
* @summary Check Who the Current HTTP Session Belongs To
|
|
529
|
-
* @param {string} [xSessionToken] Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
|
|
530
|
-
* @param {string} [cookie] Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
|
|
531
|
-
* @param {string} [tokenizeAs] Returns the session additionally as a token (such as a JWT) The value of this parameter has to be a valid, configured Ory Session token template. For more information head over to [the documentation](http://ory.sh/docs/identities/session-to-jwt-cors).
|
|
532
|
-
* @param {*} [options] Override http request option.
|
|
533
|
-
* @throws {RequiredError}
|
|
534
|
-
* @memberof FrontendApiInterface
|
|
535
|
-
*/
|
|
536
|
-
toSessionRaw(requestParameters: ToSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Session>>;
|
|
537
|
-
/**
|
|
538
|
-
* Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated. Returns a session object in the body or 401 if the credentials are invalid or no credentials were sent. When the request it successful it adds the user ID to the \'X-Kratos-Authenticated-Identity-Id\' header in the response. If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint: ```js pseudo-code example router.get(\'/protected-endpoint\', async function (req, res) { const session = await client.toSession(undefined, req.header(\'cookie\')) console.log(session) }) ``` When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token: ```js pseudo-code example ... const session = await client.toSession(\"the-session-token\") console.log(session) ``` When using a token template, the token is included in the `tokenized` field of the session. ```js pseudo-code example ... const session = await client.toSession(\"the-session-token\", { tokenize_as: \"example-jwt-template\" }) console.log(session.tokenized) // The JWT ``` Depending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. This endpoint is useful for: AJAX calls. Remember to send credentials and set up CORS correctly! Reverse proxies and API Gateways Server-side calls - use the `X-Session-Token` header! This endpoint authenticates users by checking: if the `Cookie` HTTP header was set containing an Ory Kratos Session Cookie; if the `Authorization: bearer <ory-session-token>` HTTP header was set with a valid Ory Kratos Session Token; if the `X-Session-Token` HTTP header was set with a valid Ory Kratos Session Token. If none of these headers are set or the cookie or token are invalid, the endpoint returns a HTTP 401 status code. As explained above, this request may fail due to several reasons. The `error.id` can be one of: `session_inactive`: No active session was found in the request (e.g. no Ory Session Cookie / Ory Session Token). `session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor.
|
|
539
|
-
* Check Who the Current HTTP Session Belongs To
|
|
540
|
-
*/
|
|
541
|
-
toSession(requestParameters: ToSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Session>;
|
|
542
|
-
/**
|
|
543
|
-
* Use this endpoint to submit a token from a FedCM provider through `navigator.credentials.get` and log the user in. The parameters from `navigator.credentials.get` must have come from `GET self-service/fed-cm/parameters`.
|
|
544
|
-
* @summary Submit a FedCM token
|
|
545
|
-
* @param {UpdateFedcmFlowBody} updateFedcmFlowBody
|
|
546
|
-
* @param {*} [options] Override http request option.
|
|
547
|
-
* @throws {RequiredError}
|
|
548
|
-
* @memberof FrontendApiInterface
|
|
549
|
-
*/
|
|
550
|
-
updateFedcmFlowRaw(requestParameters: UpdateFedcmFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessfulNativeLogin>>;
|
|
551
|
-
/**
|
|
552
|
-
* Use this endpoint to submit a token from a FedCM provider through `navigator.credentials.get` and log the user in. The parameters from `navigator.credentials.get` must have come from `GET self-service/fed-cm/parameters`.
|
|
553
|
-
* Submit a FedCM token
|
|
554
|
-
*/
|
|
555
|
-
updateFedcmFlow(requestParameters: UpdateFedcmFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessfulNativeLogin>;
|
|
556
|
-
/**
|
|
557
|
-
* Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, 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. `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! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. 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).
|
|
558
|
-
* @summary Submit a Login Flow
|
|
559
|
-
* @param {string} flow The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`).
|
|
560
|
-
* @param {UpdateLoginFlowBody} updateLoginFlowBody
|
|
561
|
-
* @param {string} [xSessionToken] The Session Token of the Identity performing the settings flow.
|
|
562
|
-
* @param {string} [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.
|
|
563
|
-
* @param {*} [options] Override http request option.
|
|
564
|
-
* @throws {RequiredError}
|
|
565
|
-
* @memberof FrontendApiInterface
|
|
566
|
-
*/
|
|
567
|
-
updateLoginFlowRaw(requestParameters: UpdateLoginFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessfulNativeLogin>>;
|
|
568
|
-
/**
|
|
569
|
-
* Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, 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. `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! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. 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).
|
|
570
|
-
* Submit a Login Flow
|
|
571
|
-
*/
|
|
572
|
-
updateLoginFlow(requestParameters: UpdateLoginFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessfulNativeLogin>;
|
|
573
|
-
/**
|
|
574
|
-
* This endpoint logs out an identity in a self-service manner. If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`. If the `Accept` HTTP header is set to `application/json`, a 204 No Content response will be sent on successful logout instead. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).
|
|
575
|
-
* @summary Update Logout Flow
|
|
576
|
-
* @param {string} [token] A Valid Logout Token If you do not have a logout token because you only have a session cookie, call `/self-service/logout/browser` to generate a URL for this endpoint.
|
|
577
|
-
* @param {string} [returnTo] The URL to return to after the logout was completed.
|
|
578
|
-
* @param {string} [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.
|
|
579
|
-
* @param {*} [options] Override http request option.
|
|
580
|
-
* @throws {RequiredError}
|
|
581
|
-
* @memberof FrontendApiInterface
|
|
582
|
-
*/
|
|
583
|
-
updateLogoutFlowRaw(requestParameters: UpdateLogoutFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
584
|
-
/**
|
|
585
|
-
* This endpoint logs out an identity in a self-service manner. If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`. If the `Accept` HTTP header is set to `application/json`, a 204 No Content response will be sent on successful logout instead. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).
|
|
586
|
-
* Update Logout Flow
|
|
587
|
-
*/
|
|
588
|
-
updateLogoutFlow(requestParameters: UpdateLogoutFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
589
|
-
/**
|
|
590
|
-
* Use this endpoint to update a recovery flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid. and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/_*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a recovery link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with a new Recovery Flow ID which contains an error message that the recovery link was invalid. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
|
591
|
-
* @summary Update Recovery Flow
|
|
592
|
-
* @param {string} flow The Recovery Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`).
|
|
593
|
-
* @param {UpdateRecoveryFlowBody} updateRecoveryFlowBody
|
|
594
|
-
* @param {string} [token] Recovery Token The recovery token which completes the recovery request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.
|
|
595
|
-
* @param {string} [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.
|
|
596
|
-
* @param {*} [options] Override http request option.
|
|
597
|
-
* @throws {RequiredError}
|
|
598
|
-
* @memberof FrontendApiInterface
|
|
599
|
-
*/
|
|
600
|
-
updateRecoveryFlowRaw(requestParameters: UpdateRecoveryFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecoveryFlow>>;
|
|
601
|
-
/**
|
|
602
|
-
* Use this endpoint to update a recovery flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid. and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/_*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a recovery link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with a new Recovery Flow ID which contains an error message that the recovery link was invalid. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
|
603
|
-
* Update Recovery Flow
|
|
604
|
-
*/
|
|
605
|
-
updateRecoveryFlow(requestParameters: UpdateRecoveryFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecoveryFlow>;
|
|
606
|
-
/**
|
|
607
|
-
* Use this endpoint to complete a registration flow by sending an identity\'s traits and password. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, 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. `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! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. 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).
|
|
608
|
-
* @summary Update Registration Flow
|
|
609
|
-
* @param {string} flow The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`).
|
|
610
|
-
* @param {UpdateRegistrationFlowBody} updateRegistrationFlowBody
|
|
611
|
-
* @param {string} [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.
|
|
612
|
-
* @param {*} [options] Override http request option.
|
|
613
|
-
* @throws {RequiredError}
|
|
614
|
-
* @memberof FrontendApiInterface
|
|
615
|
-
*/
|
|
616
|
-
updateRegistrationFlowRaw(requestParameters: UpdateRegistrationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessfulNativeRegistration>>;
|
|
617
|
-
/**
|
|
618
|
-
* Use this endpoint to complete a registration flow by sending an identity\'s traits and password. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, 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. `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! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. 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).
|
|
619
|
-
* Update Registration Flow
|
|
620
|
-
*/
|
|
621
|
-
updateRegistrationFlow(requestParameters: UpdateRegistrationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessfulNativeRegistration>;
|
|
622
|
-
/**
|
|
623
|
-
* Use this endpoint to complete a settings flow by sending an identity\'s updated password. This endpoint behaves differently for API and browser flows. API-initiated flows expect `application/json` to be sent in the body and respond with HTTP 200 and an application/json body with the session token on success; HTTP 303 redirect to a fresh settings flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. HTTP 401 when the endpoint is called without a valid session token. HTTP 403 when `selfservice.flows.settings.privileged_session_max_age` was reached or the session\'s AAL is too low. Implies that the user needs to re-authenticate. Browser flows without HTTP Header `Accept` or with `Accept: text/_*` respond with a HTTP 303 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded; a HTTP 303 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise. a HTTP 303 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached or the session\'s AAL is too low. Browser flows with HTTP Header `Accept: application/json` respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 401 when the endpoint is called without a valid session cookie. HTTP 403 when the page is accessed without a session cookie or the session\'s AAL is too low. HTTP 400 on form validation errors. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. If this endpoint is called with a `Accept: application/json` HTTP header, 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_refresh_required`: The identity requested to change something that needs a privileged session. Redirect the identity to the login init endpoint with query parameters `?refresh=true&return_to=<the-current-browser-url>`, or initiate a refresh login flow otherwise. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
|
624
|
-
* @summary Complete Settings Flow
|
|
625
|
-
* @param {string} flow The Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`).
|
|
626
|
-
* @param {UpdateSettingsFlowBody} updateSettingsFlowBody
|
|
627
|
-
* @param {string} [xSessionToken] The Session Token of the Identity performing the settings flow.
|
|
628
|
-
* @param {string} [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.
|
|
629
|
-
* @param {*} [options] Override http request option.
|
|
630
|
-
* @throws {RequiredError}
|
|
631
|
-
* @memberof FrontendApiInterface
|
|
632
|
-
*/
|
|
633
|
-
updateSettingsFlowRaw(requestParameters: UpdateSettingsFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SettingsFlow>>;
|
|
634
|
-
/**
|
|
635
|
-
* Use this endpoint to complete a settings flow by sending an identity\'s updated password. This endpoint behaves differently for API and browser flows. API-initiated flows expect `application/json` to be sent in the body and respond with HTTP 200 and an application/json body with the session token on success; HTTP 303 redirect to a fresh settings flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. HTTP 401 when the endpoint is called without a valid session token. HTTP 403 when `selfservice.flows.settings.privileged_session_max_age` was reached or the session\'s AAL is too low. Implies that the user needs to re-authenticate. Browser flows without HTTP Header `Accept` or with `Accept: text/_*` respond with a HTTP 303 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded; a HTTP 303 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise. a HTTP 303 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached or the session\'s AAL is too low. Browser flows with HTTP Header `Accept: application/json` respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 401 when the endpoint is called without a valid session cookie. HTTP 403 when the page is accessed without a session cookie or the session\'s AAL is too low. HTTP 400 on form validation errors. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. If this endpoint is called with a `Accept: application/json` HTTP header, 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_refresh_required`: The identity requested to change something that needs a privileged session. Redirect the identity to the login init endpoint with query parameters `?refresh=true&return_to=<the-current-browser-url>`, or initiate a refresh login flow otherwise. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
|
636
|
-
* Complete Settings Flow
|
|
637
|
-
*/
|
|
638
|
-
updateSettingsFlow(requestParameters: UpdateSettingsFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SettingsFlow>;
|
|
639
|
-
/**
|
|
640
|
-
* Use this endpoint to complete a verification flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid and a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/_*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended. `sent_email` is the success state after `choose_method` when using the `link` method and allows the user to request another verification email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a verification link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with a new Verification Flow ID which contains an error message that the verification link was invalid. More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
|
641
|
-
* @summary Complete Verification Flow
|
|
642
|
-
* @param {string} flow The Verification Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`).
|
|
643
|
-
* @param {UpdateVerificationFlowBody} updateVerificationFlowBody
|
|
644
|
-
* @param {string} [token] Verification Token The verification token which completes the verification request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.
|
|
645
|
-
* @param {string} [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.
|
|
646
|
-
* @param {*} [options] Override http request option.
|
|
647
|
-
* @throws {RequiredError}
|
|
648
|
-
* @memberof FrontendApiInterface
|
|
649
|
-
*/
|
|
650
|
-
updateVerificationFlowRaw(requestParameters: UpdateVerificationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerificationFlow>>;
|
|
651
|
-
/**
|
|
652
|
-
* Use this endpoint to complete a verification flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid and a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/_*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended. `sent_email` is the success state after `choose_method` when using the `link` method and allows the user to request another verification email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a verification link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with a new Verification Flow ID which contains an error message that the verification link was invalid. More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
|
653
|
-
* Complete Verification Flow
|
|
654
|
-
*/
|
|
655
|
-
updateVerificationFlow(requestParameters: UpdateVerificationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VerificationFlow>;
|
|
656
|
-
}
|
|
657
|
-
/**
|
|
658
|
-
*
|
|
659
|
-
*/
|
|
660
|
-
export declare class FrontendApi extends runtime.BaseAPI implements FrontendApiInterface {
|
|
661
|
-
/**
|
|
662
|
-
* 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).
|
|
663
|
-
* Create Login Flow for Browsers
|
|
664
|
-
*/
|
|
665
|
-
createBrowserLoginFlowRaw(requestParameters: CreateBrowserLoginFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LoginFlow>>;
|
|
666
|
-
/**
|
|
667
|
-
* 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).
|
|
668
|
-
* Create Login Flow for Browsers
|
|
669
|
-
*/
|
|
670
|
-
createBrowserLoginFlow(requestParameters?: CreateBrowserLoginFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LoginFlow>;
|
|
671
|
-
/**
|
|
672
|
-
* This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. The URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns a 401 error. When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies.
|
|
673
|
-
* Create a Logout URL for Browsers
|
|
674
|
-
*/
|
|
675
|
-
createBrowserLogoutFlowRaw(requestParameters: CreateBrowserLogoutFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LogoutFlow>>;
|
|
676
|
-
/**
|
|
677
|
-
* This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. The URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns a 401 error. When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies.
|
|
678
|
-
* Create a Logout URL for Browsers
|
|
679
|
-
*/
|
|
680
|
-
createBrowserLogoutFlow(requestParameters?: CreateBrowserLogoutFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LogoutFlow>;
|
|
681
|
-
/**
|
|
682
|
-
* This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to `selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists, the browser is returned to the configured return URL. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects or a 400 bad request error if the user is already authenticated. 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 Account Recovery Documentation](../self-service/flows/account-recovery).
|
|
683
|
-
* Create Recovery Flow for Browsers
|
|
684
|
-
*/
|
|
685
|
-
createBrowserRecoveryFlowRaw(requestParameters: CreateBrowserRecoveryFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecoveryFlow>>;
|
|
686
|
-
/**
|
|
687
|
-
* This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to `selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists, the browser is returned to the configured return URL. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects or a 400 bad request error if the user is already authenticated. 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 Account Recovery Documentation](../self-service/flows/account-recovery).
|
|
688
|
-
* Create Recovery Flow for Browsers
|
|
689
|
-
*/
|
|
690
|
-
createBrowserRecoveryFlow(requestParameters?: CreateBrowserRecoveryFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecoveryFlow>;
|
|
691
|
-
/**
|
|
692
|
-
* This endpoint initializes a browser-based user registration 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.registration.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`. 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. `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! If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect. 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).
|
|
693
|
-
* Create Registration Flow for Browsers
|
|
694
|
-
*/
|
|
695
|
-
createBrowserRegistrationFlowRaw(requestParameters: CreateBrowserRegistrationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RegistrationFlow>>;
|
|
696
|
-
/**
|
|
697
|
-
* This endpoint initializes a browser-based user registration 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.registration.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`. 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. `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! If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect. 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).
|
|
698
|
-
* Create Registration Flow for Browsers
|
|
699
|
-
*/
|
|
700
|
-
createBrowserRegistrationFlow(requestParameters?: CreateBrowserRegistrationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RegistrationFlow>;
|
|
701
|
-
/**
|
|
702
|
-
* This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid Ory Kratos Session Cookie is included in the request, a login flow will be initialized. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid user session was set, the browser will be redirected to the login endpoint. If this endpoint is called via an AJAX request, the response contains the settings flow without any redirects or a 401 forbidden error if no valid session was set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. 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: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! 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 Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
|
703
|
-
* Create Settings Flow for Browsers
|
|
704
|
-
*/
|
|
705
|
-
createBrowserSettingsFlowRaw(requestParameters: CreateBrowserSettingsFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SettingsFlow>>;
|
|
706
|
-
/**
|
|
707
|
-
* This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid Ory Kratos Session Cookie is included in the request, a login flow will be initialized. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid user session was set, the browser will be redirected to the login endpoint. If this endpoint is called via an AJAX request, the response contains the settings flow without any redirects or a 401 forbidden error if no valid session was set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. 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: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! 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 Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
|
708
|
-
* Create Settings Flow for Browsers
|
|
709
|
-
*/
|
|
710
|
-
createBrowserSettingsFlow(requestParameters?: CreateBrowserSettingsFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SettingsFlow>;
|
|
711
|
-
/**
|
|
712
|
-
* This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to `selfservice.flows.verification.ui_url` with the flow ID set as the query parameter `?flow=`. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
|
713
|
-
* Create Verification Flow for Browser Clients
|
|
714
|
-
*/
|
|
715
|
-
createBrowserVerificationFlowRaw(requestParameters: CreateBrowserVerificationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerificationFlow>>;
|
|
716
|
-
/**
|
|
717
|
-
* This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to `selfservice.flows.verification.ui_url` with the flow ID set as the query parameter `?flow=`. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
|
718
|
-
* Create Verification Flow for Browser Clients
|
|
719
|
-
*/
|
|
720
|
-
createBrowserVerificationFlow(requestParameters?: CreateBrowserVerificationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VerificationFlow>;
|
|
721
|
-
/**
|
|
722
|
-
* This endpoint returns a list of all available FedCM providers. It is only supported on the Ory Network.
|
|
723
|
-
* Get FedCM Parameters
|
|
724
|
-
*/
|
|
725
|
-
createFedcmFlowRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateFedcmFlowResponse>>;
|
|
726
|
-
/**
|
|
727
|
-
* This endpoint returns a list of all available FedCM providers. It is only supported on the Ory Network.
|
|
728
|
-
* Get FedCM Parameters
|
|
729
|
-
*/
|
|
730
|
-
createFedcmFlow(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateFedcmFlowResponse>;
|
|
731
|
-
/**
|
|
732
|
-
* This endpoint initiates a login flow for native apps that do not use a browser, such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks. 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. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). 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).
|
|
733
|
-
* Create Login Flow for Native Apps
|
|
734
|
-
*/
|
|
735
|
-
createNativeLoginFlowRaw(requestParameters: CreateNativeLoginFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LoginFlow>>;
|
|
736
|
-
/**
|
|
737
|
-
* This endpoint initiates a login flow for native apps that do not use a browser, such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks. 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. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). 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).
|
|
738
|
-
* Create Login Flow for Native Apps
|
|
739
|
-
*/
|
|
740
|
-
createNativeLoginFlow(requestParameters?: CreateNativeLoginFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LoginFlow>;
|
|
741
|
-
/**
|
|
742
|
-
* This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error. On an existing recovery flow, use the `getRecoveryFlow` API endpoint. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
|
743
|
-
* Create Recovery Flow for Native Apps
|
|
744
|
-
*/
|
|
745
|
-
createNativeRecoveryFlowRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecoveryFlow>>;
|
|
746
|
-
/**
|
|
747
|
-
* This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error. On an existing recovery flow, use the `getRecoveryFlow` API endpoint. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
|
748
|
-
* Create Recovery Flow for Native Apps
|
|
749
|
-
*/
|
|
750
|
-
createNativeRecoveryFlow(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecoveryFlow>;
|
|
751
|
-
/**
|
|
752
|
-
* This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing registration flow call `/self-service/registration/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. 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. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). 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).
|
|
753
|
-
* Create Registration Flow for Native Apps
|
|
754
|
-
*/
|
|
755
|
-
createNativeRegistrationFlowRaw(requestParameters: CreateNativeRegistrationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RegistrationFlow>>;
|
|
756
|
-
/**
|
|
757
|
-
* This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing registration flow call `/self-service/registration/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. 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. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). 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).
|
|
758
|
-
* Create Registration Flow for Native Apps
|
|
759
|
-
*/
|
|
760
|
-
createNativeRegistrationFlow(requestParameters?: CreateNativeRegistrationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RegistrationFlow>;
|
|
761
|
-
/**
|
|
762
|
-
* This endpoint initiates a settings flow for API clients such as mobile devices, smart TVs, and so on. You must provide a valid Ory Kratos Session Token for this endpoint to respond with HTTP 200 OK. To fetch an existing settings flow call `/self-service/settings/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
|
763
|
-
* Create Settings Flow for Native Apps
|
|
764
|
-
*/
|
|
765
|
-
createNativeSettingsFlowRaw(requestParameters: CreateNativeSettingsFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SettingsFlow>>;
|
|
766
|
-
/**
|
|
767
|
-
* This endpoint initiates a settings flow for API clients such as mobile devices, smart TVs, and so on. You must provide a valid Ory Kratos Session Token for this endpoint to respond with HTTP 200 OK. To fetch an existing settings flow call `/self-service/settings/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
|
768
|
-
* Create Settings Flow for Native Apps
|
|
769
|
-
*/
|
|
770
|
-
createNativeSettingsFlow(requestParameters?: CreateNativeSettingsFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SettingsFlow>;
|
|
771
|
-
/**
|
|
772
|
-
* This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on. To fetch an existing verification flow call `/self-service/verification/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
|
773
|
-
* Create Verification Flow for Native Apps
|
|
774
|
-
*/
|
|
775
|
-
createNativeVerificationFlowRaw(requestParameters: CreateNativeVerificationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerificationFlow>>;
|
|
776
|
-
/**
|
|
777
|
-
* This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on. To fetch an existing verification flow call `/self-service/verification/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
|
778
|
-
* Create Verification Flow for Native Apps
|
|
779
|
-
*/
|
|
780
|
-
createNativeVerificationFlow(requestParameters?: CreateNativeVerificationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VerificationFlow>;
|
|
781
|
-
/**
|
|
782
|
-
* Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
|
|
783
|
-
* Disable my other sessions
|
|
784
|
-
*/
|
|
785
|
-
disableMyOtherSessionsRaw(requestParameters: DisableMyOtherSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteMySessionsCount>>;
|
|
786
|
-
/**
|
|
787
|
-
* Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
|
|
788
|
-
* Disable my other sessions
|
|
789
|
-
*/
|
|
790
|
-
disableMyOtherSessions(requestParameters?: DisableMyOtherSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteMySessionsCount>;
|
|
791
|
-
/**
|
|
792
|
-
* Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
|
|
793
|
-
* Disable one of my sessions
|
|
794
|
-
*/
|
|
795
|
-
disableMySessionRaw(requestParameters: DisableMySessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
796
|
-
/**
|
|
797
|
-
* Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
|
|
798
|
-
* Disable one of my sessions
|
|
799
|
-
*/
|
|
800
|
-
disableMySession(requestParameters: DisableMySessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
801
|
-
/**
|
|
802
|
-
* Exchange Session Token
|
|
803
|
-
*/
|
|
804
|
-
exchangeSessionTokenRaw(requestParameters: ExchangeSessionTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessfulNativeLogin>>;
|
|
805
|
-
/**
|
|
806
|
-
* Exchange Session Token
|
|
807
|
-
*/
|
|
808
|
-
exchangeSessionToken(requestParameters: ExchangeSessionTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessfulNativeLogin>;
|
|
809
|
-
/**
|
|
810
|
-
* This endpoint returns the error associated with a user-facing self service errors. This endpoint supports stub values to help you implement the error UI: `?id=stub:500` - returns a stub 500 (Internal Server Error) error. More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).
|
|
811
|
-
* Get User-Flow Errors
|
|
812
|
-
*/
|
|
813
|
-
getFlowErrorRaw(requestParameters: GetFlowErrorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FlowError>>;
|
|
814
|
-
/**
|
|
815
|
-
* This endpoint returns the error associated with a user-facing self service errors. This endpoint supports stub values to help you implement the error UI: `?id=stub:500` - returns a stub 500 (Internal Server Error) error. More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).
|
|
816
|
-
* Get User-Flow Errors
|
|
817
|
-
*/
|
|
818
|
-
getFlowError(requestParameters: GetFlowErrorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FlowError>;
|
|
819
|
-
/**
|
|
820
|
-
* This endpoint returns a login flow\'s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request\'s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get(\'/login\', async function (req, res) { const flow = await client.getLoginFlow(req.header(\'cookie\'), req.query[\'flow\']) res.render(\'login\', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. 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).
|
|
821
|
-
* Get Login Flow
|
|
822
|
-
*/
|
|
823
|
-
getLoginFlowRaw(requestParameters: GetLoginFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LoginFlow>>;
|
|
824
|
-
/**
|
|
825
|
-
* This endpoint returns a login flow\'s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request\'s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get(\'/login\', async function (req, res) { const flow = await client.getLoginFlow(req.header(\'cookie\'), req.query[\'flow\']) res.render(\'login\', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. 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).
|
|
826
|
-
* Get Login Flow
|
|
827
|
-
*/
|
|
828
|
-
getLoginFlow(requestParameters: GetLoginFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LoginFlow>;
|
|
829
|
-
/**
|
|
830
|
-
* This endpoint returns a recovery flow\'s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request\'s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get(\'/recovery\', async function (req, res) { const flow = await client.getRecoveryFlow(req.header(\'Cookie\'), req.query[\'flow\']) res.render(\'recovery\', flow) }) ``` More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
|
831
|
-
* Get Recovery Flow
|
|
832
|
-
*/
|
|
833
|
-
getRecoveryFlowRaw(requestParameters: GetRecoveryFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecoveryFlow>>;
|
|
834
|
-
/**
|
|
835
|
-
* This endpoint returns a recovery flow\'s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request\'s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get(\'/recovery\', async function (req, res) { const flow = await client.getRecoveryFlow(req.header(\'Cookie\'), req.query[\'flow\']) res.render(\'recovery\', flow) }) ``` More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
|
836
|
-
* Get Recovery Flow
|
|
837
|
-
*/
|
|
838
|
-
getRecoveryFlow(requestParameters: GetRecoveryFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecoveryFlow>;
|
|
839
|
-
/**
|
|
840
|
-
* This endpoint returns a registration flow\'s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request\'s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get(\'/registration\', async function (req, res) { const flow = await client.getRegistrationFlow(req.header(\'cookie\'), req.query[\'flow\']) res.render(\'registration\', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. 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).
|
|
841
|
-
* Get Registration Flow
|
|
842
|
-
*/
|
|
843
|
-
getRegistrationFlowRaw(requestParameters: GetRegistrationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RegistrationFlow>>;
|
|
844
|
-
/**
|
|
845
|
-
* This endpoint returns a registration flow\'s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request\'s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get(\'/registration\', async function (req, res) { const flow = await client.getRegistrationFlow(req.header(\'cookie\'), req.query[\'flow\']) res.render(\'registration\', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. 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).
|
|
846
|
-
* Get Registration Flow
|
|
847
|
-
*/
|
|
848
|
-
getRegistrationFlow(requestParameters: GetRegistrationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RegistrationFlow>;
|
|
849
|
-
/**
|
|
850
|
-
* When accessing this endpoint through Ory Kratos\' Public API you must ensure that either the Ory Kratos Session Cookie or the Ory Kratos Session Token are set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. You can access this endpoint without credentials when using Ory Kratos\' Admin API. 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: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
|
851
|
-
* Get Settings Flow
|
|
852
|
-
*/
|
|
853
|
-
getSettingsFlowRaw(requestParameters: GetSettingsFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SettingsFlow>>;
|
|
854
|
-
/**
|
|
855
|
-
* When accessing this endpoint through Ory Kratos\' Public API you must ensure that either the Ory Kratos Session Cookie or the Ory Kratos Session Token are set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. You can access this endpoint without credentials when using Ory Kratos\' Admin API. 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: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
|
856
|
-
* Get Settings Flow
|
|
857
|
-
*/
|
|
858
|
-
getSettingsFlow(requestParameters: GetSettingsFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SettingsFlow>;
|
|
859
|
-
/**
|
|
860
|
-
* This endpoint returns a verification flow\'s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request\'s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get(\'/recovery\', async function (req, res) { const flow = await client.getVerificationFlow(req.header(\'cookie\'), req.query[\'flow\']) res.render(\'verification\', flow) }) ``` More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
|
861
|
-
* Get Verification Flow
|
|
862
|
-
*/
|
|
863
|
-
getVerificationFlowRaw(requestParameters: GetVerificationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerificationFlow>>;
|
|
864
|
-
/**
|
|
865
|
-
* This endpoint returns a verification flow\'s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request\'s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get(\'/recovery\', async function (req, res) { const flow = await client.getVerificationFlow(req.header(\'cookie\'), req.query[\'flow\']) res.render(\'verification\', flow) }) ``` More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
|
866
|
-
* Get Verification Flow
|
|
867
|
-
*/
|
|
868
|
-
getVerificationFlow(requestParameters: GetVerificationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VerificationFlow>;
|
|
869
|
-
/**
|
|
870
|
-
* 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 <script src=\"https://public-kratos.example.org/.well-known/ory/webauthn.js\" type=\"script\" async /> ``` 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).
|
|
871
|
-
* Get WebAuthn JavaScript
|
|
872
|
-
*/
|
|
873
|
-
getWebAuthnJavaScriptRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
874
|
-
/**
|
|
875
|
-
* 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 <script src=\"https://public-kratos.example.org/.well-known/ory/webauthn.js\" type=\"script\" async /> ``` 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).
|
|
876
|
-
* Get WebAuthn JavaScript
|
|
877
|
-
*/
|
|
878
|
-
getWebAuthnJavaScript(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
879
|
-
/**
|
|
880
|
-
* This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint.
|
|
881
|
-
* Get My Active Sessions
|
|
882
|
-
*/
|
|
883
|
-
listMySessionsRaw(requestParameters: ListMySessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Session>>>;
|
|
884
|
-
/**
|
|
885
|
-
* This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint.
|
|
886
|
-
* Get My Active Sessions
|
|
887
|
-
*/
|
|
888
|
-
listMySessions(requestParameters?: ListMySessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Session>>;
|
|
889
|
-
/**
|
|
890
|
-
* Use this endpoint to log out an identity using an Ory Session Token. If the Ory Session Token was successfully revoked, the server returns a 204 No Content response. A 204 No Content response is also sent when the Ory Session Token has been revoked already before. If the Ory Session Token is malformed or does not exist a 403 Forbidden response will be returned. This endpoint does not remove any HTTP Cookies - use the Browser-Based Self-Service Logout Flow instead.
|
|
891
|
-
* Perform Logout for Native Apps
|
|
892
|
-
*/
|
|
893
|
-
performNativeLogoutRaw(requestParameters: PerformNativeLogoutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
894
|
-
/**
|
|
895
|
-
* Use this endpoint to log out an identity using an Ory Session Token. If the Ory Session Token was successfully revoked, the server returns a 204 No Content response. A 204 No Content response is also sent when the Ory Session Token has been revoked already before. If the Ory Session Token is malformed or does not exist a 403 Forbidden response will be returned. This endpoint does not remove any HTTP Cookies - use the Browser-Based Self-Service Logout Flow instead.
|
|
896
|
-
* Perform Logout for Native Apps
|
|
897
|
-
*/
|
|
898
|
-
performNativeLogout(requestParameters: PerformNativeLogoutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
899
|
-
/**
|
|
900
|
-
* Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated. Returns a session object in the body or 401 if the credentials are invalid or no credentials were sent. When the request it successful it adds the user ID to the \'X-Kratos-Authenticated-Identity-Id\' header in the response. If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint: ```js pseudo-code example router.get(\'/protected-endpoint\', async function (req, res) { const session = await client.toSession(undefined, req.header(\'cookie\')) console.log(session) }) ``` When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token: ```js pseudo-code example ... const session = await client.toSession(\"the-session-token\") console.log(session) ``` When using a token template, the token is included in the `tokenized` field of the session. ```js pseudo-code example ... const session = await client.toSession(\"the-session-token\", { tokenize_as: \"example-jwt-template\" }) console.log(session.tokenized) // The JWT ``` Depending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. This endpoint is useful for: AJAX calls. Remember to send credentials and set up CORS correctly! Reverse proxies and API Gateways Server-side calls - use the `X-Session-Token` header! This endpoint authenticates users by checking: if the `Cookie` HTTP header was set containing an Ory Kratos Session Cookie; if the `Authorization: bearer <ory-session-token>` HTTP header was set with a valid Ory Kratos Session Token; if the `X-Session-Token` HTTP header was set with a valid Ory Kratos Session Token. If none of these headers are set or the cookie or token are invalid, the endpoint returns a HTTP 401 status code. As explained above, this request may fail due to several reasons. The `error.id` can be one of: `session_inactive`: No active session was found in the request (e.g. no Ory Session Cookie / Ory Session Token). `session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor.
|
|
901
|
-
* Check Who the Current HTTP Session Belongs To
|
|
902
|
-
*/
|
|
903
|
-
toSessionRaw(requestParameters: ToSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Session>>;
|
|
904
|
-
/**
|
|
905
|
-
* Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated. Returns a session object in the body or 401 if the credentials are invalid or no credentials were sent. When the request it successful it adds the user ID to the \'X-Kratos-Authenticated-Identity-Id\' header in the response. If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint: ```js pseudo-code example router.get(\'/protected-endpoint\', async function (req, res) { const session = await client.toSession(undefined, req.header(\'cookie\')) console.log(session) }) ``` When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token: ```js pseudo-code example ... const session = await client.toSession(\"the-session-token\") console.log(session) ``` When using a token template, the token is included in the `tokenized` field of the session. ```js pseudo-code example ... const session = await client.toSession(\"the-session-token\", { tokenize_as: \"example-jwt-template\" }) console.log(session.tokenized) // The JWT ``` Depending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. This endpoint is useful for: AJAX calls. Remember to send credentials and set up CORS correctly! Reverse proxies and API Gateways Server-side calls - use the `X-Session-Token` header! This endpoint authenticates users by checking: if the `Cookie` HTTP header was set containing an Ory Kratos Session Cookie; if the `Authorization: bearer <ory-session-token>` HTTP header was set with a valid Ory Kratos Session Token; if the `X-Session-Token` HTTP header was set with a valid Ory Kratos Session Token. If none of these headers are set or the cookie or token are invalid, the endpoint returns a HTTP 401 status code. As explained above, this request may fail due to several reasons. The `error.id` can be one of: `session_inactive`: No active session was found in the request (e.g. no Ory Session Cookie / Ory Session Token). `session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor.
|
|
906
|
-
* Check Who the Current HTTP Session Belongs To
|
|
907
|
-
*/
|
|
908
|
-
toSession(requestParameters?: ToSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Session>;
|
|
909
|
-
/**
|
|
910
|
-
* Use this endpoint to submit a token from a FedCM provider through `navigator.credentials.get` and log the user in. The parameters from `navigator.credentials.get` must have come from `GET self-service/fed-cm/parameters`.
|
|
911
|
-
* Submit a FedCM token
|
|
912
|
-
*/
|
|
913
|
-
updateFedcmFlowRaw(requestParameters: UpdateFedcmFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessfulNativeLogin>>;
|
|
914
|
-
/**
|
|
915
|
-
* Use this endpoint to submit a token from a FedCM provider through `navigator.credentials.get` and log the user in. The parameters from `navigator.credentials.get` must have come from `GET self-service/fed-cm/parameters`.
|
|
916
|
-
* Submit a FedCM token
|
|
917
|
-
*/
|
|
918
|
-
updateFedcmFlow(requestParameters: UpdateFedcmFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessfulNativeLogin>;
|
|
919
|
-
/**
|
|
920
|
-
* Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, 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. `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! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. 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).
|
|
921
|
-
* Submit a Login Flow
|
|
922
|
-
*/
|
|
923
|
-
updateLoginFlowRaw(requestParameters: UpdateLoginFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessfulNativeLogin>>;
|
|
924
|
-
/**
|
|
925
|
-
* Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, 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. `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! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. 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).
|
|
926
|
-
* Submit a Login Flow
|
|
927
|
-
*/
|
|
928
|
-
updateLoginFlow(requestParameters: UpdateLoginFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessfulNativeLogin>;
|
|
929
|
-
/**
|
|
930
|
-
* This endpoint logs out an identity in a self-service manner. If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`. If the `Accept` HTTP header is set to `application/json`, a 204 No Content response will be sent on successful logout instead. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).
|
|
931
|
-
* Update Logout Flow
|
|
932
|
-
*/
|
|
933
|
-
updateLogoutFlowRaw(requestParameters: UpdateLogoutFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
934
|
-
/**
|
|
935
|
-
* This endpoint logs out an identity in a self-service manner. If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`. If the `Accept` HTTP header is set to `application/json`, a 204 No Content response will be sent on successful logout instead. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).
|
|
936
|
-
* Update Logout Flow
|
|
937
|
-
*/
|
|
938
|
-
updateLogoutFlow(requestParameters?: UpdateLogoutFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
939
|
-
/**
|
|
940
|
-
* Use this endpoint to update a recovery flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid. and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/_*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a recovery link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with a new Recovery Flow ID which contains an error message that the recovery link was invalid. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
|
941
|
-
* Update Recovery Flow
|
|
942
|
-
*/
|
|
943
|
-
updateRecoveryFlowRaw(requestParameters: UpdateRecoveryFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecoveryFlow>>;
|
|
944
|
-
/**
|
|
945
|
-
* Use this endpoint to update a recovery flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid. and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/_*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a recovery link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with a new Recovery Flow ID which contains an error message that the recovery link was invalid. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
|
946
|
-
* Update Recovery Flow
|
|
947
|
-
*/
|
|
948
|
-
updateRecoveryFlow(requestParameters: UpdateRecoveryFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecoveryFlow>;
|
|
949
|
-
/**
|
|
950
|
-
* Use this endpoint to complete a registration flow by sending an identity\'s traits and password. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, 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. `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! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. 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).
|
|
951
|
-
* Update Registration Flow
|
|
952
|
-
*/
|
|
953
|
-
updateRegistrationFlowRaw(requestParameters: UpdateRegistrationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessfulNativeRegistration>>;
|
|
954
|
-
/**
|
|
955
|
-
* Use this endpoint to complete a registration flow by sending an identity\'s traits and password. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, 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. `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! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. 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).
|
|
956
|
-
* Update Registration Flow
|
|
957
|
-
*/
|
|
958
|
-
updateRegistrationFlow(requestParameters: UpdateRegistrationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessfulNativeRegistration>;
|
|
959
|
-
/**
|
|
960
|
-
* Use this endpoint to complete a settings flow by sending an identity\'s updated password. This endpoint behaves differently for API and browser flows. API-initiated flows expect `application/json` to be sent in the body and respond with HTTP 200 and an application/json body with the session token on success; HTTP 303 redirect to a fresh settings flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. HTTP 401 when the endpoint is called without a valid session token. HTTP 403 when `selfservice.flows.settings.privileged_session_max_age` was reached or the session\'s AAL is too low. Implies that the user needs to re-authenticate. Browser flows without HTTP Header `Accept` or with `Accept: text/_*` respond with a HTTP 303 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded; a HTTP 303 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise. a HTTP 303 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached or the session\'s AAL is too low. Browser flows with HTTP Header `Accept: application/json` respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 401 when the endpoint is called without a valid session cookie. HTTP 403 when the page is accessed without a session cookie or the session\'s AAL is too low. HTTP 400 on form validation errors. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. If this endpoint is called with a `Accept: application/json` HTTP header, 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_refresh_required`: The identity requested to change something that needs a privileged session. Redirect the identity to the login init endpoint with query parameters `?refresh=true&return_to=<the-current-browser-url>`, or initiate a refresh login flow otherwise. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
|
961
|
-
* Complete Settings Flow
|
|
962
|
-
*/
|
|
963
|
-
updateSettingsFlowRaw(requestParameters: UpdateSettingsFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SettingsFlow>>;
|
|
964
|
-
/**
|
|
965
|
-
* Use this endpoint to complete a settings flow by sending an identity\'s updated password. This endpoint behaves differently for API and browser flows. API-initiated flows expect `application/json` to be sent in the body and respond with HTTP 200 and an application/json body with the session token on success; HTTP 303 redirect to a fresh settings flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. HTTP 401 when the endpoint is called without a valid session token. HTTP 403 when `selfservice.flows.settings.privileged_session_max_age` was reached or the session\'s AAL is too low. Implies that the user needs to re-authenticate. Browser flows without HTTP Header `Accept` or with `Accept: text/_*` respond with a HTTP 303 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded; a HTTP 303 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise. a HTTP 303 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached or the session\'s AAL is too low. Browser flows with HTTP Header `Accept: application/json` respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 401 when the endpoint is called without a valid session cookie. HTTP 403 when the page is accessed without a session cookie or the session\'s AAL is too low. HTTP 400 on form validation errors. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. If this endpoint is called with a `Accept: application/json` HTTP header, 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_refresh_required`: The identity requested to change something that needs a privileged session. Redirect the identity to the login init endpoint with query parameters `?refresh=true&return_to=<the-current-browser-url>`, or initiate a refresh login flow otherwise. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
|
966
|
-
* Complete Settings Flow
|
|
967
|
-
*/
|
|
968
|
-
updateSettingsFlow(requestParameters: UpdateSettingsFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SettingsFlow>;
|
|
969
|
-
/**
|
|
970
|
-
* Use this endpoint to complete a verification flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid and a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/_*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended. `sent_email` is the success state after `choose_method` when using the `link` method and allows the user to request another verification email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a verification link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with a new Verification Flow ID which contains an error message that the verification link was invalid. More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
|
971
|
-
* Complete Verification Flow
|
|
972
|
-
*/
|
|
973
|
-
updateVerificationFlowRaw(requestParameters: UpdateVerificationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerificationFlow>>;
|
|
974
|
-
/**
|
|
975
|
-
* Use this endpoint to complete a verification flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid and a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/_*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended. `sent_email` is the success state after `choose_method` when using the `link` method and allows the user to request another verification email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a verification link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with a new Verification Flow ID which contains an error message that the verification link was invalid. More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
|
976
|
-
* Complete Verification Flow
|
|
977
|
-
*/
|
|
978
|
-
updateVerificationFlow(requestParameters: UpdateVerificationFlowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VerificationFlow>;
|
|
979
|
-
}
|