ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($key, $secret) | |
getRequestToken ($url, $parameters=null) | |
getAuthorizeRequest ($url, $requestToken, $redirect=true, $callback=null) | |
getAccessToken ($url, $requestToken, $parameters=null) | |
postRequest ($url, $accessToken, $parameters) | |
getUserInfo ($url, $accessToken, $opts=null) | |
Static Public Member Functions | |
static | dummy () |
static | getOAuthError ($hrh) |
static | getContentType ($hrh) |
static | getHTTP ($url, $context='') |
Private Attributes | |
$consumer | |
$signer | |
Definition at line 11 of file Consumer.php.
sspmod_oauth_Consumer::__construct | ( | $key, | |
$secret | |||
) |
Definition at line 16 of file Consumer.php.
References $key.
|
static |
Definition at line 23 of file Consumer.php.
sspmod_oauth_Consumer::getAccessToken | ( | $url, | |
$requestToken, | |||
$parameters = null |
|||
) |
Definition at line 113 of file Consumer.php.
References $url, SimpleSAML\Logger\debug(), SimpleSAML\Utils\HTTP\fetch(), and OAuthRequest\from_consumer_and_token().
sspmod_oauth_Consumer::getAuthorizeRequest | ( | $url, | |
$requestToken, | |||
$redirect = true , |
|||
$callback = null |
|||
) |
Definition at line 99 of file Consumer.php.
References PHPMailer\PHPMailer\$params, $url, exit, and SimpleSAML\Utils\HTTP\redirectTrustedURL().
|
static |
Definition at line 35 of file Consumer.php.
References $h.
|
static |
Definition at line 54 of file Consumer.php.
References $context, $response, $url, SimpleSAML\Utils\HTTP\fetch(), and getOAuthError().
Referenced by getRequestToken().
|
static |
sspmod_oauth_Consumer::getRequestToken | ( | $url, | |
$parameters = null |
|||
) |
Definition at line 77 of file Consumer.php.
References $url, OAuthRequest\from_consumer_and_token(), and getHTTP().
sspmod_oauth_Consumer::getUserInfo | ( | $url, | |
$accessToken, | |||
$opts = null |
|||
) |
Definition at line 165 of file Consumer.php.
References $data, $url, SimpleSAML\Utils\HTTP\fetch(), and OAuthRequest\from_consumer_and_token().
sspmod_oauth_Consumer::postRequest | ( | $url, | |
$accessToken, | |||
$parameters | |||
) |
Definition at line 138 of file Consumer.php.
References $response, $url, SimpleSAML\Utils\HTTP\fetch(), and OAuthRequest\from_consumer_and_token().
|
private |
Definition at line 13 of file Consumer.php.
|
private |
Definition at line 14 of file Consumer.php.