diff options
Diffstat (limited to 'includes/OAuth/Google.php')
-rw-r--r-- | includes/OAuth/Google.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/includes/OAuth/Google.php b/includes/OAuth/Google.php deleted file mode 100644 index 6d144b4..0000000 --- a/includes/OAuth/Google.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - -class Google extends Oauth { - - protected $_prefix = 'google'; - - protected $_authorize_url = 'https://accounts.google.com/o/oauth2/auth'; - protected $_access_token_url = 'https://accounts.google.com/o/oauth2/token'; - - protected function authorize(Array $scope = array(), $scope_seperator = '+'){ - parent::authorize($scope, $scope_seperator, '&response_type=code'); - } - - protected function requestAccessToken($method = 'POST', Array $params = array('grant_type' => 'authorization_code'), $returnType = 'json', Array $values = array('access_token', 'expires_in')){ - parent::requestAccessToken($method, $params, $returnType, $values); - } - -}
\ No newline at end of file |