SecurityContextInterface deprecated

interface SecurityContextInterface implements TokenStorageInterface, AuthorizationCheckerInterface deprecated since version 2.6, to be removed in 3.0. The SecurityContextInterface. Constants ACCESS_DENIED_ERROR AUTHENTICATION_ERROR LAST_USERNAME Methods TokenInterface|null getToken() Returns the current security token. from TokenStorageInterface setToken(TokenInterface $token = null) Sets the authentication token. from TokenStorageInterface bool isGranted(mixed

SecurityContext deprecated::setToken()

setToken(TokenInterface $token = null) deprecated deprecated since version 2.6, to be removed in 3.0. Use TokenStorageInterface::setToken() instead. {@inheritdoc} Parameters TokenInterface $token A TokenInterface token, or null if no further authentication information should be stored

SecurityContext deprecated::isGranted()

bool isGranted(mixed $attributes, mixed $object = null) deprecated deprecated since version 2.6, to be removed in 3.0. Use AuthorizationCheckerInterface::isGranted() instead. {@inheritdoc} Parameters mixed $attributes mixed $object Return Value bool

SecurityBundle

class SecurityBundle extends Bundle Bundle. Methods boot() Boots the Bundle. from Bundle shutdown() Shutdowns the Bundle. from Bundle build(ContainerBuilder $container) Builds the bundle. setContainer(ContainerInterface $container = null) Sets the container. from Bundle ExtensionInterface|null getContainerExtension() Returns the bundle's container extension. from Bundle string getNamespace() Gets the Bundle namespace. from Bundle string getPath() Gets the Bundle

SecurityContext deprecated::getToken()

TokenInterface|null getToken() deprecated deprecated since version 2.6, to be removed in 3.0. Use TokenStorageInterface::getToken() instead. {@inheritdoc} Return Value TokenInterface|null A TokenInterface instance or null if no authentication information is available

SecurityContext deprecated

class SecurityContext implements SecurityContextInterface deprecated since version 2.6, to be removed in 3.0. SecurityContext is the main entry point of the Security component. It gives access to the token representing the current user authentication. Methods __construct(TokenStorageInterface|AuthenticationManagerInterface $tokenStorage, AuthorizationCheckerInterface|AccessDecisionManagerInterface $authorizationChecker, bool $alwaysAuthenticate = false) For backwards compatibility, t

SecureRandomInterface deprecated

interface SecureRandomInterface deprecated since version 2.8, to be removed in 3.0. Use the random_bytes function instead Interface that needs to be implemented by all secure random number generators. Methods string nextBytes(int $nbBytes) Generates the specified number of secure random bytes. Details string nextBytes(int $nbBytes) Generates the specified number of secure random bytes. Parameters int $nbBytes Return Value string

Security

class Security This class holds security information. Constants ACCESS_DENIED_ERROR AUTHENTICATION_ERROR LAST_USERNAME MAX_USERNAME_LENGTH

Section::startEvent()

StopwatchEvent startEvent(string $name, string $category) Starts an event. Parameters string $name The event name string $category The event category Return Value StopwatchEvent The event

Section::setId()

Section setId(string $id) Sets the session identifier. Parameters string $id The session identifier Return Value Section The current section