UNPKG

@leancodepl/kratos

Version:

Headless React components library for building Ory Kratos authentication flows

38 lines 1.91 kB
import { UpdateLoginFlowWithCodeMethod } from './UpdateLoginFlowWithCodeMethod'; import { UpdateLoginFlowWithIdentifierFirstMethod } from './UpdateLoginFlowWithIdentifierFirstMethod'; import { UpdateLoginFlowWithLookupSecretMethod } from './UpdateLoginFlowWithLookupSecretMethod'; import { UpdateLoginFlowWithOidcMethod } from './UpdateLoginFlowWithOidcMethod'; import { UpdateLoginFlowWithPasskeyMethod } from './UpdateLoginFlowWithPasskeyMethod'; import { UpdateLoginFlowWithPasswordMethod } from './UpdateLoginFlowWithPasswordMethod'; import { UpdateLoginFlowWithSamlMethod } from './UpdateLoginFlowWithSamlMethod'; import { UpdateLoginFlowWithTotpMethod } from './UpdateLoginFlowWithTotpMethod'; import { UpdateLoginFlowWithWebAuthnMethod } from './UpdateLoginFlowWithWebAuthnMethod'; /** * @type UpdateLoginFlowBody * * @export */ export type UpdateLoginFlowBody = { method: 'code'; } & UpdateLoginFlowWithCodeMethod | { method: 'identifier_first'; } & UpdateLoginFlowWithIdentifierFirstMethod | { method: 'lookup_secret'; } & UpdateLoginFlowWithLookupSecretMethod | { method: 'oidc'; } & UpdateLoginFlowWithOidcMethod | { method: 'passkey'; } & UpdateLoginFlowWithPasskeyMethod | { method: 'password'; } & UpdateLoginFlowWithPasswordMethod | { method: 'saml'; } & UpdateLoginFlowWithSamlMethod | { method: 'totp'; } & UpdateLoginFlowWithTotpMethod | { method: 'webauthn'; } & UpdateLoginFlowWithWebAuthnMethod; export declare function UpdateLoginFlowBodyFromJSON(json: any): UpdateLoginFlowBody; export declare function UpdateLoginFlowBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLoginFlowBody; export declare function UpdateLoginFlowBodyToJSON(json: any): any; export declare function UpdateLoginFlowBodyToJSONTyped(value?: UpdateLoginFlowBody | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=UpdateLoginFlowBody.d.ts.map