ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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(), ilAuthFrontendHTTP\authenticate(), ilAuthFrontend\authenticate(), ilMembershipGUI\checkPermissionBool(), ilStartUpGUI\doApacheAuthentication(), ilStartUpGUI\doCasAuthentication(), ilStartUpGUI\doMigration(), ilStartUpGUI\doMigrationNewAccount(), ilStartUpGUI\doShibbolethAuthentication(), ilObjGroupGUI\executeCommand(), ilClassificationBlockGUI\fillDataSection(), ilClassificationBlockGUI\filterContainer(), ilBadgeHandler\getAvailableTypes(), ilBadgeTypesTableGUI\getItems(), ilAuthProviderFactory\getProviders(), ilForumCronNotification\getRefIdsByObjId(), PHPMailerOAuthGoogle\getToken(), ilBadgeHandler\getTypeInstanceByUniqueId(), ilClassificationBlockGUI\initProviders(), ilAuthFrontend\migrateAccount(), ilStartUpGUI\migrateAccount2(), ilAuthFrontend\migrateAccountNew(), ilObjTermsOfServiceGUI\saveSettings(), 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.