You are here

function shib_auth_session_isShib2x in Shibboleth Authentication 6.4

Return value

true if there is a valid Shibboleth session with a Shibboleth SP >= 2.0

File

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

Code

function shib_auth_session_isShib2x() {
  if (shib_auth_session_valid()) {
    return isset($_SERVER['Shib-Identity-Provider']) || isset($_SERVER['Shib_Identity_Provider']);
  }
  return FALSE;
}