ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Go to the source code of this file.
Functions | |
_readline ($prompt='') | |
Variables | |
try | |
$session = SimpleSAML_Session::getSessionFromRequest() | |
$baseurl = (isset($_SERVER['argv'][1]) ? $_SERVER['argv'][1] : 'http://mars.foodle.local/simplesaml') | |
$key = (isset($_SERVER['argv'][2]) ? $_SERVER['argv'][2] : 'key') | |
$secret = (isset($_SERVER['argv'][3]) ? $_SERVER['argv'][3] : 'secret') | |
$consumer = new sspmod_oauth_Consumer($key, $secret) | |
$requestToken = $consumer->getRequestToken($baseurl . '/module.php/oauth/requestToken.php') | |
$url = $consumer->getAuthorizeRequest($baseurl . '/module.php/oauth/authorize.php', $requestToken, FALSE) | |
$accessToken = $consumer->getAccessToken( $baseurl . '/module.php/oauth/accessToken.php', $requestToken) | |
$userdata = $consumer->getUserInfo($baseurl . '/module.php/oauth/getUserInfo.php', $accessToken) | |
_readline | ( | $prompt = '' | ) |
Definition at line 5 of file demo.php.
$accessToken = $consumer->getAccessToken( $baseurl . '/module.php/oauth/accessToken.php', $requestToken) |
Definition at line 45 of file demo.php.
Referenced by sspmod_authmyspace_Auth_Source_MySpace\finalStep(), sspmod_authtwitter_Auth_Source_Twitter\finalStep(), sspmod_authlinkedin_Auth_Source_LinkedIn\finalStep(), sspmod_oauth_Consumer\getAccessToken(), BaseFacebook\getAccessToken(), sspmod_oauth_Consumer\getUserInfo(), and sspmod_oauth_Consumer\postRequest().
$baseurl = (isset($_SERVER['argv'][1]) ? $_SERVER['argv'][1] : 'http://mars.foodle.local/simplesaml') |
Definition at line 25 of file demo.php.
Referenced by SimpleSAML_Metadata_MetaDataStorageHandlerFlatFile\generateDynamicHostedEntityID(), SimpleSAML_Metadata_MetaDataStorageHandlerPdo\generateDynamicHostedEntityID(), SimpleSAML_Metadata_MetaDataStorageHandler\getGenerated(), and SimpleSAML_Error_Error\show().
$consumer = new sspmod_oauth_Consumer($key, $secret) |
Definition at line 30 of file demo.php.
Referenced by assQuestionGUI\addBackTab(), sspmod_authtwitter_Auth_Source_Twitter\authenticate(), sspmod_authmyspace_Auth_Source_MySpace\authenticate(), sspmod_authlinkedin_Auth_Source_LinkedIn\authenticate(), ilLTIToolProvider\authenticate(), IMSGlobal\LTI\OAuth\OAuthSignatureMethod_HMAC_SHA1\build_signature(), IMSGlobal\LTI\OAuth\OAuthSignatureMethod_HMAC_SHA256\build_signature(), OAuthSignatureMethod_HMAC_SHA1\build_signature(), OAuthSignatureMethod_PLAINTEXT\build_signature(), IMSGlobal\LTI\OAuth\OAuthRequest\build_signature(), OAuthRequest\build_signature(), assQuestionGUI\cancelSync(), ilObjLTIAdministrationGUI\changeStatusLTIConsumer(), IMSGlobal\LTI\OAuth\OAuthServer\check_nonce(), OAuthServer\check_nonce(), IMSGlobal\LTI\OAuth\OAuthSignatureMethod\check_signature(), OAuthSignatureMethod\check_signature(), IMSGlobal\LTI\OAuth\OAuthServer\check_signature(), OAuthServer\check_signature(), ilLTIToolProvider\checkForShare(), ilObjLTIAdministrationGUI\createLTIConsumer(), ilObjLTIAdministrationGUI\deleteLTIConsumer(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo_sqlite\deleteToolConsumer(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector\deleteToolConsumer(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\deleteToolConsumer(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\deleteToolConsumer(), ilLTIDataConnector\deleteToolConsumer(), ilLTIAppEventListener\doCronUpdate(), ilObjLTIAdministrationGUI\editConsumer(), IMSGlobal\LTI\OAuth\OAuthServer\fetch_access_token(), OAuthServer\fetch_access_token(), IMSGlobal\LTI\OAuth\OAuthServer\fetch_request_token(), OAuthServer\fetch_request_token(), sspmod_authmyspace_Auth_Source_MySpace\finalStep(), sspmod_authtwitter_Auth_Source_Twitter\finalStep(), sspmod_authlinkedin_Auth_Source_LinkedIn\finalStep(), IMSGlobal\LTI\OAuth\OAuthRequest\from_consumer_and_token(), OAuthRequest\from_consumer_and_token(), IMSGlobal\LTI\OAuth\OAuthServer\get_consumer(), OAuthServer\get_consumer(), IMSGlobal\LTI\OAuth\OAuthServer\get_token(), OAuthServer\get_token(), IMSGlobal\LTI\ToolProvider\ToolProxy\getConsumer(), ilLTIDataConnector\getGlobalToolConsumerSettings(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\getToolConsumers(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\getToolConsumers(), ilLTIDataConnector\getToolConsumers(), ilLTIAppEventListener\handleUpdateStatus(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\loadToolConsumer(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\loadToolConsumer(), ilLTIDataConnector\loadToolConsumer(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector\loadToolConsumer(), sspmod_oauth_OAuthStore\lookup_consumer(), sspmod_oauth_OAuthStore\lookup_consumer_by_requestToken(), sspmod_oauth_OAuthStore\lookup_nonce(), IMSGlobal\LTI\ToolProvider\OAuthDataStore\lookup_token(), sspmod_oauth_OAuthStore\lookup_token(), ilAuthProviderLTI\lookupConsumer(), sspmod_oauth_OAuthStore\new_access_token(), sspmod_oauth_OAuthStore\new_request_token(), ilObjQuestionPoolGUI\questionsObject(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\saveToolConsumer(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector\saveToolConsumer(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\saveToolConsumer(), ilLTIDataConnector\saveToolConsumer(), IMSGlobal\LTI\OAuth\OAuthRequest\sign_request(), OAuthRequest\sign_request(), IMSGlobal\LTI\ToolProvider\ToolConsumer\signParameters(), assQuestionGUI\sync(), ilObjLTIAdministrationGUI\updateLTIConsumer(), ilLTIProviderObjectSettingGUI\updateSettings(), IMSGlobal\LTI\OAuth\OAuthServer\verify_request(), and OAuthServer\verify_request().
$key = (isset($_SERVER['argv'][2]) ? $_SERVER['argv'][2] : 'key') |
$requestToken = $consumer->getRequestToken($baseurl . '/module.php/oauth/requestToken.php') |
Definition at line 33 of file demo.php.
Referenced by sspmod_authtwitter_Auth_Source_Twitter\authenticate(), sspmod_authmyspace_Auth_Source_MySpace\authenticate(), sspmod_authlinkedin_Auth_Source_LinkedIn\authenticate(), sspmod_authmyspace_Auth_Source_MySpace\finalStep(), sspmod_authtwitter_Auth_Source_Twitter\finalStep(), sspmod_authlinkedin_Auth_Source_LinkedIn\finalStep(), sspmod_oauth_Consumer\getAccessToken(), sspmod_oauth_Consumer\getAuthorizeRequest(), sspmod_oauth_Consumer\getRequestToken(), sspmod_oauth_OAuthStore\isAuthorized(), sspmod_oauth_OAuthStore\moveAuthorizedData(), and sspmod_oauth_OAuthStore\new_access_token().
$secret = (isset($_SERVER['argv'][3]) ? $_SERVER['argv'][3] : 'secret') |
Definition at line 27 of file demo.php.
Referenced by sspmod_oauth_Consumer\__construct(), IMSGlobal\LTI\ToolProvider\MediaType\ToolProxy\__construct(), OAuthToken\__construct(), SimpleSAML\Utils\Crypto\aesDecrypt(), IMSGlobal\LTI\ToolProvider\ToolProvider\doToolProxyService(), ilRadiusSettings\getSecret(), and ilLTIProviderObjectSettingGUI\initObjectSettingsForm().
$session = SimpleSAML_Session::getSessionFromRequest() |
$url = $consumer->getAuthorizeRequest($baseurl . '/module.php/oauth/authorize.php', $requestToken, FALSE) |
$userdata = $consumer->getUserInfo($baseurl . '/module.php/oauth/getUserInfo.php', $accessToken) |
Definition at line 48 of file demo.php.
Referenced by ilChatroom\connectUser(), ilTestEvaluationGUI\exportFileUploadsForAllParticipants(), ilTestExport\exportToCSV(), ilTestExport\exportToExcel(), sspmod_authmyspace_Auth_Source_MySpace\finalStep(), sspmod_authtwitter_Auth_Source_Twitter\finalStep(), sspmod_authwindowslive_Auth_Source_LiveID\finalStep(), sspmod_authlinkedin_Auth_Source_LinkedIn\finalStep(), ilObjTest\getAggregatedResultsData(), ilChatroom\getBannedUsers(), ilObjSurvey\getEvaluationByUser(), assJavaAppletGUI\getSolutionOutput(), ilObjSurvey\getSurveyParticipants(), assJavaAppletGUI\getTestOutput(), ilSoapTestAdministration\getTestUserData(), ilObjSurvey\getUserDataFromActiveId(), ilTestScoring\recalculatePasses(), ilTestScoring\recalculateSolutions(), ilTestEvaluationGUI\resetfilterEvaluation(), ilObjNotificationAdminGUI\showConfigMatrixObject(), and ilTestEvaluationGUI\singleResults().
try |