/** * * * Request payload for enabling two-factor authentication (2FA) for a user account. */ export declare class Enable2faRequest { /** * * The shared TOTP secret used to generate one-time passwords. */ secret: string; /** * * The number of digits in each generated one-time password. */ otpLength: number; /** * * * The otp at the current time for the provided configuration */ otp: string; /** * * * If null defaults to SHA1 as many authenticator apps still do not support different algorithms */ algorithm: Enable2faRequest.Algorithm | undefined; constructor(partial: Partial & Pick); toJSON(): object; static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array): Enable2faRequest; } export declare namespace Enable2faRequest { enum Algorithm { Sha1 = "Sha1", Sha256 = "Sha256", Sha512 = "Sha512" } }