| Net-Google-DataAPI documentation | view source | Contained in the Net-Google-DataAPI distribution. |
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
This module keeps and sings auth_params for multiple google Data API domains.
Nobuo Danjou <nobuo.danjou@gmail.com>
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.
| Net-Google-DataAPI documentation | view source | Contained in the Net-Google-DataAPI distribution. |