Class to represent an OAuth datastore. More...
Inheritance diagram for ceLTIc\LTI\OAuthDataStore:Public Member Functions | |
| __construct (Platform|Tool $system) | |
| Class constructor. | |
| lookup_consumer (string $consumerKey) | |
| Create an OAuthConsumer object for the system. | |
| lookup_token (OAuthConsumer $consumer, ?string $tokenType, ?string $token) | |
| Create an OAuthToken object for the system. | |
| lookup_nonce (OAuthConsumer $consumer, OAuthToken $token, string $value, string $timestamp) | |
| Lookup nonce value for the system. | |
| new_request_token (OAuthConsumer $consumer, ?string $callback=null) | |
| Get new request token. | |
| new_access_token (string $token, OAuthConsumer $consumer, ?string $verifier=null) | |
| Get new access token. | |
Class to represent an OAuth datastore.
Class constructor.
| Platform | Tool | $system | System object |
| ceLTIc\LTI\OAuthDataStore::lookup_consumer | ( | string | $consumerKey | ) |
Create an OAuthConsumer object for the system.
| string | $consumerKey | Consumer key value |
Reimplemented from ceLTIc\LTI\OAuth\OAuthDataStore.
| ceLTIc\LTI\OAuthDataStore::lookup_nonce | ( | OAuthConsumer | $consumer, |
| OAuthToken | $token, | ||
| string | $value, | ||
| string | $timestamp ) |
Lookup nonce value for the system.
| OAuthConsumer | $consumer | OAuthConsumer object |
| OAuthToken | $token | Token value |
| string | $value | Nonce value |
| string | $timestamp | Date/time of request |
Reimplemented from ceLTIc\LTI\OAuth\OAuthDataStore.
| ceLTIc\LTI\OAuthDataStore::lookup_token | ( | OAuthConsumer | $consumer, |
| ?string | $tokenType, | ||
| ?string | $token ) |
Create an OAuthToken object for the system.
| string | $consumer | OAuthConsumer object |
| string | null | $tokenType | Token type |
| string | null | $token | Token value |
Reimplemented from ceLTIc\LTI\OAuth\OAuthDataStore.
| ceLTIc\LTI\OAuthDataStore::new_access_token | ( | string | $token, |
| OAuthConsumer | $consumer, | ||
| ?string | $verifier = null ) |
Get new access token.
| string | $token | Token value |
| OAuthConsumer | $consumer | OAuthConsumer object |
| string | null | $verifier | Verification code |
Reimplemented from ceLTIc\LTI\OAuth\OAuthDataStore.
| ceLTIc\LTI\OAuthDataStore::new_request_token | ( | OAuthConsumer | $consumer, |
| ?string | $callback = null ) |
Get new request token.
| OAuthConsumer | $consumer | OAuthConsumer object |
| string | null | $callback | Callback URL |
Reimplemented from ceLTIc\LTI\OAuth\OAuthDataStore.