quizaccess_seb/validate_quiz_access

Description:
  • Validate Safe Exam Browser access keys.

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

Validate Safe Exam Browser access keys.

Members

(static, constant) init

Description:
  • Initialize the process of fetching the keys.

Source:

Initialize the process of fetching the keys.

Methods

(inner) isKeyEmpty(key) → {boolean}

Description:
  • Check if the key is not yet set.

Source:
Parameters:
Name Type Description
key string

config key or browser exam key.

Returns:
Type
boolean

(inner) isQuizAccessValid(cmid) → {Promise}

Description:
  • Validate keys in Moodle backend.

Source:
Parameters:
Name Type Description
cmid init

Value of course module id of the quiz.

Returns:
Type
Promise

(inner) reconfigureSafeExamBrowser(cmid)

Description:
  • Reload Safe Exam Browser with current quiz configuration.

Source:
Parameters:
Name Type Description
cmid init

Value of course module id of the quiz.

(inner) safeExamBrowserKeysUpdated(cmid, autoreconfigure)

Description:
  • Once the keys are fetched, action checking access.

Source:
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.