function RestAuthenticationController::userLoginFinalize

Same name and namespace in other branches
  1. main core/modules/rest/src/Controller/RestAuthenticationController.php \Drupal\rest\Controller\RestAuthenticationController::userLoginFinalize()

Finalizes the user login.

Parameters

\Drupal\user\UserInterface $user: The user.

1 call to RestAuthenticationController::userLoginFinalize()
RestAuthenticationController::login in core/modules/rest/src/Controller/RestAuthenticationController.php
Logs in a user.

File

core/modules/rest/src/Controller/RestAuthenticationController.php, line 245

Class

RestAuthenticationController
Provides controllers for login, login status and logout via HTTP requests.

Namespace

Drupal\rest\Controller

Code

protected function userLoginFinalize(UserInterface $user) : void {
  user_login_finalize($user);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.