lib/Plack/Middleware/OAuth/Facebook.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 7 | 85.7 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 3 | 66.6 |
pod | 0 | 1 | 0.0 |
total | 8 | 11 | 72.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Plack::Middleware::OAuth::Facebook; | ||||||
2 | 1 | 1 | 903 | use warnings; | |||
1 | 2 | ||||||
1 | 26 | ||||||
3 | 1 | 1 | 4 | use strict; | |||
1 | 2 | ||||||
1 | 52 | ||||||
4 | |||||||
5 | sub config { +{ | ||||||
6 | 0 | 0 | 0 | version => 2, | |||
7 | authorize_url => 'https://www.facebook.com/dialog/oauth', | ||||||
8 | access_token_url => 'https://graph.facebook.com/oauth/access_token', | ||||||
9 | scope => 'email', | ||||||
10 | } } | ||||||
11 | |||||||
12 | 1; |