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

namespace  auth_db\privacy
  
 
namespace  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

 $plugin = 2020060900
 
 $tasks
 
$plugin component = 'auth_db'
 
$plugin version = 2020061500
 

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
)
)