add a temporary method for getTwoFactorMethods