RequireAuthentication
class RequireAuthentication implements InterceptorInterface (View source)
This security interceptor invokes the authentication of the authentication tokens in the security context.
It is usally used by the firewall to define secured request that need proper authentication.
Properties
protected AuthenticationManagerInterface | $authenticationManager |
Methods
bool
invoke()
Invokes the authentication, if needed.
Details
__construct(AuthenticationManagerInterface $authenticationManager)
Constructor.
bool
invoke()
Invokes the authentication, if needed.