You are here

function shib_auth_session_valid in Shibboleth Authentication 6.4

Same name and namespace in other branches
  1. 7.4 shib_auth.module \shib_auth_session_valid()

Checks whether Shibboleth SP has set the Identity Provider $_SERVER field. It is always set if there is a Shibboleth SP session.

Return value

true if there is a valid Shibboleth session

6 calls to shib_auth_session_valid()
access_shib_login in ./shib_auth.module
Dummy access argument function
shib_auth_footer in ./shib_auth.module
This footer part executes isPassive script, if the option was checked on the configuration page
shib_auth_init in ./shib_auth.module
Create a new user based on informations from the Shibboleth handler if it's necessary or log in.
shib_auth_role_assignment in ./shib_auth.module
Assign roles to the user's session
shib_auth_session_check in ./shib_auth.module
This function would destroy the session if

... See full list

File

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

Code

function shib_auth_session_valid() {
  return (bool) shib_auth_get_idp();
}