Class to represent a tool consumer nonce. More...
Public Member Functions | |
__construct ($consumer, $value=null) | |
Class constructor. | |
getConsumer () | |
Get tool consumer. | |
![]() | |
__construct ($platform, $value=null) | |
Class constructor. | |
load () | |
Load a nonce value from the database. | |
save () | |
Save a nonce value in the database. | |
delete () | |
Delete a nonce value in the database. | |
getPlatform () | |
Get platform. | |
getValue () | |
Get nonce value. | |
Additional Inherited Members | |
![]() | |
const | MAX_NONCE_AGE = 30 |
Maximum age nonce values will be retained for (in minutes). | |
$expires = null | |
Timestamp for when the nonce value expires. | |
![]() | |
static | $maximumLength = 50 |
Maximum length which can be stored. | |
Class to represent a tool consumer nonce.
Definition at line 17 of file ConsumerNonce.php.
__construct | ( | $consumer, | |
$value = null |
|||
) |
Class constructor.
ToolConsumer | $consumer | Tool consumer object |
string | $value | Nonce value (optional, default is null) |
Reimplemented from PlatformNonce.
Definition at line 26 of file ConsumerNonce.php.
References Util\logDebug().
getConsumer | ( | ) |
Get tool consumer.
Definition at line 37 of file ConsumerNonce.php.
References PlatformNonce\getPlatform().