     public class func defaultPeriod() -> NSTimeInterval {
         return 30
     }
+
 
     public func validate() -> Bool {
         return (token != nil)


    required public override init() {}

    var token: Token? {
        return tokenForOTPToken(self)
    }
    var keychainItem: Token.KeychainItem?

    private func updateWithToken(token: Token) {
        self.name = token.name

        }
    }


    public class func defaultAlgorithm() -> OTPAlgorithm {
        return .SHA1
