 
     }
 
-    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

            // Validate our current access token
            let receivedJWT = try JWT(token: token)

            var key: Bytes = self.signatureKeyBytes

            if let publicKeyBytes = self.publicKeyBytes {
                key = publicKeyBytes
            }

            // Verify signature
