HttpsInterceptor
class HttpsInterceptor implements InterceptorInterface (View source)
This security interceptor switches the current channel between HTTP and HTTPS protocol.
Properties
protected bool | $useSSL |
Methods
__construct(Context $securityContext, AuthenticationManagerInterface $authenticationManager)
Constructor.
bool
invoke()
Redirects the current request to HTTP or HTTPS depending on $this->useSSL;
Details
__construct(Context $securityContext, AuthenticationManagerInterface $authenticationManager)
Constructor.
bool
invoke()
Redirects the current request to HTTP or HTTPS depending on $this->useSSL;