protected function UserAuthenticator::userLoginFinalize in Social Auth 8.2
Same name and namespace in other branches
- 3.x src/User/UserAuthenticator.php \Drupal\social_auth\User\UserAuthenticator::userLoginFinalize()
Wrapper for user_login_finalize.
We need to wrap the legacy procedural Drupal API functions so that we are not using them directly in our own methods. This way we can unit test our own methods.
Parameters
\Drupal\User\UserInterface $account: The Drupal user.
See also
user_password
1 call to UserAuthenticator::userLoginFinalize()
- UserAuthenticator::loginUser in src/
User/ UserAuthenticator.php - Logs the user in.
File
- src/
User/ UserAuthenticator.php, line 408
Class
- UserAuthenticator
- Manages Drupal authentication tasks for Social Auth.
Namespace
Drupal\social_auth\UserCode
protected function userLoginFinalize(UserInterface $account) {
user_login_finalize($account);
}