PHP Class Neos\Flow\Security\Channel\HttpsInterceptor

Inheritance: implements Neos\Flow\Security\Authorization\InterceptorInterface
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$useSSL boolean

Méthodes publiques

Méthode Description
__construct ( Context $securityContext, Neos\Flow\Security\Authentication\AuthenticationManagerInterface $authenticationManager, Neos\Flow\Log\SystemLoggerInterface $logger ) Constructor.
invoke ( ) : boolean Redirects the current request to HTTP or HTTPS depending on $this->useSSL;

Method Details

__construct() public méthode

Constructor.
public __construct ( Context $securityContext, Neos\Flow\Security\Authentication\AuthenticationManagerInterface $authenticationManager, Neos\Flow\Log\SystemLoggerInterface $logger )
$securityContext Neos\Flow\Security\Context The current security context
$authenticationManager Neos\Flow\Security\Authentication\AuthenticationManagerInterface The authentication Manager
$logger Neos\Flow\Log\SystemLoggerInterface A logger to log security relevant actions

invoke() public méthode

Redirects the current request to HTTP or HTTPS depending on $this->useSSL;
public invoke ( ) : boolean
Résultat boolean TRUE if the security checks was passed

Property Details

$useSSL protected_oe property

protected bool $useSSL
Résultat boolean