You are here

protected function OpenIDConnect::loginUser in OpenID Connect / OAuth client 8

Log in a user.

Parameters

\Drupal\user\UserInterface $account: The user account to login.

1 call to OpenIDConnect::loginUser()
OpenIDConnect::completeAuthorization in src/OpenIDConnect.php
Complete the authorization after tokens have been retrieved.

File

src/OpenIDConnect.php, line 519

Class

OpenIDConnect
Main service of the OpenID Connect module.

Namespace

Drupal\openid_connect

Code

protected function loginUser(UserInterface $account) {
  user_login_finalize($account);
}