class LoginController implements ControllerInterface

Traits

Properties

protected UserRepository $users
protected Client $apiClient

Methods

withRememberCookie(ResponseInterface $response, $token)

No description

withForgetCookie(ResponseInterface $response)

No description

__construct(UserRepository $users, Client $apiClient)

No description

ResponseInterface
handle(ServerRequestInterface $request, array $routeParams = [])

No description

Details

protected withRememberCookie(ResponseInterface $response, $token)

Parameters

ResponseInterface $response
$token

protected withForgetCookie(ResponseInterface $response)

Parameters

ResponseInterface $response

__construct(UserRepository $users, Client $apiClient)

Parameters

UserRepository $users
Client $apiClient

ResponseInterface handle(ServerRequestInterface $request, array $routeParams = [])

Parameters

ServerRequestInterface $request
array $routeParams

Return Value

ResponseInterface