You are here

public function AuthmapInterface::get in External Authentication 8

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

Get the external authname for a given user ID.

Parameters

int $uid: The Drupal user ID.

string $provider: The name of the service providing external authentication.

Return value

string|bool The external authname / ID, or FALSE.

1 method overrides AuthmapInterface::get()
Authmap::get in src/Authmap.php
Get the external authname for a given user ID.

File

src/AuthmapInterface.php, line 40

Class

AuthmapInterface
Interface AuthmapInterface.

Namespace

Drupal\externalauth

Code

public function get($uid, $provider);