Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/auth/shibboleth/auth.php File Reference

Go to the source code of this file.

Data Structures

class  auth_plugin_shibboleth

Namespaces

namespace  moodle

Functions

 set_saml_cookie ($selectedIDP)
 print_idp_list ()
 get_idp_list ($organization_selection)
 generate_cookie_array ($value)
 generate_cookie_value ($CookieArray)
 appendCookieValue ($value, $CookieArray)

Variables

 if (!defined('MOODLE_INTERNAL'))

Function Documentation

appendCookieValue ( value,
CookieArray 
)

Append a value to the array of IDPs

Parameters:
stringIdP identifier
arrayIdP identifiers
Returns:
array IdP identifiers with appended IdP

Definition at line 435 of file auth.php.

Here is the caller graph for this function:

generate_cookie_array ( value)

Generates an array of IDPs using the cookie value

Parameters:
stringValue of SAML domain cookie
Returns:
array Identifiers of IdPs

Definition at line 405 of file auth.php.

Here is the caller graph for this function:

generate_cookie_value ( CookieArray)

Generate the value that is stored in the cookie using the list of IDPs

Parameters:
arrayIdP identifiers
Returns:
string SAML domain cookie value

Definition at line 420 of file auth.php.

Here is the caller graph for this function:

get_idp_list ( organization_selection)

Generate array of IdPs from Moodle Shibboleth settings

Parameters:
stringText containing tuble/triple of IdP entityId, name and (optionally) session initiator
Returns:
array Identifier of IdPs and their name/session initiator

Definition at line 379 of file auth.php.

Here is the caller graph for this function:

Prints the option elements for the select element of the drop down list

Definition at line 348 of file auth.php.

Here is the call graph for this function:

set_saml_cookie ( selectedIDP)

Sets the standard SAML domain cookie that is also used to preselect the right entry on the local wayf

Parameters:
IdPidentifiere

Definition at line 331 of file auth.php.

Here is the call graph for this function:


Variable Documentation

if(!defined('MOODLE_INTERNAL'))

Definition at line 26 of file auth.php.

 All Data Structures Namespaces Files Functions Variables Enumerations