Skip to main content

AuthFlowState

Axis Vertex JavaScript SDK: react


Axis Vertex JavaScript SDK: react / AuthFlowState

Type Alias: AuthFlowState

AuthFlowState = AuthFlowCommon & { step: "loading" | "unavailable" | "identifier" | "sign-up"; } | { codeSent: boolean; identifier: string; identifierKind: "email" | "phone" | "username"; loginIdentifier: LoginIdentifier; magicLinkSent: boolean; method: AuthCredentialMethod | null; methods: readonly AuthCredentialMethod[]; phase: "credentials" | "code" | "magic-link"; step: "method"; } | { identifier: string; methods: readonly MfaProofMethod[]; step: "mfa"; } | { registration: RegistrationOperation; step: "verification"; } | { step: "success"; user: IamUser; }