Login:Src:Types: add TTfaSecretKeyAndQR type
This commit is contained in:
parent
43631a0f64
commit
dd38adfb33
@ -116,6 +116,25 @@ export type TConfirmLinkResult = {
|
|||||||
roomId?: string;
|
roomId?: string;
|
||||||
title?: 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 {
|
export interface ConfirmRouteProps {
|
||||||
doAuthenticated?: AuthenticatedAction;
|
doAuthenticated?: AuthenticatedAction;
|
||||||
defaultPage?: string;
|
defaultPage?: string;
|
||||||
@ -187,15 +206,3 @@ export type WizardFormProps = {
|
|||||||
wizardToken?: string;
|
wizardToken?: string;
|
||||||
passwordHash?: TPasswordHash;
|
passwordHash?: TPasswordHash;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type TCreateUserData = {
|
|
||||||
fromInviteLink: boolean;
|
|
||||||
userName: string;
|
|
||||||
passwordHash: string;
|
|
||||||
cultureName: string;
|
|
||||||
email: string;
|
|
||||||
firstName: string;
|
|
||||||
lastName: string;
|
|
||||||
key?: string;
|
|
||||||
type?: number;
|
|
||||||
};
|
|
||||||
|
Loading…
Reference in New Issue
Block a user