blib/lib/OAuth/Lite2/Server/GrantHandler/ClientCredentials.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 12 | 58.3 |
line | true | false | branch |
---|---|---|---|
19 | 1 | 2 | unless defined $user_id |
28 | 0 | 2 | unless $auth_info and $auth_info->isa('OAuth::Lite2::Model::AuthInfo') |
35 | 0 | 2 | unless $access_token and $access_token->isa('OAuth::Lite2::Model::AccessToken') |
43 | 2 | 0 | if $access_token->expires_in |
45 | 2 | 0 | if $auth_info->refresh_token |
47 | 0 | 2 | if $auth_info->scope |