line |
true |
false |
branch |
18
|
0 |
10 |
$$header_credentials{'client_id'} ? : |
20
|
1 |
9 |
unless my $code = $req->param('code') |
25
|
1 |
8 |
unless my $redirect_uri = $req->param('redirect_uri') |
32
|
1 |
7 |
unless my $auth_info = $dh->get_auth_info_by_code($code) |
35
|
0 |
7 |
unless $auth_info and $auth_info->isa('OAuth::Lite2::Model::AuthInfo') |
39
|
1 |
6 |
unless $auth_info->client_id eq $client_id |
42
|
1 |
5 |
unless $auth_info->redirect_uri and $auth_info->redirect_uri eq $redirect_uri |
46
|
3 |
2 |
if ($auth_info->server_state) { } |
47
|
2 |
1 |
unless $server_state and $server_state eq $auth_info->server_state |
50
|
1 |
1 |
if $server_state |
56
|
0 |
2 |
unless $access_token and $access_token->isa('OAuth::Lite2::Model::AccessToken') |
65
|
2 |
0 |
if $access_token->expires_in |
67
|
2 |
0 |
if $auth_info->refresh_token |
69
|
2 |
0 |
if $auth_info->scope |