Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
quizaccess_seb\config_key Class Reference

Class for generating and representing a Safe Exam Browser config key. More...

Public Member Functions

 __construct (string $hash)
 The config_key constructor.
 
 get_hash ()
 Get the Config Key hash.
 

Static Public Member Functions

static generate (string $xml)
 Generate the Config Key hash from an SEB Config XML string.
 

Detailed Description

Class for generating and representing a Safe Exam Browser config key.

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

Constructor & Destructor Documentation

◆ __construct()

quizaccess_seb\config_key::__construct ( string $hash)

The config_key constructor.

Parameters
string$hashThe Config Key hash.

Member Function Documentation

◆ generate()

static quizaccess_seb\config_key::generate ( string $xml)
static

Generate the Config Key hash from an SEB Config XML string.

See https://safeexambrowser.org/developer/seb-config-key.html for more information about the process.

Parameters
string$xmlA PList XML string, representing SEB config.
Return values
config_keyThis config key instance.

◆ get_hash()

quizaccess_seb\config_key::get_hash ( )

Get the Config Key hash.

Return values
stringThe Config Key hash

The documentation for this class was generated from the following file: