public function AuthmapInterface::save in External Authentication 8
Same name and namespace in other branches
- 2.0.x src/AuthmapInterface.php \Drupal\externalauth\AuthmapInterface::save()
Save an external authname for a given Drupal user.
Parameters
\Drupal\user\UserInterface $account: The Drupal user account.
string $provider: The name of the service providing external authentication.
string $authname: The unique, external authentication name provided by authentication provider.
mixed $data: Optional extra (serialized) data to store with the authname.
1 method overrides AuthmapInterface::save()
- Authmap::save in src/
Authmap.php - Save an external authname for a given Drupal user.
File
- src/
AuthmapInterface.php, line 27
Class
- AuthmapInterface
- Interface AuthmapInterface.
Namespace
Drupal\externalauthCode
public function save(UserInterface $account, $provider, $authname, $data = NULL);