File Coverage

blib/lib/LWP/Authen/OAuth2/ServiceProvider/Wikimedia.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 2 2 100.0
total 18 18 100.0


line stmt bran cond sub pod time code
1             package LWP::Authen::OAuth2::ServiceProvider::Wikimedia;
2              
3 3     3   63129 use base qw(LWP::Authen::OAuth2::ServiceProvider::MediaWiki);
  3         11  
  3         1268  
4 3     3   76891 use strict;
  3         7  
  3         53  
5 3     3   12 use warnings;
  3         6  
  3         190  
6              
7             our $VERSION = '0.01';
8              
9             sub authorization_endpoint {
10 2     2 1 29 return 'https://meta.wikimedia.org/w/rest.php/oauth2/authorize';
11             }
12              
13             sub token_endpoint {
14 2     2 1 1017 return 'https://meta.wikimedia.org/w/rest.php/oauth2/access_token';
15             }
16              
17             1;
18              
19             __END__