private function CasLogout::removeSessionMapping in CAS 8
Same name and namespace in other branches
- 2.x 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
- Class CasLogout.
Namespace
Drupal\cas\ServiceCode
private function removeSessionMapping($sid) {
$this->connection
->delete('cas_login_data')
->condition('plainsid', $sid)
->execute();
}