public function ServerVariableLookupInterface::getAuthenticationNameFromServer in LDAP Single Sign On 8.4
Get authentication name from override or server variable.
Parameters
string|null $variable: SSO variable to check, such as REMOTE_USER.
Return value
string|null Authentication name.
2 methods override ServerVariableLookupInterface::getAuthenticationNameFromServer()
- ServerVariableLookup::getAuthenticationNameFromServer in src/
ServerVariableLookup.php - Get authentication name from override or server variable.
- ServerVariableLookup::getAuthenticationNameFromServer in tests/
modules/ ldap_sso_dummy_ldap/ src/ ServerVariableLookup.php - Get authentication name from override or server variable.
File
- src/
ServerVariableLookupInterface.php, line 19
Class
- ServerVariableLookupInterface
- Helper function to make dummy data available in functional tests.
Namespace
Drupal\ldap_ssoCode
public function getAuthenticationNameFromServer(?string $variable) : ?string;