File Coverage

blib/lib/Mojolicious/Plugin/Web/Auth/Site/Github.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::Github;
2              
3 1     1   941 use Mojo::Base qw/Mojolicious::Plugin::Web::Auth::OAuth2/;
  1         2  
  1         6  
4              
5             has user_info => 1;
6             has authorize_url => 'https://github.com/login/oauth/authorize';
7             has access_token_url => 'https://github.com/login/oauth/access_token';
8             has user_info_url => 'https://api.github.com/user';
9              
10 0     0 0   sub moniker {'github'};
11              
12             1;