ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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.
Referenced by ILIAS\Data\Factory\clientId(), ilInitialisation\determineClient(), ilUtil\getClientIdByString(), ILIAS\Filesystem\Util\LegacyPathHelperTest\setUp(), ClientIdTest\tesInvalidArguments(), and ClientIdTest\testValidArguments().
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(), ilStartUpGUI\doApacheAuthentication(), ilStartUpGUI\doCasAuthentication(), ilStartUpGUI\doLTIAuthentication(), ilStartUpGUI\doMigration(), ilStartUpGUI\doMigrationNewAccount(), ilStartUpGUI\doSamlAuthentication(), ilStartUpGUI\doShibbolethAuthentication(), ilClassificationBlockGUI\fillDataSection(), ilClassificationBlockGUI\filterContainer(), ilMembershipGUI\filterUserIdsByRbacOrPositionOfCurrentUser(), ilBadgeHandler\getAvailableTypes(), ilBadgeTypesTableGUI\getItems(), ilAuthProviderFactory\getProviderByAuthMode(), ilAuthProviderFactory\getProviders(), PHPMailerOAuthGoogle\getToken(), ilBadgeHandler\getTypeInstanceByUniqueId(), ilClassificationBlockGUI\initProviders(), ilAuthFrontend\migrateAccount(), ilAuthFrontend\migrateAccountNew(), ilObjTermsOfServiceGUI\saveSettings(), ilMailAutoCompleteSearch\search(), ilForumCronNotification\sendCronForumNotification(), ilObjTermsOfServiceGUI\showMissingDocuments(), ilMailMemberSearchGUI\showSelectableUsers(), ilTermsOfServiceAgreementsByLanguageTableDataProviderTest\testAgreementByLanguageProviderCanBeCreatedByFactory(), ilTermsOfServiceAcceptanceHistoryProviderTest\testHistoryProviderCanBeCreatedByFactory(), ilTermsOfServiceAcceptanceHistoryProviderTest\testListCanBeRetrieved(), ilTermsOfServiceAcceptanceHistoryProviderTest\testRetrievingListThrowsExceptionsWhenInvalidArgumentsArePassed(), and SAML2\AuthnRequest\toUnsignedXML().
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.