API - XOOPS 2.5.11 Beta 2
By monxoops.fr
get_oauth_token.php File Reference

Data Structures

class  Google
 

Namespaces

namespace  League\OAuth2\Client\Provider
 

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