interface Authenticator {
    email: string;
    otp_type?: OTPType;
    password: string;
    pin_code?: string;
}

Properties

email: string
otp_type?: OTPType

The "otp_type" field is required when 2FA is activated

password: string
pin_code?: string

The "pin_code" field is required when 2FA is activated