Purge an item from the database immediately.

@param string   $key  Session identifier.
@param callable $next Next delete operation in the stack.

@return mixed
482469
public function delete($key, $next)
    {
        $session_key = $this->sanitize($key);

        $this->directDelete($session_key);

        return $next($key);
    }
805307
public function handle($request, Closure $next)
    {
        if( auth()->check() ) {
            $user = auth()->user();
            $user->updateLastActivity();
        }

        return $next($request);
    }
620547
function reset($key)
    {
        $key = self::PREFIX.$key;
        return $this->redis->del($key);
    }
208751
public function forget($key)
    {
        return tap(
            $this->store->forget($this->itemKey($key)), function () use ($key) {
                $this->event(new KeyForgotten($key));
            }
        );
    }
24851
public function delete( $id, $next ) {
		$session_id = $this->sanitize( $id );

		$this->_delete( $session_id );

		return $next( $id );
	}
391141
public function del($key)
    {
        $this->log(__FUNCTION__, $key);
        return $this->persistence->del($key);
    }
754148
public function handle($request, Closure $next)
    {
        return $this->encrypt($next($this->decrypt($request)));
    }
76028
public function deleteValue($key)
    {
        $this->ssdbHandle->hdel($this->cache_keys_hash, $key);
        return $this->ssdbHandle->del($key);
    }
1135625
public function handle($request, Closure $next)
    {
        if (! $this->auth->user()->managesUsers()) {
            return response('Unauthorized.', 401);
        }

        return $next($request);
    }
200149
public function handle($request, Closure $next)
    {
        if (!$this->debugbar->isEnabled()) {
            abort(404);
        }

        return $next($request);

    }
816141
public function handle($request, Closure $next)
    {
        try {
            WebhookSignature::verifyHeader(
                $request->getContent(),
                $request->header('Stripe-Signature'),
                $this->config->get('services.stripe.webhook.secret'),
                $this->config->get('services.stripe.webhook.tolerance')
            );
        } catch (SignatureVerification $exception) {
            $this->app->abort(403);
        }

        return $next($request);
    }
966597
public function remove($key) {
        $key = $this->secureKey($key);
        
        if (isset($_SESSION[$key])) unset($_SESSION[$key]);
        
        return $key;
    }
1306936
public function handle($request, Closure $next)
    {
        if ($this->auth->parser()->setRequest($request)->hasToken()) {
            try {
                $this->auth->parseToken()->authenticate();
            } catch (Exception $e) {
                //
            }
        }

        return $next($request);
    }
508632
public function handle($request, Closure $next)
    {
        $containers = $this->session->get($this->key, []);

        if (count($containers) > 0) {
            foreach ($containers as $name => $messages) {
                /** @var \Krucas\Notification\Message $message */
                foreach ($messages as $message) {
                    $this->notification->container($name)->add($message->getType(), $message, false);
                }
            }
        }

        $this->session->forget($this->key);

        return $next($request);
    }
405617
public function forget($key)
    {
        $sth = $this->pdo->prepare(
            "DELETE FROM pimf_cache WHERE key = :key"
        );

        $sth->bindValue(':key', $this->key . $key);

        return $sth->execute();
    }
1241228
public function clean($maxlifetime, $next)
    {
        $this->cache = array_filter($this->cache, function($item) use ($maxlifetime) {
            /** @var MemoryItem $item */
            return $item->is_valid($maxlifetime);
        });

        return $next($maxlifetime);
    }
1054986
public function handle($request, Closure $next)
    {
        $this->credentials->getThrottleProvider()->enable();

        return $next($request);
    }