Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
factor_grace

Namespaces

namespace  factor_grace
  
 
namespace  factor_grace\privacy
  
 
namespace  factor_grace\task
 Scheduled task to revoke expired factors.
 

Classes

class  factor_grace\factor
 Grace period factor class. More...
 
class  factor_grace\privacy\provider
 Privacy provider. More...
 
class  factor_grace\task\revoke_expired_factors
 Scheduled task to revoke expired gracemode factors. More...
 

Variables

 $enabled
 
 $factors = $gracefactor->get_all_affecting_factors()
 
 $gracefactor = tool_mfa\plugininfo\factor::get_factor('grace')
 
 $gracefactors = []
 
 $plugin = 2023100400
 
 $tasks
 
$plugin component = 'factor_grace'
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2023100900
 

Detailed Description

Variable Documentation

◆ $enabled

$enabled
Initial value:
= new admin_setting_configcheckbox('factor_grace/enabled',
new lang_string('settings:enablefactor', 'tool_mfa'),
new lang_string('settings:enablefactor_help', 'tool_mfa'), 0)
Checkbox.
Definition adminlib.php:3039
The lang_string class.
Definition moodlelib.php:10805

◆ $tasks

$tasks
Initial value:
= [
[
'classname' => 'factor_grace\task\revoke_expired_factors',
'blocking' => 0,
'minute' => 'R',
'hour' => '0',
'day' => '*',
'month' => '*',
'dayofweek' => '*',
],
]