line |
true |
false |
branch |
18
|
0 |
4 |
$header_credentials->{'client_id'} ? : |
20
|
1 |
3 |
unless my $refresh_token = $req->param('refresh_token') |
25
|
1 |
2 |
unless my $auth_info = $dh->get_auth_info_by_refresh_token($refresh_token) |
27
|
0 |
2 |
unless $auth_info and $auth_info->isa('OAuth::Lite2::Model::AuthInfo') |
31
|
1 |
1 |
unless $auth_info->client_id eq $client_id |
37
|
0 |
1 |
unless $access_token and $access_token->isa('OAuth::Lite2::Model::AccessToken') |
45
|
1 |
0 |
if $access_token->expires_in |
47
|
1 |
0 |
if $auth_info->refresh_token |
49
|
1 |
0 |
if $auth_info->scope |