RememberMeServicesInterface::loginSuccess()

loginSuccess(Request $request, Response $response, TokenInterface $token)

Called whenever an interactive authentication attempt is successful (e.g. a form login).

An implementation may always set a remember-me cookie in the Response, although this is not recommended.

Instead, implementations should typically look for a request parameter (such as a HTTP POST parameter) that indicates the browser has explicitly requested for the authentication to be remembered.

Parameters

Request $request
Response $response
TokenInterface $token
doc_Symfony
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.