You are here

function _simplesamlphp_auth_destroy_drupal_session in simpleSAMLphp Authentication 7.2

Same name and namespace in other branches
  1. 6.3 simplesamlphp_auth.module \_simplesamlphp_auth_destroy_drupal_session()
  2. 6.2 simplesamlphp_auth.module \_simplesamlphp_auth_destroy_drupal_session()
  3. 7.3 simplesamlphp_auth.module \_simplesamlphp_auth_destroy_drupal_session()
  4. 7 simplesamlphp_auth.module \_simplesamlphp_auth_destroy_drupal_session()

Logged out user that has an active session in Drupal but not with simpleSAML.

1 call to _simplesamlphp_auth_destroy_drupal_session()
simplesamlphp_auth_init in ./simplesamlphp_auth.module
Implements hook_init().

File

./simplesamlphp_auth.module, line 831
simpleSAMLphp authentication module for Drupal.

Code

function _simplesamlphp_auth_destroy_drupal_session() {
  module_load_include('pages.inc', 'user');
  user_logout();
}