PHP Class AppserverIo\Appserver\ServletEngine\Security\AuthenticationValve

Inheritance: implements AppserverIo\Appserver\ServletEngine\ValveInterface
Afficher le fichier Open project: appserver-io/appserver

Méthodes publiques

Méthode Description
invoke ( AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface $servletRequest, AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface $servletResponse ) : void Tries to authenticate the request and throw an exception if authentication is required,

Method Details

invoke() public méthode

Tries to authenticate the request and throw an exception if authentication is required,
public invoke ( AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface $servletRequest, AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface $servletResponse ) : void
$servletRequest AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface The request instance
$servletResponse AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface The response instance
Résultat void