| blib/lib/Plack/Auth/SSO/ORCID.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 0 | 26 | 0.0 |
| line | true | false | branch |
|---|---|---|---|
| 81 | 0 | 0 | $self->public ? : |
| 96 | 0 | 0 | if ($idx >= 0) |
| 137 | 0 | 0 | if ($self->log->is_debug) |
| 146 | 0 | 0 | if (is_hash_ref($auth_sso)) |
| 158 | 0 | 0 | if (is_string($code) and $self->csrf_token_valid($session, $state)) { } |
| 0 | 0 | elsif (is_string($code)) { } | |
| 169 | 0 | 0 | if (is_string($error)) |
| 171 | 0 | 0 | if $error eq '401' |
| 189 | 0 | 0 | unless ($res) |
| 194 | 0 | 0 | if (index($headers{'content-type'}, 'json') >= 0) { } |
| 202 | 0 | 0 | if $self->log->is_error |
| 204 | 0 | 0 | if $orcid_res->{'error'} eq '401' |
| 216 | 0 | 0 | if $self->log->is_error |