ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class to represent a tool consumer nonce. More...
Public Member Functions | |
__construct ($consumer, $value=null) | |
Class constructor. More... | |
load () | |
Load a nonce value from the database. More... | |
save () | |
Save a nonce value in the database. More... | |
getConsumer () | |
Get tool consumer. More... | |
getValue () | |
Get outcome value. More... | |
Data Fields | |
const | MAX_NONCE_AGE = 30 |
Maximum age nonce values will be retained for (in minutes). More... | |
$expires = null | |
Date/time when the nonce value expires. More... | |
Private Attributes | |
$consumer = null | |
Tool Consumer to which this nonce applies. More... | |
$value = null | |
Nonce value. More... | |
Class to represent a tool consumer nonce.
Definition at line 14 of file ConsumerNonce.php.
IMSGlobal\LTI\ToolProvider\ConsumerNonce::__construct | ( | $consumer, | |
$value = null |
|||
) |
Class constructor.
ToolConsumer | $consumer | Consumer object |
string | $value | Nonce value (optional, default is null) |
Definition at line 48 of file ConsumerNonce.php.
References IMSGlobal\LTI\ToolProvider\ConsumerNonce\$consumer, IMSGlobal\LTI\ToolProvider\ConsumerNonce\$value, and time.
IMSGlobal\LTI\ToolProvider\ConsumerNonce::getConsumer | ( | ) |
Get tool consumer.
Definition at line 86 of file ConsumerNonce.php.
References IMSGlobal\LTI\ToolProvider\ConsumerNonce\$consumer.
IMSGlobal\LTI\ToolProvider\ConsumerNonce::getValue | ( | ) |
Get outcome value.
Definition at line 98 of file ConsumerNonce.php.
References IMSGlobal\LTI\ToolProvider\ConsumerNonce\$value.
IMSGlobal\LTI\ToolProvider\ConsumerNonce::load | ( | ) |
Load a nonce value from the database.
Definition at line 62 of file ConsumerNonce.php.
IMSGlobal\LTI\ToolProvider\ConsumerNonce::save | ( | ) |
Save a nonce value in the database.
Definition at line 74 of file ConsumerNonce.php.
|
private |
Tool Consumer to which this nonce applies.
Definition at line 34 of file ConsumerNonce.php.
Referenced by IMSGlobal\LTI\ToolProvider\ConsumerNonce\__construct(), and IMSGlobal\LTI\ToolProvider\ConsumerNonce\getConsumer().
int IMSGlobal\LTI\ToolProvider\ConsumerNonce::$expires = null |
Date/time when the nonce value expires.
Definition at line 27 of file ConsumerNonce.php.
|
private |
Nonce value.
Definition at line 40 of file ConsumerNonce.php.
Referenced by IMSGlobal\LTI\ToolProvider\ConsumerNonce\__construct(), and IMSGlobal\LTI\ToolProvider\ConsumerNonce\getValue().
const IMSGlobal\LTI\ToolProvider\ConsumerNonce::MAX_NONCE_AGE = 30 |
Maximum age nonce values will be retained for (in minutes).
Definition at line 20 of file ConsumerNonce.php.