Trait for testing this plugin
Author: | Mikhail Golenkov <golenkovm@gmail.com> |
Author: | Peter Burnett <peterburnett@catalyst-au.net> |
Copyright: | Catalyst IT |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 67 lines (2 kb) |
Included or required: | 3 times |
Referenced: | 0 times |
Includes or requires: | 1 file admin/tool/mfa/lib.php |
set_factor_state($factorname, $enabled = 0, $weight = 100) X-Ref |
Sets the state of the factor, in particular the weight and whether it is enabled param: string $factorname param: int $enabled param: int $weight |
set_factor_config($factor, $key, $value) X-Ref |
Sets config variable for given factor. param: object $factor object of the factor class param: string $key param: mixed $value |