You are here

public function Idp::setNameIdField in SAML Service Provider 3.x

Same name and namespace in other branches
  1. 8.3 src/Entity/Idp.php \Drupal\saml_sp\Entity\Idp::setNameIdField()
  2. 4.x src/Entity/Idp.php \Drupal\saml_sp\Entity\Idp::setNameIdField()

Sets the response field used to uniquely identify a user.

Parameters

string $nameid_field: The field name.

Overrides IdpInterface::setNameIdField

File

src/Entity/Idp.php, line 211

Class

Idp
Defines the Idp entity.

Namespace

Drupal\saml_sp\Entity

Code

public function setNameIdField($nameid_field) {
  $this->nameid_field = $nameid_field;
}