
Net::OAuth2::Client - client for OAuth2 access, deprecated interface

# This module provides the deprecated interface
my $client = Net::OAuth2::Client->new(
$client_id,
$client_secret,
site => $site
);
my $auth = $client->web_server(
redirect_path => "$site/auth/facebook/callback"
);
# interface since v0.50
my $client = Net::OAuth2::Profile::WebServer->new(
client_id => $client_id,
client_secret => $client_secret,
site => $site
redirect_uri => "$site/auth/facebook/callback"
);

This module is kept to translate the expired interface into the new interface.

This object collects all OPTIONS to be used when web_server() creates a profile.
The ID will be translated into OPTION client_id, and SECRET to client_secret.
Create a Net::OAuth2::Profile::Password object, based on all options passed with new(), overruled/extended by the OPTIONS passed here.
Create a Net::OAuth2::Profile::WebServer object, based on all options passed with new(), overruled/extended by the OPTIONS passed here.

This module is part of Net-OAuth2 distribution version 0.55, built on April 02, 2013. Website: http://perl.overmeer.net.

Copyrights 2013 on the perl code and the related documentation by [Mark Overmeer] for SURFnet bv, The Netherlands. For other contributors see Changes.
Copyrights 2011-12 by Keith Grennan.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html