Class to represent a tool consumer nonce
| author | Stephen P Vickers |
|---|---|
| version | 2.5.00 |
| license | GNU Lesser General Public License, version 3 |
| package | LTI |
__construct(\LTI_Tool_Consumer $consumer, string $value = NULL)
\LTI_Tool_ConsumerConsumer object
stringNonce value (optional, default is null)
getConsumer() : \LTI_Tool_Consumer
\LTI_Tool_ConsumerConsumer for this noncegetKey() : string
stringConsumer key valuegetValue() : string
stringOutcome valueload() : boolean
booleanTrue if the nonce value was successfully loadedsave() : boolean
booleanTrue if the nonce value was successfully saved$expires
NULL$consumer : \LTI_Tool_Consumer
NULL$value : string
NULLMAX_NONCE_AGE = 30