line |
true |
false |
branch |
21
|
9 |
1 |
unless $self->psgix_claims |
22
|
9 |
1 |
unless $self->psgix_token |
24
|
8 |
2 |
unless defined $self->token_header_name |
26
|
1 |
9 |
unless $self->token_header_name |
27
|
8 |
2 |
unless defined $self->token_query_name |
28
|
1 |
9 |
unless $self->token_query_name |
29
|
6 |
4 |
unless defined $self->token_required |
30
|
9 |
1 |
unless defined $self->ignore_invalid_token |
33
|
5 |
5 |
if (my $cb = $self->decode_callback) { } |
|
5 |
0 |
elsif (my $args = $self->decode_args) { } |
34
|
0 |
5 |
unless ref $cb eq "CODE" |
40
|
4 |
1 |
unless exists $args->{'verify_exp'} |
41
|
5 |
0 |
unless exists $args->{'leeway'} |
55
|
16 |
15 |
if ($self->token_header_name and $env->{'HTTP_AUTHORIZATION'}) { } |
|
13 |
2 |
elsif (my $name = $self->token_query_name) { } |
58
|
16 |
0 |
if $auth =~ /^\s*$name\s+(.+)/i |
65
|
8 |
23 |
unless ($token) |
66
|
6 |
2 |
if $self->token_required |
73
|
8 |
15 |
if (my $cb = $self->decode_callback) { } |
80
|
10 |
13 |
if ($@ or not $claims) { } |
82
|
1 |
9 |
if ($self->ignore_invalid_token) { } |
105
|
1 |
14 |
if ($env->{'HTTP_ACCEPT'} and $env->{'HTTP_ACCEPT'} =~ m[application/json]i) { } |
106
|
1 |
0 |
$body =~ /exp claim check failed/ ? : |