Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/updraftp.../includes/Google/Auth
File: Abstract.php
<?php
[0] Fix | Delete
/*
[1] Fix | Delete
* Copyright 2010 Google Inc.
[2] Fix | Delete
*
[3] Fix | Delete
* Licensed under the Apache License, Version 2.0 (the "License");
[4] Fix | Delete
* you may not use this file except in compliance with the License.
[5] Fix | Delete
* You may obtain a copy of the License at
[6] Fix | Delete
*
[7] Fix | Delete
* http://www.apache.org/licenses/LICENSE-2.0
[8] Fix | Delete
*
[9] Fix | Delete
* Unless required by applicable law or agreed to in writing, software
[10] Fix | Delete
* distributed under the License is distributed on an "AS IS" BASIS,
[11] Fix | Delete
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
[12] Fix | Delete
* See the License for the specific language governing permissions and
[13] Fix | Delete
* limitations under the License.
[14] Fix | Delete
*/
[15] Fix | Delete
[16] Fix | Delete
if (!class_exists('UDP_Google_Client')) {
[17] Fix | Delete
require_once dirname(__FILE__) . '/../autoload.php';
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
/**
[21] Fix | Delete
* Abstract class for the Authentication in the API client
[22] Fix | Delete
* @author Chris Chabot <chabotc@google.com>
[23] Fix | Delete
*
[24] Fix | Delete
*/
[25] Fix | Delete
abstract class Google_Auth_Abstract
[26] Fix | Delete
{
[27] Fix | Delete
/**
[28] Fix | Delete
* An utility function that first calls $this->auth->sign($request) and then
[29] Fix | Delete
* executes makeRequest() on that signed request. Used for when a request
[30] Fix | Delete
* should be authenticated
[31] Fix | Delete
* @param Google_Http_Request $request
[32] Fix | Delete
* @return Google_Http_Request $request
[33] Fix | Delete
*/
[34] Fix | Delete
abstract public function authenticatedRequest(UDP_Google_Http_Request $request);
[35] Fix | Delete
abstract public function sign(UDP_Google_Http_Request $request);
[36] Fix | Delete
}
[37] Fix | Delete
[38] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function