Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Functions | Variables
auth_mnet

Files

file  auth.php
 Authentication Plugin: Moodle Network Authentication Multiple host authentication support for Moodle Network.
 
file  cron_task.php
 A schedule task for mnet cron.
 
file  mnet.php
 This file contains the mnet services for the mnet authentication plugin.
 
file  provider.php
 Privacy Subsystem implementation for auth_mnet.
 
file  settings.php
 Admin settings and defaults.
 
file  tasks.php
 Definition of chat scheduled tasks.
 
file  upgrade.php
 Keeps track of upgrades to the auth_mnet plugin.
 
file  version.php
 Manual authentication plugin version information.
 

Namespaces

 auth_mnet\privacy
  
 
 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. More...
 

Variables

 $publishes
 
 $subscribes
 
 $tasks
 
$plugin component = 'auth_mnet'
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

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' => '*',
'hour' => '*',
'day' => '*',
'month' => '*',
'dayofweek' => '*'
)
)