| Net::OAuth2::Client(3pm) | User Contributed Perl Documentation | Net::OAuth2::Client(3pm) |
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.
The $id will be translated into OPTION "client_id", and $secret to "client_secret".
Copyrights 2013-2019 on the perl code and the related
documentation
by [Mark Overmeer <markov@cpan.org>] for SURFnet bv, The Netherlands.
For other contributors see "Changes".
Copyrights 2011-2012 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://dev.perl.org/licenses/
| 2021-10-15 | perl v5.32.1 |