Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
auth_cas

Topics

 task
 
 

Directories

directory classes
  
 

Namespaces

namespace  auth_cas\privacy
 Privacy Subsystem implementation for auth_cas.
 
namespace  auth_cas\task
 A scheduled task for CAS user sync.
 

Classes

class  auth_cas\privacy\provider
 Privacy Subsystem for auth_cas implementing null_provider. More...
 
class  auth_cas\task\sync_task
 A scheduled task class for CAS user sync. More...
 
class  auth_plugin_cas
 CAS authentication plugin. More...
 

Functions

 auth_cas_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=[])
 Serves the logo file settings.
 
 xmldb_auth_cas_upgrade ($oldversion)
 Function to upgrade auth_cas.
 

Variables

 $plugin = 2023100400
 
$plugin component = 'auth_cas'
 
$plugin dependencies = ['auth_ldap' => 2023100400]
 
$plugin version = 2023100900
 

Detailed Description

Function Documentation

◆ auth_cas_pluginfile()

auth_cas_pluginfile ( $course,
$cm,
$context,
$filearea,
$args,
$forcedownload,
array $options = [] )

Serves the logo file settings.

Parameters
stdClass$coursecourse object
stdClass$cmcourse module object
stdClass$contextcontext object
string$fileareafile area
array$argsextra arguments
bool$forcedownloadwhether or not force download
array$optionsadditional options affecting the file serving
Return values
boolfalse|void

◆ xmldb_auth_cas_upgrade()

xmldb_auth_cas_upgrade ( $oldversion)

Function to upgrade auth_cas.

Parameters
int$oldversionthe version we are upgrading from
Return values
boolresult