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


(pawan kumar) #1

Hi,

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,?


(pawan kumar) #2

It is solved.

I got from the securityContext object