File Coverage

blib/lib/Mojolicious/Plugin/Web/Auth/Site/Facebook.pm
Criterion Covered Total %
statement 3 4 75.0
branch n/a
condition n/a
subroutine 1 2 50.0
pod 0 1 0.0
total 4 7 57.1


line stmt bran cond sub pod time code
1             package Mojolicious::Plugin::Web::Auth::Site::Facebook;
2              
3 1     1   949 use Mojo::Base qw/Mojolicious::Plugin::Web::Auth::OAuth2/;
  1         3  
  1         6  
4              
5             has user_info => 1;
6             has authorize_url => 'https://www.facebook.com/dialog/oauth';
7             has access_token_url => 'https://graph.facebook.com/oauth/access_token';
8             has user_info_url => 'https://graph.facebook.com/me';
9              
10 0     0 0   sub moniker {'facebook'};
11              
12             1;