| blib/lib/Plack/Middleware/Zitadel.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 16 | 68.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 43 | 13 | 1 | 1 | defined $self->audience and length $self->audience |
| 56 | 9 | 2 | 2 | @required and not $self->_has_required_scopes($claims, \@required) |
| 69 | 3 | 0 | 16 | defined $header_value and length $header_value |
| 76 | 0 | 0 | 15 | defined $token and length $token |
| line | l | !l | condition |
|---|---|---|---|
| 52 | 2 | 0 | $err || 'token verification failed' |
| 97 | 4 | 0 | $claims->{'scope'} // "" |