Creates a new session based on the credentials provided as POST parameters.
public createSessionAction ( |
||
$request | ||
return |
/** * Creates a new session based on the credentials provided as POST parameters. * * @throws \eZ\Publish\Core\Base\Exceptions\UnauthorizedException If the login or password are incorrect or invalid CSRF * * @return Values\UserSession|Values\Conflict * * @deprecated Deprecated since 6.5. Use SessionController::refreshSessionAction(). */ public function createSession(Request $request) { @trigger_error(E_USER_DEPRECATED, 'The session actions from the User controller are deprecated since 6.5. Use the SessionController instead.'); return $this->sessionController->createSessionAction($request); }