Net-OAuth-Simple
view release on metacpan or search on metacpan
http://annocpan.org/dist/Net-OAuth-Simple
CPAN Ratings
http://cpanratings.perl.org/d/Net-OAuth-Simple
Search CPAN
http://search.cpan.org/dist/Net-OAuth-Simple/
EXAMPLES
There are example Twitter and Twitter xAuth 'desktop' apps and a FireEagle OAuth 1.0a web app in the examples directory.
COPYRIGHT AND LICENCE
Copyright (C) 2009 Simon Wistow
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
lib/Net/OAuth/Simple.pm view on Meta::CPAN
into the constructor then all methods will return undef on error instead.
The error message is accessible via the C<last_error()> method.
=head1 GOOGLE'S SCOPE PARAMETER
Google's OAuth API requires the non-standard C<scope> parameter to be set
in C<request_token_url>, and you also explicitly need to pass an C<oauth_callback>
to C<get_authorization_url()> method, so that you can direct the user to your site
if you're authenticating users in Web Application mode. Otherwise Google will let
user grant acesss as a desktop app mode and doesn't redirect users back.
Here's an example class that uses Google's Portable Contacts API via OAuth:
package Net::AppUsingGoogleOAuth;
use strict;
use base qw(Net::OAuth::Simple);
sub new {
my $class = shift;
my %tokens = @_;
lib/Net/OAuth/Simple.pm view on Meta::CPAN
See L<http://code.google.com/apis/accounts/docs/OAuth.html> and other
services API documentation for the possible list of I<scope> parameter value.
=head1 RANDOMNESS
If C<Math::Random::MT> is installed then any nonces generated will use a
Mersenne Twiser instead of Perl's built in randomness function.
=head1 EXAMPLES
There are example Twitter and Twitter xAuth 'desktop' apps and a FireEagle OAuth 1.0a web app
in the examples directory of the distribution.
=head1 BUGS
Non known
=head1 DEVELOPERS
The latest code for this module can be found at
( run in 0.576 second using v1.01-cache-2.11-cpan-299005ec8e3 )