You are here

function shib_auth_user_logout in Shibboleth Authentication 7.4

Logs users out from the Shibboleth authority.

Let the user exit from the Shibboleth authority when he/she log out from the actual Drupal site.

File

./shib_auth.module, line 951
Drupal Shibboleth authentication module.

Code

function shib_auth_user_logout() {
  global $_shib_auth_logout;
  if (isset($_SESSION['shib_auth_authentication']) && $_SESSION['shib_auth_authentication'] === 'shib_auth') {
    $_shib_auth_logout = TRUE;
  }
}