You are here

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

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

Load a Drupal user based on an external authname.

D7 equivalent: user_external_load().

Parameters

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

string $provider: The module providing external authentication.

Return value

\Drupal\user\UserInterface The loaded Drupal user.

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

File

src/ExternalAuthInterface.php, line 28

Class

ExternalAuthInterface
Interface ExternalAuthInterface.

Namespace

Drupal\externalauth

Code

public function load($authname, $provider);