protected function SocialAuthUserManager::userLoginFinalize in Social Auth 8
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.
See also
user_password
1 call to SocialAuthUserManager::userLoginFinalize()
- SocialAuthUserManager::loginUser in src/
SocialAuthUserManager.php - Logs the user in.
File
- src/
SocialAuthUserManager.php, line 717
Class
- SocialAuthUserManager
- Contains all logic that is related to Drupal user management.
Namespace
Drupal\social_authCode
protected function userLoginFinalize(UserInterface $account) {
user_login_finalize($account);
}