UNPKG

@leancodepl/kratos

Version:

Headless React components library for building Ory Kratos authentication flows

35 lines 1.85 kB
import { UpdateSettingsFlowWithLookupMethod } from './UpdateSettingsFlowWithLookupMethod'; import { UpdateSettingsFlowWithOidcMethod } from './UpdateSettingsFlowWithOidcMethod'; import { UpdateSettingsFlowWithPasskeyMethod } from './UpdateSettingsFlowWithPasskeyMethod'; import { UpdateSettingsFlowWithPasswordMethod } from './UpdateSettingsFlowWithPasswordMethod'; import { UpdateSettingsFlowWithProfileMethod } from './UpdateSettingsFlowWithProfileMethod'; import { UpdateSettingsFlowWithSamlMethod } from './UpdateSettingsFlowWithSamlMethod'; import { UpdateSettingsFlowWithTotpMethod } from './UpdateSettingsFlowWithTotpMethod'; import { UpdateSettingsFlowWithWebAuthnMethod } from './UpdateSettingsFlowWithWebAuthnMethod'; /** * @type UpdateSettingsFlowBody * Update Settings Flow Request Body * @export */ export type UpdateSettingsFlowBody = { method: 'lookup_secret'; } & UpdateSettingsFlowWithLookupMethod | { method: 'oidc'; } & UpdateSettingsFlowWithOidcMethod | { method: 'passkey'; } & UpdateSettingsFlowWithPasskeyMethod | { method: 'password'; } & UpdateSettingsFlowWithPasswordMethod | { method: 'profile'; } & UpdateSettingsFlowWithProfileMethod | { method: 'saml'; } & UpdateSettingsFlowWithSamlMethod | { method: 'totp'; } & UpdateSettingsFlowWithTotpMethod | { method: 'webauthn'; } & UpdateSettingsFlowWithWebAuthnMethod; export declare function UpdateSettingsFlowBodyFromJSON(json: any): UpdateSettingsFlowBody; export declare function UpdateSettingsFlowBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSettingsFlowBody; export declare function UpdateSettingsFlowBodyToJSON(json: any): any; export declare function UpdateSettingsFlowBodyToJSONTyped(value?: UpdateSettingsFlowBody | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=UpdateSettingsFlowBody.d.ts.map