You are here

public function ExternalAuthAuthmapAlterEvent::setAuthname in External Authentication 8

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

Sets the authname.

Parameters

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

File

src/Event/ExternalAuthAuthmapAlterEvent.php, line 90

Class

ExternalAuthAuthmapAlterEvent
Allow event listeners to alter the authmap data that will get stored.

Namespace

Drupal\externalauth\Event

Code

public function setAuthname($authname) {
  $this->authname = $authname;
}