ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
linkback.php File Reference

Go to the source code of this file.

Variables

if(!array_key_exists('stateid', $_REQUEST)) $state = SimpleSAML_Auth_State::loadState($_REQUEST['stateid'], sspmod_authlinkedin_Auth_Source_LinkedIn::STAGE_INIT)
 Handle linkback() response from LinkedIn. More...
 
if(array_key_exists('oauth_verifier', $_REQUEST)) else
 
 $sourceId = $state[sspmod_authlinkedin_Auth_Source_LinkedIn::AUTHID]
 
 $source = SimpleSAML_Auth_Source::getById($sourceId)
 

Variable Documentation

◆ $source

$source = SimpleSAML_Auth_Source::getById($sourceId)

Definition at line 23 of file linkback.php.

◆ $sourceId

Definition at line 21 of file linkback.php.

◆ $state

if (!array_key_exists( 'stateid', $_REQUEST)) $state = SimpleSAML_Auth_State::loadState($_REQUEST['stateid'], sspmod_authlinkedin_Auth_Source_LinkedIn::STAGE_INIT)

Handle linkback() response from LinkedIn.

Definition at line 10 of file linkback.php.

Referenced by LSTOCBuilder\__construct(), sspmod_saml_Auth_Process_PersistentNameID2TargetedID\__construct(), sspmod_saml_BaseNameIDGenerator\__construct(), BaseFacebook\__construct(), phpseclib\Crypt\Rijndael\_decryptBlock(), phpseclib\Crypt\Rijndael\_encryptBlock(), ilCalendarScheduleFilterExercise\addCustomEvents(), sspmod_smartattributes_Auth_Process_SmartID\addID(), ilExAssignmentGUI\addInstructions(), SimpleSAML_Auth_Source\addLogoutCallback(), ilExAssignmentGUI\addPublicSubmissions(), ilExAssignmentGUI\addSchedule(), ilExAssignmentGUI\addSubmission(), SimpleSAML_Auth_ProcessingChain\addUserID(), sspmod_exampleauth_Auth_Source_Static\authenticate(), sspmod_authwindowslive_Auth_Source_LiveID\authenticate(), sspmod_authlinkedin_Auth_Source_LinkedIn\authenticate(), sspmod_authtwitter_Auth_Source_Twitter\authenticate(), sspmod_negotiate_Auth_Source_Negotiate\authenticate(), sspmod_authfacebook_Auth_Source_Facebook\authenticate(), sspmod_authX509_Auth_Source_X509userCert\authenticate(), sspmod_exampleauth_Auth_Source_External\authenticate(), sspmod_authYubiKey_Auth_Source_YubiKey\authenticate(), sspmod_multiauth_Auth_Source_MultiAuth\authenticate(), sspmod_core_Auth_UserPassOrgBase\authenticate(), sspmod_core_Auth_UserPassBase\authenticate(), sspmod_cas_Auth_Source_CAS\authenticate(), sspmod_saml_Auth_Source_SP\authenticate(), sspmod_authX509_Auth_Source_X509userCert\authFailed(), sspmod_authX509_Auth_Source_X509userCert\authSuccesful(), SimpleSAML_Auth_State\cloneState(), Parser\closeList(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), SimpleSAML_Auth_Source\completeAuth(), SimpleSAML_Auth_Source\completeLogout(), HTMLPurifier_UnitConverter\convert(), sspmod_multiauth_Auth_Source_MultiAuth\delegateAuthentication(), ilTestPlayerAbstractGUI\detectChangesCmd(), SimpleSAML_IdP\doLogoutRedirect(), ilExSubmissionGUI\downloadFileObject(), ilExSubmissionGUI\downloadGlobalFeedbackFileObject(), sspmod_negotiate_Auth_Source_Negotiate\fallBack(), sspmod_authwindowslive_Auth_Source_LiveID\finalStep(), sspmod_authtwitter_Auth_Source_Twitter\finalStep(), sspmod_authlinkedin_Auth_Source_LinkedIn\finalStep(), sspmod_authfacebook_Auth_Source_Facebook\finalStep(), sspmod_cas_Auth_Source_CAS\finalStep(), SimpleSAML_Auth_Source\getAuthId(), ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\getBucketIdsByState(), ilAppointmentExerciseFileHandler\getFiles(), ilBuddySystemRelationStateFactory\getInitialState(), ilLearnerProgressDB\getLearnerItems(), ilExAssignmentGUI\getOverviewBody(), ilExSubmissionTeamGUI\getOverviewContent(), ilExPeerReviewGUI\getOverviewContent(), ilExAssignmentGUI\getOverviewHeader(), ilBTPopOverGUI\getPopOverContent(), SimpleSAML_Auth_State\getStateId(), ilBuddySystemRelationStateFilterRule\getStates(), ilBuddySystemRelationStateFactory\getStatesAsOptionArray(), sspmod_authYubiKey_Auth_Source_YubiKey\handleLogin(), sspmod_core_Auth_UserPassOrgBase\handleLogin(), sspmod_core_Auth_UserPassBase\handleLogin(), ilBuddySystemRelationsTableGUI\initFilter(), SimpleSAML_Auth_Source\initLogin(), SimpleSAML_Auth_Default\initLogoutReturn(), ilTestPlayerAbstractGUI\isFollowUpQuestionLocksConfirmationPrevented(), LSTOCBuilder\item(), sspmod_core_Auth_UserPassOrgBase\listOrganizations(), SimpleSAML_Auth_State\loadExceptionState(), SimpleSAML_Auth_State\loadState(), SimpleSAML_Auth_Default\loginCompleted(), SimpleSAML_Auth_Source\loginCompleted(), sspmod_multiauth_Auth_Source_MultiAuth\logout(), SimpleSAML\Auth\Simple\logout(), sspmod_cas_Auth_Source_CAS\logout(), SimpleSAML_Auth_Source\logout(), sspmod_exampleauth_Auth_Source_External\logout(), sspmod_negotiate_Auth_Source_Negotiate\logout(), SimpleSAML_Auth_Default\logoutCallback(), SimpleSAML_Auth_Source\logoutCallback(), SimpleSAML_Auth_Default\logoutCompleted(), SimpleSAML\Auth\Simple\logoutCompleted(), Parser\magicLinkCallback(), ILIAS\BackgroundTasks\Implementation\TaskManager\NonPersistingObserver\notifyState(), ILIAS\BackgroundTasks\Implementation\TaskManager\PersistingObserver\notifyState(), SimpleSAML\IdP\TraditionalLogoutHandler\onResponse(), ilSurveyExecutionGUI\outSurveyPage(), HTMLPurifier_StringHashParser\parseHandle(), ilExAssignmentReminder\parsePeerReminders(), ilExAssignmentReminder\parseSubmissionReminders(), sspmod_core_Auth_Process_ExtendIdPSession\process(), sspmod_exampleauth_Auth_Process_RedirectTest\process(), sspmod_core_Auth_Process_WarnShortSSOInterval\process(), sspmod_preprodwarning_Auth_Process_Warning\process(), sspmod_saml_Auth_Process_AuthnContextClassRef\process(), sspmod_cdc_Auth_Process_CDC\process(), sspmod_authYubiKey_Auth_Process_OTP2YubiPrefix\process(), sspmod_authX509_Auth_Process_ExpiryWarning\process(), sspmod_core_Auth_Process_StatisticsWithAttribute\process(), sspmod_core_Auth_Process_TargetedID\process(), sspmod_saml_Auth_Process_NameIDAttribute\process(), sspmod_expirycheck_Auth_Process_ExpiryDate\process(), sspmod_consent_Auth_Process_Consent\process(), SimpleSAML_Auth_ProcessingChain\processState(), SimpleSAML_Auth_ProcessingChain\processStatePassive(), sspmod_saml_Auth_Source_SP\reauthPostLogin(), sspmod_adfs_IdP_ADFS\receiveAuthnRequest(), sspmod_saml_IdP_SAML1\receiveAuthnRequest(), sspmod_saml_IdP_SAML2\receiveAuthnRequest(), sspmod_adfs_IdP_ADFS\receiveLogoutMessage(), sspmod_saml_IdP_SAML2\receiveLogoutMessage(), ilLSPlayer\render(), ilLSPlayer\renderComponentView(), Jumbojett\OpenIDConnectClient\requestAuthorization(), sspmod_exampleauth_Auth_Source_External\resume(), SimpleSAML_Auth_ProcessingChain\resumeProcessing(), SimpleSAML_Auth_State\saveState(), ilTable2GUI\saveTemplate(), ilLSStateDB\serializeStates(), sspmod_core_Auth_Process_StatisticsWithAttribute\setIdentifier(), PhpOffice\PhpSpreadsheet\Settings\setLibXmlDisableEntityLoader(), Jumbojett\OpenIDConnectClient\setState(), sspmod_expirycheck_Auth_Process_ExpiryDate\shWarning(), ilObjExerciseGUI\startAssignmentObject(), LSControlBuilder\tableOfContent(), ilBuddyListTest\testAlreadyGivenStateExceptionIsThrownWhenALinkedRelationShouldBeMarkedAsLinked(), ilBuddyListTest\testAlreadyGivenStateExceptionIsThrownWhenAnIgnoredRelationShouldBeMarkedAsIgnored(), ilBuddyListTest\testAlreadyGivenStateExceptionIsThrownWhenAnUnlinkedRelationShouldBeMarkedAsUnlinked(), ilBuddyListTest\testAlreadyGivenStateExceptionIsThrownWhenARequestedRelationShouldBeMarkedAsRequested(), ilBasicNodeTest\testExecuteTransition(), ilCaseNodeTest\testExecuteTransition(), ilConditionalNodeTest\testExecuteTransitionElse(), ilCaseNodeTest\testExecuteTransitionExclusiveFork(), ilConditionalNodeTest\testExecuteTransitionThen(), ilBuddyListTest\testStateTransitionExceptionIsThrownWhenALinkedRelationShouldBeMarkedAsIgnored(), SimpleSAML_Auth_State\throwException(), ilLegacyKioskModeView\updateGet(), ilContentPageKioskModeView\updateGet(), ilLegacyKioskModeView\updatePost(), ilContentPageKioskModeView\updatePost(), ilLSStateDB\updateState(), ilLSPlayer\updateViewState(), ILIAS\UI\Implementation\Component\Modal\Modal\withCloseWithKeyboard(), ILIAS\UI\Implementation\Component\Button\Bulky\withEngagedState(), ILIAS\UI\Implementation\Component\Dropzone\File\File\withUserDefinedDescriptionEnabled(), and ILIAS\UI\Implementation\Component\Dropzone\File\File\withUserDefinedFileNamesEnabled().

◆ else

if (array_key_exists( 'oauth_verifier', $_REQUEST)) else
Initial value:
{
throw new Exception('OAuth verifier not returned.')

Definition at line 15 of file linkback.php.