Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
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

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. More...
 

Variables

 $plugin = 2020060900
 
 $publishes
 
 $subscribes
 
 $tasks
 
$plugin component = 'auth_mnet'
 
$plugin version = 2020061500
 

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' => '*'
)
)