function shib_auth_session_valid in Shibboleth Authentication 7.4
Same name and namespace in other branches
- 6.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
bool TRUE if there is a valid Shibboleth session and FALSE if not.
6 calls to shib_auth_session_valid()
- access_shib_login in ./
shib_auth.module - Dummy access argument function.
- shib_auth_init in ./
shib_auth.module - Creates a new user, if necessary, based on information from the handler.
- shib_auth_page_alter in ./
shib_auth.module - Executes isPassive script.
- shib_auth_profile_user_login in shib_auth_profile/
shib_auth_profile.module - Implements hook_user_login().
- shib_auth_role_assignment in ./
shib_auth.module - Assigns roles to the user's session.
File
- ./
shib_auth.module, line 287 - Drupal Shibboleth authentication module.
Code
function shib_auth_session_valid() {
return (bool) shib_auth_get_idp();
}