ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
get_oauth_token.php File Reference

Go to the source code of this file.

Data Structures

class  League\OAuth2\Client\Provider\Google
 

Namespaces

 League\OAuth2\Client\Provider
 Get an OAuth2 token from Google.
 

Variables

 League\OAuth2\Client\Provider::$redirectUri = isset($_SERVER['HTTPS']) ? 'https://' : 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']
 
 League\OAuth2\Client\Provider::$clientId = 'RANDOMCHARS-----duv1n2.apps.googleusercontent.com'
 
 League\OAuth2\Client\Provider::$clientSecret = 'RANDOMCHARS-----lGyjPcRtvP'
 
 League\OAuth2\Client\Provider::$provider
 
if(!isset($_GET['code'])) elseif(empty($_GET['state'])||($_GET['state'] !==$_SESSION['oauth2state'])) League\OAuth2\Client\Provider::else