You are here

public function ExternalAuthInterface::userLoginFinalize in External Authentication 8

Same name and namespace in other branches
  1. 2.0.x src/ExternalAuthInterface.php \Drupal\externalauth\ExternalAuthInterface::userLoginFinalize()

Finalize logging in the external user.

Encapsulates user_login_finalize.

@codeCoverageIgnore

Parameters

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

string $authname: The unique, external authentication name provided by authentication provider.

string $provider: The module providing external authentication.

Return value

\Drupal\user\UserInterface The logged in Drupal user.

1 method overrides ExternalAuthInterface::userLoginFinalize()
ExternalAuth::userLoginFinalize in src/ExternalAuth.php
@codeCoverageIgnore

File

src/ExternalAuthInterface.php, line 105

Class

ExternalAuthInterface
Interface ExternalAuthInterface.

Namespace

Drupal\externalauth

Code

public function userLoginFinalize(UserInterface $account, $authname, $provider);