lib/Net/OAuth2/Profile/WebServer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 17 | 29.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
54 | 0 | 0 | 1 | &blessed($uri_base) && $uri_base->isa('URI') |
line | l | !l | condition |
---|---|---|---|
29 | 0 | 2 | $args->{'grant_type'} ||= "authorization_code" |
34 | 0 | 2 | $args->{'auto_save'} || sub { my $token = shift(); $token->changed(1); } |
131 | 0 | 1 | $params->{'response_type'} ||= "code" |
151 | 0 | 0 | $params->{'grant_type'} ||= "refresh_token" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
136 | 0 | 0 | 0 | $params->{'redirect_uri'} ||= $r |
144 | 0 | 0 | 1 | $params->{'redirect_uri'} ||= $self->redirect_uri |