public function AuthmapInterface::getUid in External Authentication 8
Same name and namespace in other branches
- 2.0.x src/AuthmapInterface.php \Drupal\externalauth\AuthmapInterface::getUid()
Get a Drupal user ID based on an authname.
The authname will be provided by an authentication provider.
Parameters
string $authname: The external authname as provided by the authentication provider.
string $provider: The name of the service providing external authentication.
Return value
int|bool The Drupal user ID or FALSE.
1 method overrides AuthmapInterface::getUid()
- Authmap::getUid in src/
Authmap.php - Get a Drupal user ID based on an authname.
File
- src/
AuthmapInterface.php, line 80
Class
- AuthmapInterface
- Interface AuthmapInterface.
Namespace
Drupal\externalauthCode
public function getUid($authname, $provider);