Class to represent an OAuth Data Store. More...
Public Member Functions | |
lookup_consumer ($consumer_key) | |
Find consumer based on key. | |
lookup_token ($consumer, $token_type, $token) | |
Find token. | |
lookup_nonce ($consumer, $token, $nonce, $timestamp) | |
Check nonce value. | |
new_request_token ($consumer, $callback=null) | |
Get new request token. | |
new_access_token ($token, $consumer, $verifier=null) | |
Get new access token. | |
Class to represent an OAuth Data Store.
Definition at line 12 of file OAuth/OAuthDataStore.php.
lookup_consumer | ( | $consumer_key | ) |
Find consumer based on key.
string | $consumer_key |
Reimplemented in OAuthDataStore.
Definition at line 22 of file OAuth/OAuthDataStore.php.
lookup_nonce | ( | $consumer, | |
$token, | |||
$nonce, | |||
$timestamp | |||
) |
Check nonce value.
OAuthConsumer | $consumer | Consumer |
OAuthToken | $token | Token value |
string | $nonce | Nonce value |
string | $timestamp | Date/time of request |
Reimplemented in OAuthDataStore.
Definition at line 51 of file OAuth/OAuthDataStore.php.
lookup_token | ( | $consumer, | |
$token_type, | |||
$token | |||
) |
Find token.
OAuthConsumer | $consumer | Consumer |
string | null | $token_type | Token type |
string | null | $token | Token value |
Reimplemented in OAuthDataStore.
Definition at line 36 of file OAuth/OAuthDataStore.php.
new_access_token | ( | $token, | |
$consumer, | |||
$verifier = null |
|||
) |
Get new access token.
string | $token | Token value |
OAuthConsumer | $consumer | OAuthConsumer object |
string | null | $verifier | Verification code |
Reimplemented in OAuthDataStore.
Definition at line 78 of file OAuth/OAuthDataStore.php.
new_request_token | ( | $consumer, | |
$callback = null |
|||
) |
Get new request token.
OAuthConsumer | $consumer | Consumer |
string | null | $callback | Callback URL |
Reimplemented in OAuthDataStore.
Definition at line 64 of file OAuth/OAuthDataStore.php.