ILIAS
release_8 Revision v8.23
|
Class to represent an OAuth datastore. More...
Public Member Functions | |
__construct ($system) | |
Class constructor. More... | |
lookup_consumer (string $consumerKey) | |
Create an OAuthConsumer object for the system. More... | |
lookup_token (OAuthConsumer $consumer, string $tokenType, string $token) | |
Create an OAuthToken object for the system. More... | |
lookup_nonce (OAuthConsumer $consumer, ?OAuthToken $token, string $value, int $timestamp) | |
Lookup nonce value for the system. More... | |
new_request_token (OAuthConsumer $consumer, $callback=null) | |
Get new request token. More... | |
new_access_token (OAuthToken $token, OAuthConsumer $consumer, $verifier=null) | |
Get new access token. More... | |
Private Attributes | |
$system = null | |
System object. More... | |
Class to represent an OAuth datastore.
Definition at line 33 of file OAuthDataStore.php.
ILIAS\LTI\ToolProvider\OAuthDataStore::__construct | ( | $system | ) |
Class constructor.
Definition at line 47 of file OAuthDataStore.php.
References ILIAS\LTI\ToolProvider\OAuthDataStore\$system.
ILIAS\LTI\ToolProvider\OAuthDataStore::lookup_consumer | ( | string | $consumerKey | ) |
Create an OAuthConsumer object for the system.
string | $consumerKey | Consumer key value |
Definition at line 57 of file OAuthDataStore.php.
References ILIAS\LTI\ToolProvider\Tool\$defaultTool, ILIAS\LTI\ToolProvider\$key, and ILIAS\LTI\ToolProvider\$secret.
ILIAS\LTI\ToolProvider\OAuthDataStore::lookup_nonce | ( | OAuthConsumer | $consumer, |
?OAuthToken | $token, | ||
string | $value, | ||
int | $timestamp | ||
) |
Lookup nonce value for the system.
OAuthConsumer | $consumer | OAuthConsumer object |
OAuthToken | null | $token | Token value //UK: removed string |
string | $value | Nonce value |
int | $timestamp | Date/time of request //UK: removed string |
Definition at line 97 of file OAuthDataStore.php.
References ILIAS\LTI\ToolProvider\OAuthDataStore\$system.
ILIAS\LTI\ToolProvider\OAuthDataStore::lookup_token | ( | OAuthConsumer | $consumer, |
string | $tokenType, | ||
string | $token | ||
) |
Create an OAuthToken object for the system.
OAuthConsumer | $consumer | OAuthConsumer object //UK: removed string |
string | $tokenType | Token type |
string | $token | Token value |
Definition at line 84 of file OAuthDataStore.php.
ILIAS\LTI\ToolProvider\OAuthDataStore::new_access_token | ( | OAuthToken | $token, |
OAuthConsumer | $consumer, | ||
$verifier = null |
|||
) |
Get new access token.
OAuthToken | $token | Token value //UK: removed string CHECK |
OAuthConsumer | $consumer | OAuthConsumer object |
string | $verifier | Verification code |
Definition at line 134 of file OAuthDataStore.php.
ILIAS\LTI\ToolProvider\OAuthDataStore::new_request_token | ( | OAuthConsumer | $consumer, |
$callback = null |
|||
) |
Get new request token.
OAuthConsumer | $consumer | OAuthConsumer object |
mixed | $callback | Callback URL //UK: removed string CHECK |
Definition at line 122 of file OAuthDataStore.php.
System object.
Definition at line 40 of file OAuthDataStore.php.
Referenced by ILIAS\LTI\ToolProvider\OAuthDataStore\__construct(), and ILIAS\LTI\ToolProvider\OAuthDataStore\lookup_nonce().