ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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().
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, array, SimpleSAML\Utils\Random\generateID(), and lookup_consumer().
sspmod_oauth_OAuthStore::getAuthorizedData | ( | $token, | |
$verifier = '' |
|||
) |
Definition at line 86 of file OAuthStore.php.
References $data, and SimpleSAML\Logger\info().
Referenced by moveAuthorizedData().
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().
sspmod_oauth_OAuthStore::lookup_consumer | ( | $consumer_key | ) |
Definition at line 106 of file OAuthStore.php.
References $consumer, and SimpleSAML\Logger\info().
Referenced by authorize().
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().
sspmod_oauth_OAuthStore::lookup_nonce | ( | $consumer, | |
$token, | |||
$nonce, | |||
$timestamp | |||
) |
Definition at line 128 of file OAuthStore.php.
References $consumer, and SimpleSAML\Logger\info().
sspmod_oauth_OAuthStore::lookup_token | ( | $consumer, | |
$tokenType = 'default' , |
|||
$token | |||
) |
Definition at line 121 of file OAuthStore.php.
References $consumer, $data, and SimpleSAML\Logger\info().
sspmod_oauth_OAuthStore::moveAuthorizedData | ( | $requestToken, | |
$verifier, | |||
$accessTokenKey | |||
) |
Definition at line 92 of file OAuthStore.php.
References $requestToken, getAuthorizedData(), and SimpleSAML\Logger\info().
sspmod_oauth_OAuthStore::new_access_token | ( | $requestToken, | |
$consumer, | |||
$verifier = null |
|||
) |
Definition at line 158 of file OAuthStore.php.
References $consumer, $requestToken, and SimpleSAML\Logger\info().
sspmod_oauth_OAuthStore::new_request_token | ( | $consumer, | |
$callback = null , |
|||
$version = null |
|||
) |
Definition at line 135 of file OAuthStore.php.
References $consumer, $version, array, and SimpleSAML\Logger\info().
|
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.