quizaccess_seb/validate_quiz_access

Validate Safe Exam Browser access keys.

Source:
Author:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Members

(static, constant) init

Source:

Initialize the process of fetching the keys.

Methods

(inner) isKeyEmpty(key) → {boolean}

Source:

Check if the key is not yet set.

Parameters:
Name Type Description
key string

config key or browser exam key.

Returns:
Type
boolean

(inner) isQuizAccessValid(cmid) → {Promise}

Source:

Validate keys in Moodle backend.

Parameters:
Name Type Description
cmid init

Value of course module id of the quiz.

Returns:
Type
Promise

(inner) reconfigureSafeExamBrowser(cmid)

Source:

Reload Safe Exam Browser with current quiz configuration.

Parameters:
Name Type Description
cmid init

Value of course module id of the quiz.

(inner) safeExamBrowserKeysUpdated(cmid, autoreconfigure)

Source:

Once the keys are fetched, action checking access.

Parameters:
Name Type Default Description
cmid init

Value of course module id of the quiz.

autoreconfigure boolean false

Value of Moodle setting: quizaccess_seb/autoreconfigureseb.