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

Files

file  admin_setting_special_auth_configtext.php
 Special settings for auth_db password_link.
 
file  auth.php
 Authentication Plugin: External Database Authentication.
 
file  install.php
 auth_db installer script.
 
file  provider.php
 Privacy Subsystem implementation for auth_db.
 
file  settings.php
 Admin settings and defaults.
 
file  sync_users.php
 Sync users task.
 
file  tasks.php
 Task definition for auth_db.
 
file  upgrade.php
 DB authentication plugin upgrade code.
 
file  version.php
 Version details.
 

Namespaces

 auth_db\privacy
  
 
 auth_db\task
  
 

Classes

class  auth_db\privacy\provider
 Privacy Subsystem for auth_db implementing null_provider. More...
 
class  auth_db\task\sync_users
 Sync users task class. More...
 
class  auth_db_admin_setting_special_auth_configtext
 Special settings for auth_db password_link. More...
 
class  auth_plugin_db
 External database authentication plugin. More...
 

Functions

 xmldb_auth_db_install ()
 
 xmldb_auth_db_upgrade ($oldversion)
 Function to upgrade auth_db. More...
 

Variables

 $tasks
 
$plugin component = 'auth_db'
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

Detailed Description

Function Documentation

◆ xmldb_auth_db_upgrade()

xmldb_auth_db_upgrade (   $oldversion)

Function to upgrade auth_db.

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

Variable Documentation

◆ $tasks

$tasks
Initial value:
= array(
array(
'classname' => '\auth_db\task\sync_users',
'blocking' => 0,
'minute' => 'R',
'hour' => 'R',
'day' => '*',
'month' => '*',
'dayofweek' => '*',
'disabled' => 1
)
)