public function ExternalAuthInterface::login in External Authentication 8
Same name and namespace in other branches
- 2.0.x 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\externalauthCode
public function login($authname, $provider);