ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class to represent an OAuth datastore. More...
Public Member Functions | |
__construct ($toolProvider) | |
Class constructor. More... | |
lookup_consumer ($consumerKey) | |
Create an OAuthConsumer object for the tool consumer. More... | |
lookup_token ($consumer, $tokenType, $token) | |
Create an OAuthToken object for the tool consumer. More... | |
lookup_nonce ($consumer, $token, $value, $timestamp) | |
Lookup nonce value for the tool consumer. More... | |
new_request_token ($consumer, $callback=null) | |
Get new request token. More... | |
new_access_token ($token, $consumer, $verifier=null) | |
Get new access token. More... | |
Public Member Functions inherited from IMSGlobal\LTI\OAuth\OAuthDataStore | |
lookup_consumer ($consumer_key) | |
lookup_token ($consumer, $token_type, $token) | |
lookup_nonce ($consumer, $token, $nonce, $timestamp) | |
new_request_token ($consumer, $callback=null) | |
new_access_token ($token, $consumer, $verifier=null) | |
Private Attributes | |
$toolProvider = null | |
Tool Provider object. More... | |
Class to represent an OAuth datastore.
Definition at line 16 of file OAuthDataStore.php.
IMSGlobal\LTI\ToolProvider\OAuthDataStore::__construct | ( | $toolProvider | ) |
Class constructor.
ToolProvider | $toolProvider | Tool_Provider object |
Definition at line 31 of file OAuthDataStore.php.
References IMSGlobal\LTI\ToolProvider\OAuthDataStore\$toolProvider.
IMSGlobal\LTI\ToolProvider\OAuthDataStore::lookup_consumer | ( | $consumerKey | ) |
Create an OAuthConsumer object for the tool consumer.
string | $consumerKey | Consumer key value |
Definition at line 45 of file OAuthDataStore.php.
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 |
Definition at line 79 of file OAuthDataStore.php.
References $ok.
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 |
Definition at line 62 of file OAuthDataStore.php.
References $consumer.
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 |
Definition at line 119 of file OAuthDataStore.php.
IMSGlobal\LTI\ToolProvider\OAuthDataStore::new_request_token | ( | $consumer, | |
$callback = null |
|||
) |
Get new request token.
OAuthConsumer | $consumer | OAuthConsumer object |
string | $callback | Callback URL |
Definition at line 103 of file OAuthDataStore.php.
|
private |
Tool Provider object.
Definition at line 24 of file OAuthDataStore.php.
Referenced by IMSGlobal\LTI\ToolProvider\OAuthDataStore\__construct().