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
Net::Google::DataAPI::Auth::ClientLogin::Multiple(3) User Contributed Perl Documentation Net::Google::DataAPI::Auth::ClientLogin::Multiple(3)
 

Net::Google::DataAPI::Auth::ClientLogin::Multiple - keeps and sings auth_params for multiple Google Data API domains

  use Net::Google::DataAPI::Auth::ClientLogin::Multiple;
  my $auth = Net::Google::DataAPI::Auth::ClientLogin::Multiple->new(
    username => 'foo.bar@gmail.com',
    password => 'p4ssw0rd',
    services => {
        'docs.google.com' => 'writely',
        'spreadsheets.google.com' => 'wise',
    }
  );
  my $req = HTTP::Request->new(
    'GET' => 'https://docs.google.com/feeds/default/private/full'
  );
  $auth->sign_request($req);
  # sets $req Authorization header
  $auth->sign_request($req, 'spreadsheets.google.com');
  # set authorization header for 'spreadsheets.google.com', not for 'docs.google.com'.

This module keeps and sings auth_params for multiple google Data API domains.

Nobuo Danjou <danjou@soffritto.org>

Net::Google::AuthSub
Net::Google::DataAPI
<http://code.google.com/intl/en/apis/accounts/docs/AuthForInstalledApps.html>
<http://code.google.com/intl/en/apis/gdata/faq.html#clientlogin>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2012-04-06 perl v5.28.1

Search for    or go to Top of page |  Section 3 |  Main Index

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