NAME

Google::Ads::Common::OAuthApplicationsHandlerInterface

DESCRIPTION

Abstract interface for oauth flows that require user interaction.

Meant be implemented by concrete OAuth handlers that require user intervention for authorizing requests against the API.

METHODS

get_authorization_url

Meant to be implemented by a concrete class, which should return a valid URL for the user to authorize the access to the API.

Returns

The URL for the user to authorize access to his account. The user first must login in the account that want to grant access to.

issue_access_token

Method to upgrade/obtain an authorized access token.

Parameters

  • The verifier code returned to your callback page or printed out if using 'oob' special callback URL.

LICENSE AND COPYRIGHT

Copyright 2013 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.

REPOSITORY INFORMATION

$Rev: $
$LastChangedBy: $
$Id: $