You are here

ServerVariableLookupInterface.php in LDAP Single Sign On 8.4

Namespace

Drupal\ldap_sso

File

src/ServerVariableLookupInterface.php
View source
<?php

namespace Drupal\ldap_sso;


/**
 * Helper function to make dummy data available in functional tests.
 */
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;

}

Interfaces

Namesort descending Description
ServerVariableLookupInterface Helper function to make dummy data available in functional tests.