Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 413 Bytes
<?php
namespace Equip\Auth;
use Psr\Http\Message\ServerRequestInterface;
/**
* Determines whether a request should require authentication.
*/
interface RequestFilterInterface
{
/**
* @param ServerRequestInterface $request
* @return boolean TRUE if the request should require authentication,
* FALSE otherwise
*/
public function __invoke(ServerRequestInterface $request);
}