◆ cacheAccessToken()
| enrol_lti\local\ltiadvantage\lib\launch_cache_session::cacheAccessToken |
( |
string | $key, |
|
|
string | $accessToken ) |
◆ cacheLaunchData()
| enrol_lti\local\ltiadvantage\lib\launch_cache_session::cacheLaunchData |
( |
string | $key, |
|
|
array | $jwtBody ) |
◆ cacheNonce()
| enrol_lti\local\ltiadvantage\lib\launch_cache_session::cacheNonce |
( |
string | $nonce, |
|
|
string | $state ) |
◆ checkNonceIsValid()
| enrol_lti\local\ltiadvantage\lib\launch_cache_session::checkNonceIsValid |
( |
string | $nonce, |
|
|
string | $state ) |
Check whether the cache contains the nonce.
- Parameters
-
| string | $nonce | the nonce |
| string | $state | the state |
- Return values
-
| bool | true if found, false otherwise. |
Implements Packback\Lti1p3\Interfaces\ICache.
◆ clearAccessToken()
| enrol_lti\local\ltiadvantage\lib\launch_cache_session::clearAccessToken |
( |
string | $key | ) |
|
◆ getAccessToken()
| enrol_lti\local\ltiadvantage\lib\launch_cache_session::getAccessToken |
( |
string | $key | ) |
|
Get a cached access token.
- Parameters
-
| string | $key | the key to check. |
- Return values
-
| string|null | the token string, or null if not found. |
Implements Packback\Lti1p3\Interfaces\ICache.
◆ getLaunchData()
| enrol_lti\local\ltiadvantage\lib\launch_cache_session::getLaunchData |
( |
string | $key | ) |
|
The documentation for this class was generated from the following file:
- enrol/lti/classes/local/ltiadvantage/lib/launch_cache_session.php