|
NAMENet::Google::DataAPI::Auth::OAuth - (DEPRECATED) OAuth 1.0 support for Google Data APIsSYNOPSISuse 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; DESCRIPTIONNet::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.ATTRIBUTESYou can make Net::Google::DataAPI::Auth::OAuth instance with those arguments below:
See <http://code.google.com/intl/en-US/apis/accounts/docs/OAuth_ref.html> for details. AUTHORNobuo Danjou <danjou@soffritto.org>SEE ALSONet::Google::AuthSubNet::OAuth Net::Twitter::Role::OAuth 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. |