|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for sspmod_oauth_OAuthStore:
Collaboration diagram for sspmod_oauth_OAuthStore:Public Member Functions | |
| __construct () | |
| authorize ($requestTokenKey, $data) | |
| Attach the data to the token, and establish the Callback URL and verifier. More... | |
| isAuthorized ($requestToken, $verifier='') | |
| Perform lookup whether a given token exists in the list of authorized tokens; if a verifier is passed as well, the verifier must match the verifier that was registered with the token Note that an accessToken should never be stored with a verifier. More... | |
| getAuthorizedData ($token, $verifier='') | |
| moveAuthorizedData ($requestToken, $verifier, $accessTokenKey) | |
| lookup_consumer ($consumer_key) | |
| lookup_token ($consumer, $tokenType='default', $token) | |
| lookup_nonce ($consumer, $token, $nonce, $timestamp) | |
| new_request_token ($consumer, $callback=null, $version=null) | |
| new_access_token ($requestToken, $consumer, $verifier=null) | |
| lookup_consumer_by_requestToken ($requestTokenKey) | |
| Return OAuthConsumer-instance that a given requestToken was issued to. More... | |
Public Member Functions inherited from 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) | |
Protected Attributes | |
| $_store_tables | |
Private Attributes | |
| $store | |
| $config | |
| $defaultversion = '1.0' | |
Definition at line 14 of file OAuthStore.php.
| sspmod_oauth_OAuthStore::__construct | ( | ) |
Definition at line 29 of file OAuthStore.php.
References SimpleSAML_Configuration\getOptionalConfig().
Here is the call graph for this function:| sspmod_oauth_OAuthStore::authorize | ( | $requestTokenKey, | |
| $data | |||
| ) |
Attach the data to the token, and establish the Callback URL and verifier.
| $requestTokenKey | RequestToken that was authorized |
| $data | Data that is authorized and to be attached to the requestToken |
Definition at line 41 of file OAuthStore.php.
References $data, $defaultversion, $url, $version, SimpleSAML\Utils\Random\generateID(), and lookup_consumer().
Here is the call graph for this function:| sspmod_oauth_OAuthStore::getAuthorizedData | ( | $token, | |
$verifier = '' |
|||
| ) |
Definition at line 86 of file OAuthStore.php.
References $data, and SimpleSAML\Logger\info().
Referenced by moveAuthorizedData().
Here is the call graph for this function:
Here is the caller graph for this function:| sspmod_oauth_OAuthStore::isAuthorized | ( | $requestToken, | |
$verifier = '' |
|||
| ) |
Perform lookup whether a given token exists in the list of authorized tokens; if a verifier is passed as well, the verifier must match the verifier that was registered with the token
Note that an accessToken should never be stored with a verifier.
| $requestToken | |
| $verifier |
Definition at line 81 of file OAuthStore.php.
References $requestToken, and SimpleSAML\Logger\info().
Here is the call graph for this function:| sspmod_oauth_OAuthStore::lookup_consumer | ( | $consumer_key | ) |
Reimplemented from OAuthDataStore.
Definition at line 106 of file OAuthStore.php.
References $consumer, and SimpleSAML\Logger\info().
Referenced by authorize().
Here is the call graph for this function:
Here is the caller graph for this function:| sspmod_oauth_OAuthStore::lookup_consumer_by_requestToken | ( | $requestTokenKey | ) |
Return OAuthConsumer-instance that a given requestToken was issued to.
| $requestTokenKey |
Definition at line 170 of file OAuthStore.php.
References $consumer, and SimpleSAML\Logger\info().
Here is the call graph for this function:| sspmod_oauth_OAuthStore::lookup_nonce | ( | $consumer, | |
| $token, | |||
| $nonce, | |||
| $timestamp | |||
| ) |
Reimplemented from OAuthDataStore.
Definition at line 128 of file OAuthStore.php.
References $consumer, and SimpleSAML\Logger\info().
Here is the call graph for this function:| sspmod_oauth_OAuthStore::lookup_token | ( | $consumer, | |
$tokenType = 'default', |
|||
| $token | |||
| ) |
Reimplemented from OAuthDataStore.
Definition at line 121 of file OAuthStore.php.
References $consumer, $data, and SimpleSAML\Logger\info().
Here is the call graph for this function:| sspmod_oauth_OAuthStore::moveAuthorizedData | ( | $requestToken, | |
| $verifier, | |||
| $accessTokenKey | |||
| ) |
Definition at line 92 of file OAuthStore.php.
References $requestToken, getAuthorizedData(), and SimpleSAML\Logger\info().
Here is the call graph for this function:| sspmod_oauth_OAuthStore::new_access_token | ( | $requestToken, | |
| $consumer, | |||
$verifier = null |
|||
| ) |
Reimplemented from OAuthDataStore.
Definition at line 158 of file OAuthStore.php.
References $consumer, $requestToken, and SimpleSAML\Logger\info().
Here is the call graph for this function:| sspmod_oauth_OAuthStore::new_request_token | ( | $consumer, | |
$callback = null, |
|||
$version = null |
|||
| ) |
Definition at line 135 of file OAuthStore.php.
References $consumer, $version, and SimpleSAML\Logger\info().
Here is the call graph for this function:
|
protected |
Definition at line 20 of file OAuthStore.php.
|
private |
Definition at line 17 of file OAuthStore.php.
|
private |
Definition at line 18 of file OAuthStore.php.
Referenced by authorize().
|
private |
Definition at line 16 of file OAuthStore.php.