-
-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Utilize the fast logout method for step definitions
- Also utilizes fast logout during user cleanup. - Addresses #62
- Loading branch information
Showing
4 changed files
with
33 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/Drupal/DrupalExtension/Manager/FastLogoutInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace Drupal\DrupalExtension\Manager; | ||
|
||
/** | ||
* Interface for authentication managers that support fast logout. | ||
*/ | ||
interface FastLogoutInterface | ||
{ | ||
/** | ||
* Logs out by directly resetting the session. | ||
* | ||
* A fast logout method that resets the session and doesn't need to | ||
* bootstrap Drupal. This should not be used if logout hooks need to fire. | ||
*/ | ||
public function fastLogout(); | ||
} |