Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
2 changes: 1 addition & 1 deletion examples/adexchangebuyer/BaseExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Include the Ad Exchange Buyer service class and the HTML generation
* functions.
*/
require_once "../../src/contrib/apiAdexchangebuyerService.php";
require_once "../../src/Contrib/apiAdexchangebuyerService.php";
require_once "htmlHelper.php";

/**
Expand Down
2 changes: 1 addition & 1 deletion examples/adexchangebuyer/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

require_once "../../src/apiClient.php";
require_once "../../src/contrib/apiAdexchangebuyerService.php";
require_once "../../src/Contrib/apiAdexchangebuyerService.php";
require_once "htmlHelper.php";

session_start();
Expand Down
2 changes: 1 addition & 1 deletion examples/adsense/AdSenseAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* Include the library files for the api client and AdSense service class.
*/
require_once "../../src/apiClient.php";
require_once "../../src/contrib/apiAdsenseService.php";
require_once "../../src/Contrib/apiAdsenseService.php";

/**
* Handles authentication and OAuth token storing.
Expand Down
2 changes: 1 addition & 1 deletion examples/adsense/BaseExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* Include the AdSense service class and the HTML generation functions.
*/
require_once "../../src/contrib/apiAdsenseService.php";
require_once "../../src/Contrib/apiAdsenseService.php";
require_once "htmlHelper.php";

/**
Expand Down
2 changes: 1 addition & 1 deletion examples/adsensehost/AdSenseAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* Include the library files for the api client and AdSense service class.
*/
require_once "../../src/apiClient.php";
require_once "../../src/contrib/apiAdsensehostService.php";
require_once "../../src/Contrib/apiAdsensehostService.php";

/**
* Handles authentication and OAuth token storing.
Expand Down
2 changes: 1 addition & 1 deletion examples/adsensehost/BaseExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Include the libraries file for the AdSense service class and the HTML
* generation functions.
*/
require_once "../../src/contrib/apiAdsensehostService.php";
require_once "../../src/Contrib/apiAdsensehostService.php";
require_once "htmlHelper.php";

/**
Expand Down
2 changes: 1 addition & 1 deletion examples/affiliateNetwork/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/
require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiGanService.php';
require_once '../../src/Contrib/apiGanService.php';

session_start();

Expand Down
2 changes: 1 addition & 1 deletion examples/analytics/simple.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiAnalyticsService.php';
require_once '../../src/Contrib/AnalyticsService.php';
session_start();

$client = new apiClient();
Expand Down
2 changes: 1 addition & 1 deletion examples/apps/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/
require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiGanService.php';
require_once '../../src/Contrib/apiGanService.php';

session_start();

Expand Down
2 changes: 1 addition & 1 deletion examples/batch.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

require_once '../src/apiClient.php';
require_once '../src/contrib/apiPlusService.php';
require_once '../src/Contrib/apiPlusService.php';
session_start();

$client = new apiClient();
Expand Down
2 changes: 1 addition & 1 deletion examples/books/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
session_start();

require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiBooksService.php';
require_once '../../src/Contrib/apiBooksService.php';

// Include the boilerplate markup.
include 'interface.html';
Expand Down
2 changes: 1 addition & 1 deletion examples/books/simple.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiBooksService.php';
require_once '../../src/Contrib/apiBooksService.php';

$client = new apiClient();
$client->setApplicationName("My_Books_API_Example");
Expand Down
2 changes: 1 addition & 1 deletion examples/calendar/simple.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiCalendarService.php';
require_once '../../src/Contrib/apiCalendarService.php';
session_start();

$client = new apiClient();
Expand Down
2 changes: 1 addition & 1 deletion examples/customSearch/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/
require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiCustomsearchService.php';
require_once '../../src/Contrib/apiCustomsearchService.php';
session_start();

$client = new apiClient();
Expand Down
2 changes: 1 addition & 1 deletion examples/latitude/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
session_start();

require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiLatitudeService.php';
require_once '../../src/Contrib/apiLatitudeService.php';

$client = new apiClient();
// Visit https://code.google.com/apis/console to generate your
Expand Down
2 changes: 1 addition & 1 deletion examples/pagespeed/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
session_start();
require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiPagespeedonlineService.php';
require_once '../../src/Contrib/apiPagespeedonlineService.php';

$client = new apiClient();
$client->setApplicationName("PageSpeedOnline_Example_App");
Expand Down
2 changes: 1 addition & 1 deletion examples/plus/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/
require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiPlusService.php';
require_once '../../src/Contrib/apiPlusService.php';

session_start();

Expand Down
2 changes: 1 addition & 1 deletion examples/plus/simple.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiPlusService.php';
require_once '../../src/Contrib/apiPlusService.php';
session_start();

$client = new apiClient();
Expand Down
2 changes: 1 addition & 1 deletion examples/prediction/serviceAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiPredictionService.php';
require_once '../../src/Contrib/apiPredictionService.php';

// Set your client id, service account name, and the path to your private key.
// For more information about obtaining these keys, visit:
Expand Down
2 changes: 1 addition & 1 deletion examples/shopping/simple.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiShoppingService.php';
require_once '../../src/Contrib/apiShoppingService.php';

$client = new apiClient();
$client->setApplicationName("Google Shopping PHP Starter Application");
Expand Down
2 changes: 1 addition & 1 deletion examples/siteVerification/simple.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiSiteVerificationService.php';
require_once '../../src/Contrib/apiSiteVerificationService.php';
session_start();

$client = new apiClient();
Expand Down
2 changes: 1 addition & 1 deletion examples/tasks/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
session_start();
require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiTasksService.php';
require_once '../../src/Contrib/apiTasksService.php';

$client = new apiClient();
// Visit https://code.google.com/apis/console to generate your
Expand Down
2 changes: 1 addition & 1 deletion examples/translate/simple.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiTranslateService.php';
require_once '../../src/Contrib/apiTranslateService.php';

$client = new apiClient();
$client->setApplicationName('Google Translate PHP Starter Application');
Expand Down
2 changes: 1 addition & 1 deletion examples/urlshortener/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
session_start();

require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiUrlshortenerService.php';
require_once '../../src/Contrib/apiUrlshortenerService.php';

// Visit https://code.google.com/apis/console to
// generate your client id, client secret, and redirect uri.
Expand Down
2 changes: 1 addition & 1 deletion examples/userinfo/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/
require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiOauth2Service.php';
require_once '../../src/Contrib/apiOauth2Service.php';
session_start();

$client = new apiClient();
Expand Down
2 changes: 1 addition & 1 deletion examples/webfonts/simple.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiWebfontsService.php';
require_once '../../src/Contrib/apiWebfontsService.php';

$client = new apiClient();
$client->setApplicationName("Google WebFonts PHP Starter Application");
Expand Down
2 changes: 1 addition & 1 deletion src/GoogleApi/Auth/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @author Chris Chabot <chabotc@google.com>
*
*/
abstract class apiAuth {
abstract class Auth {
abstract public function authenticate($service);
abstract public function sign(HttpRequest $request);
abstract public function createAuthUrl($scope);
Expand Down
1 change: 1 addition & 0 deletions src/GoogleApi/Auth/OAuth2.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use GoogleApi\Client;
use GoogleApi\Io\HttpRequest;
use GoogleApi\Service\Utils;
use GoogleApi\Auth\Auth;

/**
* Authentication class that deals with the OAuth 2 web-server authentication flow
Expand Down
Loading