blib/lib/Net/OpenID/Connect/IDToken.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 19 | 20 | 95.0 |
line | true | false | branch |
---|---|---|---|
43 | 4 | 5 | if (my $token = $opts->{'token'}) |
46 | 4 | 5 | if (my $code = $opts->{'code'}) |
58 | 1 | 15 | unless ($sha) |
72 | 6 | 5 | if ($key) { } |
76 | 3 | 2 | if ($tokens and $tokens->{'token'}) |
79 | 3 | 0 | if ($tokens and $tokens->{'code'}) |
94 | 1 | 2 | unless ($at_hash) |
101 | 1 | 1 | if ($at_hash ne $expected_hash) |
111 | 1 | 2 | unless ($c_hash) |
118 | 1 | 1 | if ($c_hash ne $expected_hash) |