 
 import UIKit
 
-fileprivate enum NextFirstResponderDirection: Int {
+fileprivate enum WMFTwoFactorNextFirstResponderDirection: Int {
     case forward = 1
     case reverse = -1
+}
+
+fileprivate enum WMFTwoFactorTokenDisplayMode {
+    case shortNumeric
+    case longAlphaNumeric
 }
 
 class WMFTwoFactorPasswordViewController: WMFScrollViewController, UITextFieldDelegate, WMFDeleteBackwardReportingTextFieldDelegate {

    }
    
    fileprivate func token() -> String {
        if useBackupOathToken {
            return backupOathTokenField.text!
        }else{
            return oathTokenFields.reduce("", { $0 + ($1.text ?? "") })
        }
    }

    
    func wmf_deleteBackward(_ sender: UITextField) {
        guard
            displayMode == .shortNumeric,
            (sender.text ?? "").characters.count == 0
        else {
            return
