Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
auth_mnet

Namespaces

namespace  auth_mnet\privacy
  
 
namespace  auth_mnet\task
  
 

Classes

class  auth_mnet\privacy\provider
 Privacy provider for the mnet authentication. More...
 
class  auth_mnet\task\cron_task
 
class  auth_plugin_mnet
 Moodle Network authentication plugin. More...
 

Functions

 xmldb_auth_mnet_upgrade ($oldversion)
 Function to upgrade auth_mnet.
 

Variables

 $plugin = 2024041600
 
 $publishes
 
 $subscribes
 
 $tasks
 
$plugin component = 'auth_mnet'
 
$plugin version = 2024042200
 

Detailed Description

Function Documentation

◆ xmldb_auth_mnet_upgrade()

xmldb_auth_mnet_upgrade ( $oldversion)

Function to upgrade auth_mnet.

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

Variable Documentation

◆ $publishes

$publishes
Initial value:
= array(
'sso_idp' => array(
'apiversion' => 1,
'classname' => 'auth_plugin_mnet',
'filename' => 'auth.php',
'methods' => array(
'user_authorise',
'keepalive_server',
'kill_children',
'refresh_log',
'fetch_user_image',
'fetch_theme_info',
'update_enrolments',
),
),
'sso_sp' => array(
'apiversion' => 1,
'classname' => 'auth_plugin_mnet',
'filename' => 'auth.php',
'methods' => array(
'keepalive_client',
'kill_child'
)
)
)

◆ $subscribes

$subscribes
Initial value:
= array(
'sso_idp' => array(
'user_authorise' => 'auth/mnet/auth.php/user_authorise',
'keepalive_server' => 'auth/mnet/auth.php/keepalive_server',
'kill_children' => 'auth/mnet/auth.php/kill_children',
'refresh_log' => 'auth/mnet/auth.php/refresh_log',
'fetch_user_image' => 'auth/mnet/auth.php/fetch_user_image',
'fetch_theme_info' => 'auth/mnet/auth.php/fetch_theme_info',
'update_enrolments' => 'auth/mnet/auth.php/update_enrolments',
),
'sso_sp' => array(
'keepalive_client' => 'auth/mnet/auth.php/keepalive_client',
'kill_child' => 'auth/mnet/auth.php/kill_child',
),
)

◆ $tasks

$tasks
Initial value:
= array(
array(
'classname' => '\auth_mnet\task\cron_task',
'blocking' => 0,
'minute' => '*/10',
'hour' => '*',
'day' => '*',
'month' => '*',
'dayofweek' => '*'
)
)