AccountStatusException

class AccountStatusException extends AuthenticationException AccountStatusException is the base class for authentication exceptions caused by the user account status. Methods TokenInterface getToken() Get the token. from AuthenticationException setToken(TokenInterface $token) Set the token. from AuthenticationException serialize() unserialize($str) string getMessageKey() Message key to be used by the translation component. from AuthenticationException array getMes

AccountExpiredException

class AccountExpiredException extends AccountStatusException AccountExpiredException is thrown when the user account has expired. Methods TokenInterface getToken() Get the token. from AuthenticationException setToken(TokenInterface $token) Set the token. from AuthenticationException serialize() from AccountStatusException unserialize($str) from AccountStatusException string getMessageKey() Message key to be used by the translation component. array getMessageData()

AccessMap::getPatterns()

array getPatterns(Request $request) Returns security attributes and required channel for the supplied request. Parameters Request $request The current request Return Value array A tuple of security attributes and the required channel

AccessMap

class AccessMap implements AccessMapInterface AccessMap allows configuration of different access control rules for specific parts of the website. Methods add(RequestMatcherInterface $requestMatcher, array $attributes = array(), string|null $channel = null) Constructor. array getPatterns(Request $request) Returns security attributes and required channel for the supplied request. Details add(RequestMatcherInterface $requestMatcher, array $attributes =

AccessMapInterface

interface AccessMapInterface AccessMap allows configuration of different access control rules for specific parts of the website. Methods array getPatterns(Request $request) Returns security attributes and required channel for the supplied request. Details array getPatterns(Request $request) Returns security attributes and required channel for the supplied request. Parameters Request $request The current request Return Value array A tuple of s

AccessMap::add()

add(RequestMatcherInterface $requestMatcher, array $attributes = array(), string|null $channel = null) Constructor. Parameters RequestMatcherInterface $requestMatcher A RequestMatcherInterface instance array $attributes An array of attributes to pass to the access decision manager (like roles) string|null $channel The channel to enforce (http, https, or null)

AccessListener

class AccessListener implements ListenerInterface AccessListener enforces access control rules. Methods __construct(TokenStorageInterface $tokenStorage, AccessDecisionManagerInterface $accessDecisionManager, AccessMapInterface $map, AuthenticationManagerInterface $authManager) handle(GetResponseEvent $event) Handles access authorization. Details __construct(TokenStorageInterface $tokenStorage, AccessDecisionManagerInterface $accessDecisionManager, A

AccessException

class AccessException extends RuntimeException Thrown when a property path is not available.

AccessException

class AccessException extends LogicException implements ExceptionInterface Thrown when trying to read an option outside of or write it inside of {@link \Symfony\Component\OptionsResolver\Options::resolve()}.

AccessDeniedException

class AccessDeniedException extends RuntimeException AccessDeniedException is thrown when the account has not the required role. Methods __construct($message = 'Access Denied.', Exception $previous = null) Details __construct($message = 'Access Denied.', Exception $previous = null) Parameters $message Exception $previous