SecurityContext deprecated

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|登录查看完整内容