ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Get an OAuth2 token from Google. More...
Data Structures | |
class | |
Variables | |
$redirectUri = isset($_SERVER['HTTPS']) ? 'https://' : 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] | |
$clientId = 'RANDOMCHARS-----duv1n2.apps.googleusercontent.com' | |
$clientSecret = 'RANDOMCHARS-----lGyjPcRtvP' | |
$provider | |
if(!isset($_GET['code'])) elseif(empty($_GET['state'])||($_GET['state'] !==$_SESSION['oauth2state'])) | else |
Get an OAuth2 token from Google.
League::OAuth2::Client::Provider\$clientId = 'RANDOMCHARS-----duv1n2.apps.googleusercontent.com' |
Definition at line 32 of file get_oauth_token.php.
League::OAuth2::Client::Provider\$clientSecret = 'RANDOMCHARS-----lGyjPcRtvP' |
Definition at line 33 of file get_oauth_token.php.
League::OAuth2::Client::Provider\$provider |
Definition at line 131 of file get_oauth_token.php.
Referenced by ilForumPostsDeleted\__construct(), ilMailAutoCompleteSearch\addProvider(), ilObjGroupGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilClassificationBlockGUI\fillDataSection(), ilClassificationBlockGUI\filterContainer(), ilOpenIdProviders\getProviderById(), ilOpenIdProviders\getProviderSelection(), ilForumCronNotification\getRefIdsByObjId(), PHPMailerOAuthGoogle\getToken(), ilClassificationBlockGUI\initProviders(), ilObjTermsOfServiceGUI\initSettingsForm(), ilMailAutoCompleteSearch\search(), ilObjTermsOfServiceGUI\showMissingDocuments(), ilMailMemberSearchGUI\showSelectableUsers(), ilTermsOfServiceAgreementsByLanguageTableDataProviderTest\testAgreementByLanguageProviderCanBeCreatedByFactory(), ilTermsOfServiceAcceptanceHistoryProviderTest\testHistoryProviderCanBeCreatedByFactory(), ilTermsOfServiceAcceptanceHistoryProviderTest\testListCanBeRetrieved(), and ilTermsOfServiceAcceptanceHistoryProviderTest\testRetrievingListThrowsExceptionsWhenInvalidArgumentsArePassed().
League::OAuth2::Client::Provider\$redirectUri = isset($_SERVER['HTTPS']) ? 'https://' : 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] |
Definition at line 28 of file get_oauth_token.php.
if (!isset( $_GET[ 'code'])) elseif (empty( $_GET[ 'state'])||( $_GET[ 'state'] !==$_SESSION[ 'oauth2state'])) League::OAuth2::Client::Provider\else |
Definition at line 151 of file get_oauth_token.php.