NAME
Google::Ads::AdWords::AuthTokenHandler
DESCRIPTION
A concrete implementation of Google::Ads::Common::AuthTokenHandler that defines the auth service name required to access AdWords API servers using ClientLogin, see https://developers.google.com/accounts/docs/AuthForInstalledApps for details of the protocol.
Refer to the base object Google::Ads::Common::AuthTokenHandler for a complete documentation of all the methods supported by this handler class.
METHODS
_service
Method defined by Google::Ads::AdWords::AuthTokenHandler and implemented in this class as a requirement for the ClientLogin protocol.
Returns
Returns the AdWords API service name used to generate the AuthToken.
prepare_request
Method defined by Google::Ads::AdWords::AuthTokenHandler and implemented in this class as a requirement for sending requests to the AdWords API.
Returns
A new HTTP:Request with the authToken header properly set with the authorization information.
LICENSE AND COPYRIGHT
Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
AUTHOR
David Torres <david.t at google.com>
REPOSITORY INFORMATION
$Rev: $
$LastChangedBy: $
$Id: $