You are here

public function SimplesamlphpAuthTestManager::logout in simpleSAMLphp Authentication 8.3

Log a user out through the SimpleSAMLphp instance.

Parameters

string $redirect_path: The path to redirect to after logout.

Overrides SimplesamlphpAuthManager::logout

File

tests/simplesamlphp_auth_test/src/SimplesamlphpAuthTestManager.php, line 55

Class

SimplesamlphpAuthTestManager
Mock SimplesamlphpAuthManager class for testing purposes.

Namespace

Drupal\simplesamlphp_auth_test

Code

public function logout($redirect_path = NULL) {
  $this->authenticated = FALSE;
  return FALSE;
}