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_Consumer
Consumer object
string
Nonce value (optional, default is null)
getConsumer() : \LTI_Tool_Consumer
\LTI_Tool_Consumer
Consumer for this noncegetKey() : string
string
Consumer key valuegetValue() : string
string
Outcome valueload() : boolean
boolean
True if the nonce value was successfully loadedsave() : boolean
boolean
True if the nonce value was successfully saved$expires
NULL
$consumer : \LTI_Tool_Consumer
NULL
$value : string
NULL
MAX_NONCE_AGE = 30