class Rememberer

Constants

COOKIE_NAME

Properties

$cookie

Methods

__construct(CookieFactory $cookie)

No description

ResponseInterface
remember(ResponseInterface $response, AccessToken $token)

Sets the remember cookie on a response.

ResponseInterface
rememberUser(ResponseInterface $response, $userId) deprecated

No description

forget(ResponseInterface $response)

No description

Details

__construct(CookieFactory $cookie)

Parameters

CookieFactory $cookie

ResponseInterface remember(ResponseInterface $response, AccessToken $token)

Sets the remember cookie on a response.

Parameters

ResponseInterface $response
AccessToken $token The remember token to set on the response. Use of non-remember token is deprecated in beta 16, removed eta 17.

Return Value

ResponseInterface

ResponseInterface rememberUser(ResponseInterface $response, $userId) deprecated

deprecated beta 16, removed beta 17. Use remember() with a token

Parameters

ResponseInterface $response
$userId

Return Value

ResponseInterface

forget(ResponseInterface $response)

Parameters

ResponseInterface $response