You are here

public function ExternalAuthInterface::login in External Authentication 2.0.x

Same name and namespace in other branches
  1. 8 src/ExternalAuthInterface.php \Drupal\externalauth\ExternalAuthInterface::login()

Log a Drupal user in based on an external authname.

Parameters

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

string $provider: The module providing external authentication.

Return value

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

1 method overrides ExternalAuthInterface::login()
ExternalAuth::login in src/ExternalAuth.php
Log a Drupal user in based on an external authname.

File

src/ExternalAuthInterface.php, line 42

Class

ExternalAuthInterface
Interface ExternalAuthInterface.

Namespace

Drupal\externalauth

Code

public function login($authname, $provider);