 
     }
 
-    public func getSigner(key: Bytes) -> Signer {
+    private func getSigner(key: Bytes) -> Signer {
 
         switch self.signer {
 

        self.secondsToExpire = secondsToExpire
      }

    /// Gets token signature key
    ///
    /// - Returns: signature key
    public func getTokenSignatureKey() -> Bytes {
        return Array(self.signatureKey.utf8)

    }

    /// Gets token public key
    ///
    /// - Returns: public key
    /// - Throws: if cannot retrieve signature key
    public func getTokenPublicKey() throws -> Bytes {
        return Array(self.publicKey!.utf8)

    }

    /// Generates the expiration date based on the

/// Sets the protocol of what is expected on the config file
public protocol ConfigurationType {

     func validateToken(token: String) throws -> Bool
     func generateToken(userId: Node) throws -> String
}
