LTI Integration Library 4.10.3
PHP class library for building LTI integrations
 
Loading...
Searching...
No Matches
ConsumerNonce Class Reference

Class to represent a tool consumer nonce. More...

Inheritance diagram for ConsumerNonce:
PlatformNonce

Public Member Functions

 __construct ($consumer, $value=null)
 Class constructor.
 
 getConsumer ()
 Get tool consumer.
 
- Public Member Functions inherited from PlatformNonce
 __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

- Data Fields inherited from PlatformNonce
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 Public Attributes inherited from PlatformNonce
static $maximumLength = 50
 Maximum length which can be stored.
 

Detailed Description

Class to represent a tool consumer nonce.

Deprecated:
Use PlatformNonce instead
See also
PlatformNonce
Author
Stephen P Vickers steph.nosp@m.en@s.nosp@m.pvsof.nosp@m.twar.nosp@m.eprod.nosp@m.ucts.nosp@m..com
Licence: http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3

Definition at line 17 of file ConsumerNonce.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $consumer,
  $value = null 
)

Class constructor.

Parameters
ToolConsumer$consumerTool consumer object
string$valueNonce value (optional, default is null)

Reimplemented from PlatformNonce.

Definition at line 26 of file ConsumerNonce.php.

References Util\logDebug().

Member Function Documentation

◆ getConsumer()

getConsumer ( )

Get tool consumer.

Returns
ToolConsumer Tool consumer for this nonce

Definition at line 37 of file ConsumerNonce.php.

References PlatformNonce\getPlatform().


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