ForceHTTPS
in package
implements
FilterInterface
Force HTTPS filter
Table of Contents
Interfaces
- FilterInterface
- Filter interface
Methods
- after() : void
- We don't have anything to do here.
- before() : ResponseInterface|void
- Force Secure Site Access? If the config value 'forceGlobalSecureRequests' is true, will enforce that all requests to this site are made through HTTPS. Will redirect the user to the current page with HTTPS, as well as set the HTTP Strict Transport Security (HSTS) header for those browsers that support it.
Methods
after()
We don't have anything to do here.
public
after(RequestInterface $request, ResponseInterface $response[, array<string|int, mixed>|null $arguments = null ]) : void
Parameters
- $request : RequestInterface
- $response : ResponseInterface
- $arguments : array<string|int, mixed>|null = null
before()
Force Secure Site Access? If the config value 'forceGlobalSecureRequests' is true, will enforce that all requests to this site are made through HTTPS. Will redirect the user to the current page with HTTPS, as well as set the HTTP Strict Transport Security (HSTS) header for those browsers that support it.
public
before(RequestInterface $request[, array<string|int, mixed>|null $arguments = null ]) : ResponseInterface|void
Parameters
- $request : RequestInterface
- $arguments : array<string|int, mixed>|null = null