function services_authentication_info in Services 7.3
Same name and namespace in other branches
- 6.3 services.runtime.inc \services_authentication_info()
Gets information about a authentication module.
Parameters
string $module: The module to get info for.
Return value
mixed The information array, or FALSE if the information wasn't found.
4 calls to services_authentication_info()
- services_auth_invoke in includes/
services.runtime.inc - Invokes a authentication module callback.
- services_ctools_export_ui_form in plugins/
export_ui/ services_ctools_export_ui.inc - Form to edit the settings of an endpoint.
- services_edit_form_endpoint_authentication in plugins/
export_ui/ services_ctools_export_ui.class.php - Endpoint authentication configuration form.
- services_edit_form_endpoint_resources in plugins/
export_ui/ services_ctools_export_ui.class.php - services_edit_form_endpoint_resources function.
File
- includes/
services.runtime.inc, line 222 - Contains functions that only are necessary when a service call is made. This has broken out so that this code isn't loaded for every page load.
Code
function services_authentication_info($module) {
$info = FALSE;
if (!empty($module) && module_exists($module) && is_callable($module . '_services_authentication_info')) {
$info = call_user_func($module . '_services_authentication_info');
}
return $info;
}