Login:Src:Types: add TTfaSecretKeyAndQR type

This commit is contained in:
Darya Umrikhina 2024-07-29 12:05:15 +04:00
parent 43631a0f64
commit dd38adfb33

View File

@ -116,6 +116,25 @@ export type TConfirmLinkResult = {
roomId?: string;
title?: string;
};
export type TCreateUserData = {
fromInviteLink: boolean;
userName: string;
passwordHash: string;
cultureName: string;
email: string;
firstName: string;
lastName: string;
key?: string;
type?: number;
};
export type TTfaSecretKeyAndQR = {
account: string;
manualEntryKey: string;
qrCodeSetupImageUrl: string;
};
export interface ConfirmRouteProps {
doAuthenticated?: AuthenticatedAction;
defaultPage?: string;
@ -187,15 +206,3 @@ export type WizardFormProps = {
wizardToken?: string;
passwordHash?: TPasswordHash;
};
export type TCreateUserData = {
fromInviteLink: boolean;
userName: string;
passwordHash: string;
cultureName: string;
email: string;
firstName: string;
lastName: string;
key?: string;
type?: number;
};