You are here

public function AuthmapInterface::delete in External Authentication 8

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

Delete authmap entries for a given Drupal user ID.

Deletion will be restricted to the specified provider, if passed.

Parameters

int $uid: The Drupal user ID.

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

1 method overrides AuthmapInterface::delete()
Authmap::delete in src/Authmap.php
Delete authmap entries for a given Drupal user ID.

File

src/AuthmapInterface.php, line 92

Class

AuthmapInterface
Interface AuthmapInterface.

Namespace

Drupal\externalauth

Code

public function delete($uid, $provider = NULL);