Beta version

class FirewallEntry

Class FirewallEntry

Methods

__construct(Container $container, string $firewallBasePattern, string $firewallBasePath, string $firewallLogin, string $firewallLogout, string $firewallLoginCheck, string|array $firewallBaseRole = 'ROLE_USER', string $authenticationSuccessHandlerClass = 'RZ\\Roadiz\\Core\\Authentification\\AuthenticationSuccessHandler', string $authenticationFailureHandlerClass = 'RZ\\Roadiz\\Core\\Authentification\\AuthenticationFailureHandler')

FirewallEntry constructor.

$this
$this
withSwitchUserListener()

No description

$this
withReferer()

No description

RequestMatcher
getRequestMatcher()

No description

AbstractAuthenticationListener[]
getListeners()

No description

ExceptionListener
getExceptionListener(bool $useForward = false)

No description

Details

at line 128
__construct(Container $container, string $firewallBasePattern, string $firewallBasePath, string $firewallLogin, string $firewallLogout, string $firewallLoginCheck, string|array $firewallBaseRole = 'ROLE_USER', string $authenticationSuccessHandlerClass = 'RZ\\Roadiz\\Core\\Authentification\\AuthenticationSuccessHandler', string $authenticationFailureHandlerClass = 'RZ\\Roadiz\\Core\\Authentification\\AuthenticationFailureHandler')

FirewallEntry constructor.

Parameters

Container $container
string $firewallBasePattern
string $firewallBasePath
string $firewallLogin
string $firewallLogout
string $firewallLoginCheck
string|array $firewallBaseRole
string $authenticationSuccessHandlerClass
string $authenticationFailureHandlerClass

at line 181
$this withAnonymousAuthenticationListener()

Return Value

$this

at line 195
$this withSwitchUserListener()

Return Value

$this

at line 204
$this withReferer()

Return Value

$this

at line 214
RequestMatcher getRequestMatcher()

Return Value

RequestMatcher

at line 222
AbstractAuthenticationListener[] getListeners()

Return Value

AbstractAuthenticationListener[]

at line 282
ExceptionListener getExceptionListener(bool $useForward = false)

Parameters

bool $useForward Use true to forward request instead of redirecting. Be careful, Token will be set to null in sub-request!

Return Value

ExceptionListener