private function CasLogout::removeSessionMapping in CAS 2.x
Same name and namespace in other branches
- 8 src/Service/CasLogout.php \Drupal\cas\Service\CasLogout::removeSessionMapping()
Remove the SLO session mapping data for the passed in session ID.
Parameters
string $sid: The user's session ID.
1 call to CasLogout::removeSessionMapping()
- CasLogout::handleSlo in src/
Service/ CasLogout.php - Handles a single-log-out request from a CAS server.
File
- src/
Service/ CasLogout.php, line 171
Class
- CasLogout
- Provides a default implementation for 'cas.logout' service.
Namespace
Drupal\cas\ServiceCode
private function removeSessionMapping($sid) {
$this->connection
->delete('cas_login_data')
->condition('plainsid', $sid)
->execute();
}