You are here

interface ServerVariableLookupInterface in LDAP Single Sign On 8.4

Helper function to make dummy data available in functional tests.

Hierarchy

Expanded class hierarchy of ServerVariableLookupInterface

All classes that implement ServerVariableLookupInterface

2 files declare their use of ServerVariableLookupInterface
LoginController.php in src/Controller/LoginController.php
ServerVariableLookup.php in tests/modules/ldap_sso_dummy_ldap/src/ServerVariableLookup.php

File

src/ServerVariableLookupInterface.php, line 8

Namespace

Drupal\ldap_sso
View source
interface ServerVariableLookupInterface {

  /**
   * Get authentication name from override or server variable.
   *
   * @param string|null $variable
   *   SSO variable to check, such as REMOTE_USER.
   *
   * @return string|null
   *   Authentication name.
   */
  public function getAuthenticationNameFromServer(?string $variable) : ?string;

}

Members

Namesort descending Modifiers Type Description Overrides
ServerVariableLookupInterface::getAuthenticationNameFromServer public function Get authentication name from override or server variable. 2