GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::GOOGLE::DATAAPI::AUTH::OAUTH (3)

.ds Aq ’

NAME

Net::Google::DataAPI::Auth::OAuth - (DEPRECATED) OAuth 1.0 support for Google Data APIs

CONTENTS

SYNOPSIS



  use Net::Google::DataAPI::Auth::OAuth;

  my $auth = Net::Google::DataAPI::Auth::OAuth->new(
    consumer_key => consumer.example.com,
    consumer_secret => mys3cr3t,
    scope => [http://spreadsheets.google.com/feeds/],
  );
  my $url = $auth->get_authorize_token_url;

  # show the user $url and get $verifier

  $auth->get_access_token({verifier => $verifier}) or die;
  my $token = $auth->access_token;
  my $secret = $auth->access_token_secret;



DESCRIPTION

Net::Google::DataAPI::Auth::OAuth interacts with google OAuth service and adds Authorization header to given request.

DEPRECATED!

OAuth1.0 protocol is deprecated. Use Net::Google::DataAPI::Auth::OAuth2 instead.

ATTRIBUTES

You can make Net::Google::DataAPI::Auth::OAuth instance with those arguments below:
o consumer_key

Consumer key. You can get it at <https://www.google.com/accounts/ManageDomains>.

o consumer_secret

The consumer secret paired with the consumer key.

o scope

URL identifying the service(s) to be accessed. You can see the list of the urls to use at <http://code.google.com/intl/en-US/apis/gdata/faq.html#AuthScopes>.

o callback

OAuth callback url. ’oob’ will be used if you don’t specify it.

o signature_method

Signature method. The default is ’HMAC-SHA1’.

o authorize_token_hd

Set hosted domain account for hosted google apps users. Defaults to ’default’.

o authorize_token_hl

An ISO 639 country code to set authorize user interface language. Defaults to ’en’.

o mobile

A boolean value whether you use this auth with mobile or not. defaults to 0.

See <http://code.google.com/intl/en-US/apis/accounts/docs/OAuth_ref.html> for details.

AUTHOR

Nobuo Danjou <danjou@soffritto.org>

SEE ALSO

Net::Google::AuthSub

Net::OAuth

Net::Twitter::Role::OAuth

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::GOOGLE::DATAAPI::AUTH::OAUTH (3) 2012-04-29

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.