Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
|
Public Member Functions | |
__construct ($toolProvider) | |
Class constructor. | |
lookup_consumer ($consumerKey) | |
Create an OAuthConsumer object for the tool consumer. | |
lookup_nonce ($consumer, $token, $value, $timestamp) | |
Lookup nonce value for the tool consumer. | |
lookup_token ($consumer, $tokenType, $token) | |
Create an OAuthToken object for the tool consumer. | |
new_access_token ($token, $consumer, $verifier=null) | |
Get new access token. | |
new_request_token ($consumer, $callback=null) | |
Get new request token. | |
IMSGlobal\LTI\ToolProvider\OAuthDataStore::__construct | ( | $toolProvider | ) |
Class constructor.
ToolProvider | $toolProvider | Tool_Provider object |
IMSGlobal\LTI\ToolProvider\OAuthDataStore::lookup_consumer | ( | $consumerKey | ) |
Create an OAuthConsumer object for the tool consumer.
string | $consumerKey | Consumer key value |
OAuthConsumer | OAuthConsumer object |
Reimplemented from IMSGlobal\LTI\OAuth\OAuthDataStore.
IMSGlobal\LTI\ToolProvider\OAuthDataStore::lookup_nonce | ( | $consumer, | |
$token, | |||
$value, | |||
$timestamp ) |
Lookup nonce value for the tool consumer.
OAuthConsumer | $consumer | OAuthConsumer object |
string | $token | Token value |
string | $value | Nonce value |
string | $timestamp | Date/time of request |
boolean | True if the nonce value already exists |
Reimplemented from IMSGlobal\LTI\OAuth\OAuthDataStore.
IMSGlobal\LTI\ToolProvider\OAuthDataStore::lookup_token | ( | $consumer, | |
$tokenType, | |||
$token ) |
Create an OAuthToken object for the tool consumer.
string | $consumer | OAuthConsumer object |
string | $tokenType | Token type |
string | $token | Token value |
OAuthToken | OAuthToken object |
Reimplemented from IMSGlobal\LTI\OAuth\OAuthDataStore.
IMSGlobal\LTI\ToolProvider\OAuthDataStore::new_access_token | ( | $token, | |
$consumer, | |||
$verifier = null ) |
Get new access token.
string | $token | Token value |
OAuthConsumer | $consumer | OAuthConsumer object |
string | $verifier | Verification code |
string | Null value |
Reimplemented from IMSGlobal\LTI\OAuth\OAuthDataStore.
IMSGlobal\LTI\ToolProvider\OAuthDataStore::new_request_token | ( | $consumer, | |
$callback = null ) |
Get new request token.
OAuthConsumer | $consumer | OAuthConsumer object |
string | $callback | Callback URL |
string | Null value |
Reimplemented from IMSGlobal\LTI\OAuth\OAuthDataStore.