OAuth-Consumer
view release on metacpan or search on metacpan
access on its behalf ressources on a server without giving its password
to the application. To achieve this aim OAuth have a fairly complicated
3-steps authentication mechanism which require to user to go to a
website to authenticate itself. The authentication response is then
sent-back by the user itself through a callback mechanism.
OAuth::Consumer hide away to complexity of this process, including the
set-up of a callback webserver which can be called by the user browser
when its authentication is performed.
This library is oriented toward desktop application, it could possibly
be used in a web application but I have not tried it (and the LWP setup
may not be the most appropiate in this case).
Authenticating your application with OAuth to access some user's
ressources is a matter of requesting and authorising a *token*. This can
be done with the following steps:
use OAuth::Consumer;
my $ua = OAuth::Consumer->new(
lib/OAuth/Consumer.pm view on Meta::CPAN
OAuth is a protocol to allow a user to authorize an application to access on its
behalf ressources on a server without giving its password to the application. To
achieve this aim OAuth have a fairly complicated 3-steps authentication mechanism
which require to user to go to a website to authenticate itself. The authentication
response is then sent-back by the user itself through a callback mechanism.
OAuth::Consumer hide away to complexity of this process, including the set-up of
a callback webserver which can be called by the user browser when its
authentication is performed.
This library is oriented toward desktop application, it could possibly be used
in a web application but I have not tried it (and the LWP setup may not be the
most appropiate in this case).
Authenticating your application with OAuth to access some user's ressources is
a matter of requesting and authorising a I<token>. This can be done with the
following steps:
use OAuth::Consumer;
my $ua = OAuth::Consumer->new(
( run in 0.447 second using v1.01-cache-2.11-cpan-299005ec8e3 )