Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Namespaces | |
namespace | auth_shibboleth |
| |
namespace | auth_shibboleth\privacy |
| |
Classes | |
class | auth_plugin_shibboleth |
Shibboleth authentication plugin. More... | |
class | auth_shibboleth\helper |
The helper class for the Shibboleth authentication plugin. More... | |
class | auth_shibboleth\privacy\provider |
Privacy Subsystem for auth_shibboleth implementing null_provider. More... | |
class | auth_shibboleth_admin_setting_convert_data |
Admin settings class for the convert_data option. More... | |
class | auth_shibboleth_admin_setting_special_idp_configtextarea |
Special setting for auth_shibboleth WAYF. More... | |
class | auth_shibboleth_admin_setting_special_wayf_select |
Special settings for auth_shibboleth WAYF. More... | |
Functions | |
appendCookieValue ($value, $CookieArray) | |
Append a value to the array of IDPs. | |
auth_shibboleth_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array()) | |
Serves the logo file settings. | |
generate_cookie_array ($value) | |
Generates an array of IDPs using the cookie value. | |
generate_cookie_value ($CookieArray) | |
Generate the value that is stored in the cookie using the list of IDPs. | |
get_idp_list ($organization_selection) | |
Generate array of IdPs from Moodle Shibboleth settings. | |
set_saml_cookie ($selectedIDP) | |
Sets the standard SAML domain cookie that is also used to preselect the right entry on the local way. | |
xmldb_auth_shibboleth_upgrade ($oldversion) | |
Function to upgrade auth_shibboleth. | |
Variables | |
$plugin = 2024041600 | |
$plugin | component = 'auth_shibboleth' |
$plugin | version = 2024042200 |
appendCookieValue | ( | $value, | |
$CookieArray ) |
Append a value to the array of IDPs.
string | IdP identifier |
array | IdP identifiers |
array | IdP identifiers with appended IdP |
auth_shibboleth_pluginfile | ( | $course, | |
$cm, | |||
$context, | |||
$filearea, | |||
$args, | |||
$forcedownload, | |||
array | $options = array() ) |
Serves the logo file settings.
stdClass | $course | course object |
stdClass | $cm | course module object |
stdClass | $context | context object |
string | $filearea | file area |
array | $args | extra arguments |
bool | $forcedownload | whether or not force download |
array | $options | additional options affecting the file serving |
bool | false if file not found, does not return if found - justsend the file |
generate_cookie_array | ( | $value | ) |
Generates an array of IDPs using the cookie value.
string | Value of SAML domain cookie |
array | Identifiers of IdPs |
generate_cookie_value | ( | $CookieArray | ) |
Generate the value that is stored in the cookie using the list of IDPs.
array | IdP identifiers |
string | SAML domain cookie value |
get_idp_list | ( | $organization_selection | ) |
Generate array of IdPs from Moodle Shibboleth settings.
string | Text containing tuble/triple of IdP entityId, name and (optionally) session initiator |
array | Identifier of IdPs and their name/session initiator |
set_saml_cookie | ( | $selectedIDP | ) |
Sets the standard SAML domain cookie that is also used to preselect the right entry on the local way.
string | $selectedIDP | IDP identifier |
xmldb_auth_shibboleth_upgrade | ( | $oldversion | ) |
Function to upgrade auth_shibboleth.
int | $oldversion | the version we are upgrading from |
bool | result |