W3cubDocs

/Symfony 4.1

FirewallConfig

class FirewallConfig

Methods

__construct(string $name, string $userChecker, string $requestMatcher = null, bool $securityEnabled = true, bool $stateless = false, string $provider = null, string $context = null, string $entryPoint = null, string $accessDeniedHandler = null, string $accessDeniedUrl = null, array $listeners = array(), $switchUser = null)
string getName()
string|null getRequestMatcher()
bool isSecurityEnabled()
bool allowsAnonymous()
bool isStateless()
string|null getProvider()
string|null getContext()
string|null getEntryPoint()
string getUserChecker()
string|null getAccessDeniedHandler()
string|null getAccessDeniedUrl()
array getListeners()
array|null getSwitchUser()

Details

__construct(string $name, string $userChecker, string $requestMatcher = null, bool $securityEnabled = true, bool $stateless = false, string $provider = null, string $context = null, string $entryPoint = null, string $accessDeniedHandler = null, string $accessDeniedUrl = null, array $listeners = array(), $switchUser = null)

Parameters

string $name
string $userChecker
string $requestMatcher
bool $securityEnabled
bool $stateless
string $provider
string $context
string $entryPoint
string $accessDeniedHandler
string $accessDeniedUrl
array $listeners
$switchUser

string getName()

Return Value

string

string|null getRequestMatcher()

Return Value

string|null The request matcher service id or null if neither the request matcher, pattern or host options were provided

bool isSecurityEnabled()

Return Value

bool

bool allowsAnonymous()

Return Value

bool

bool isStateless()

Return Value

bool

string|null getProvider()

Return Value

string|null

string|null getContext()

Return Value

string|null The context key (will be null if the firewall is stateless)

string|null getEntryPoint()

Return Value

string|null

string getUserChecker()

Return Value

string

string|null getAccessDeniedHandler()

Return Value

string|null

string|null getAccessDeniedUrl()

Return Value

string|null

array getListeners()

Return Value

array

array|null getSwitchUser()

Return Value

array|null

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bundle/SecurityBundle/Security/FirewallConfig.html