LWP::Authen::OAuth2::ServiceProvider::Wikimedia - Access Wikimedia using OAuth2.
use LWP::Authen::OAuth2; my $obj = LWP::Authen::OAuth2->new( client_id => '__CLIENT_ID__', client_secret => '__CLIENT_SECRET__', service_provider => 'Wikimedia', %{$other_parameters}, );
See https://www.mediawiki.org/wiki/Extension:OAuth for MediaWiki extension documentation.
See https://www.mediawiki.org/wiki/OAuth/For_Developers page which is for developers.
Before you can use OAuth 2 with Wikimedia you need to register yourself as an app. For that, go to https://meta.wikimedia.org/wiki/Special:OAuthConsumerRegistration/propose registration page.
LWP::Authen::OAuth2::ServiceProvider::MediaWiki.
Make requests to OAuth2 APIs.
https://github.com/michal-josef-spacek/LWP-Authen-OAuth2-ServiceProvider-MediaWiki
Michal Josef Špaček mailto:skim@cpan.org
http://skim.cz
© Michal Josef Špaček 2022
BSD 2-Clause License
0.01
To install LWP::Authen::OAuth2::ServiceProvider::Wikimedia, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LWP::Authen::OAuth2::ServiceProvider::Wikimedia
CPAN shell
perl -MCPAN -e shell install LWP::Authen::OAuth2::ServiceProvider::Wikimedia
For more information on module installation, please visit the detailed CPAN module installation guide.