[Solved]How to access Http Request object In Authentication Provider?


How I could get the HTTP request in authenticate function of PersistedUsernamePasswordProvider.[Below Method]

public function authenticate(TokenInterface $authenticationToken)

I want to get a few cookies from the browser through the request object as the need to perform a few actions

is there any way to do that,?

It is solved.

I got from the securityContext object