blib/lib/Plack/Middleware/Auth/AccessToken.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 10 | 80.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
23 | 1 | 1 | 0 | ref $self->reject_http and ref $self->reject_http ne 'CODE' |
41 | 3 | 3 | 1 | $self->reject_http and $$env{'psgi.url_scheme'} eq 'http' |
line | l | !l | condition |
---|---|---|---|
17 | 2 | 0 | ref $self->authenticator || '' |
55 | 3 | 2 | shift() || 'Authorization required' |