line |
true |
false |
branch |
63
|
2 |
3 |
if $providers->{'mocked'}{'key'} |
85
|
1 |
7 |
if exists $args->{'host'} |
87
|
6 |
2 |
if defined $args->{'scope'} |
88
|
1 |
7 |
if defined $args->{'state'} |
89
|
4 |
4 |
if exists $args->{'authorize_query'} |
95
|
14 |
12 |
@_ % 2 ? : |
97
|
1 |
25 |
unless $self->providers->{$args->{'provider'}} |
117
|
1 |
2 |
if $err |
129
|
0 |
2 |
if exists $args->{'host'} |
139
|
2 |
13 |
if $err |
142
|
7 |
6 |
unless ($c->param("code")) |
143
|
6 |
1 |
if $args->{'redirect'} // 1 |
157
|
3 |
3 |
if $c->param("state") |
160
|
0 |
6 |
if exists $args->{'host'} |
168
|
0 |
3 |
unless my $jwt = $self->providers->{$args->{'provider'}}{'jwt'} |
188
|
0 |
8 |
if $code ne 200 |
189
|
5 |
3 |
$tx->res->headers->content_type =~ m[^(application/json|text/javascript)(;\s*charset=\S+)?$]u ? : |
199
|
46 |
1 |
unless $provider->{'well_known_url'} |