blib/lib/Mojo/JWT.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 15 | 53.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
94 | 11 | 1 | 4 | @{$self->jwks;} and $header->{'kid'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
147 | 14 | 1 | 0 | 'Digest::SHA'->can("hmac_sha$size") || croak('Unsupported HS signing algorithm') |
154 | 2 | 0 | 0 | $self->secret || croak('private key (secret) not specified') |
155 | 2 | 0 | 0 | $crypt->can("use_sha${size}_hash") || croak('Unsupported RS signing algorithm') |
167 | 5 | 0 | 0 | $crypt->can("use_sha${size}_hash") || croak('Unsupported RS verification algorithm') |