line |
true |
false |
branch |
28
|
0 |
30 |
unless my $parser = 'OAuth::Lite2::ParamMethods'->get_param_parser($req) |
35
|
0 |
30 |
unless $token |
41
|
6 |
24 |
unless $access_token |
44
|
0 |
24 |
unless $access_token->isa('OAuth::Lite2::Model::AccessToken') |
47
|
12 |
12 |
if ($is_legacy) { } |
48
|
3 |
9 |
unless $access_token->created_on + $access_token->expires_in > time |
51
|
3 |
9 |
unless $access_token->created_on + $access_token->expires_in > time |
57
|
0 |
18 |
unless $auth_info |
60
|
0 |
18 |
unless $auth_info->isa('OAuth::Lite2::Model::AuthInfo') |
63
|
6 |
12 |
unless $dh->validate_client_by_id($auth_info->client_id) |
66
|
6 |
6 |
unless $dh->validate_user_by_id($auth_info->user_id) |
71
|
6 |
0 |
if $auth_info->scope |
77
|
24 |
0 |
if ($_->isa('OAuth::Lite2::Server::Error')) { } |
81
|
24 |
0 |
if $self->{'realm'} |
83
|
3 |
21 |
if $_->description |
86
|
0 |
24 |
if $self->{'error_uri'} |
90
|
12 |
12 |
if ($is_legacy) { } |