diff options
author | BlueRaja <BlueRaja.admin@gmail.com> | 2013-06-02 10:37:15 -0500 |
---|---|---|
committer | BlueRaja <BlueRaja.admin@gmail.com> | 2013-06-02 10:37:15 -0500 |
commit | 3345b13c73e76d2f03a85209d205adb9af49fc6b (patch) | |
tree | ce1848b29c9a98577ad2ec56024a569dd179456a /includes/OAuth/.svn/pristine/23 | |
parent | 951330c9f83c8c8ee98f65fdccb5797e2e59d1f3 (diff) | |
download | pathery-3345b13c73e76d2f03a85209d205adb9af49fc6b.tar.xz |
Updated login form with a few new providers
Diffstat (limited to 'includes/OAuth/.svn/pristine/23')
-rw-r--r-- | includes/OAuth/.svn/pristine/23/23fb593a952ddf0685750f39140ccb05841a84b5.svn-base | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/includes/OAuth/.svn/pristine/23/23fb593a952ddf0685750f39140ccb05841a84b5.svn-base b/includes/OAuth/.svn/pristine/23/23fb593a952ddf0685750f39140ccb05841a84b5.svn-base deleted file mode 100644 index 6d144b4..0000000 --- a/includes/OAuth/.svn/pristine/23/23fb593a952ddf0685750f39140ccb05841a84b5.svn-base +++ /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 |