const user = await getCurrentUser();
const methods = getEnrolledMfaMethods(user);
// methods = ['totp', 'sms']
if (methods.length > 1) {
// Prompt user to choose which method to use
const selectedMethod = await promptUser(methods);
await initiateMfaVerification({ mfaMethod: selectedMethod });
}