|
NAMENet::Google::DataAPI::Auth::ClientLogin::Multiple - keeps and sings auth_params for multiple Google Data API domainsSYNOPSISuse 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'. DESCRIPTIONThis module keeps and sings auth_params for multiple google Data API domains.AUTHORNobuo Danjou <danjou@soffritto.org>SEE ALSONet::Google::AuthSubNet::Google::DataAPI <http://code.google.com/intl/en/apis/accounts/docs/AuthForInstalledApps.html> <http://code.google.com/intl/en/apis/gdata/faq.html#clientlogin> LICENSEThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |