blib/lib/Web/Authenticate/RequestUrlProvider/CgiRequestUrlProvider.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
url
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use strict;
2 package Web::Authenticate::RequestUrlProvider::CgiRequestUrlProvider;
3 $Web::Authenticate::RequestUrlProvider::CgiRequestUrlProvider::VERSION = '0.003';
4 use Mouse;
5 use CGI;
6 #ABSTRACT: The default implementation of Web::Authentication::RequestUrlProvider.
7  
8 with 'Web::Authenticate::RequestUrlProvider::Role';
9  
10  
11  
12 sub url { CGI->new->url(-full => 1, -query=>1, -rewrite => 1) }
13  
14 1;
15  
16 __END__
17  
18 =pod
19  
20 =encoding UTF-8
21  
22 =head1 NAME
23  
24 Web::Authenticate::RequestUrlProvider::CgiRequestUrlProvider - The default implementation of Web::Authentication::RequestUrlProvider.
25  
26 =head1 VERSION
27  
28 version 0.003
29  
30 =head1 SYNOPSIS
31  
32 my $url = $cgi_request_url_provider->url;
33  
34 =head1 DESCRIPTION
35  
36 This RequestUrlProvider uses L<CGI> to get the current url.
37  
38 =head1 METHODS
39  
40 =head2 url
41  
42 Returns the current url using the L<url|CGI> method from L<CGI> with full, query, and rewrite set to 1.
43  
44 =head1 AUTHOR
45  
46 Adam Hopkins <srchulo@cpan.org>
47  
48 =head1 COPYRIGHT AND LICENSE
49  
50 This software is copyright (c) 2017 by Adam Hopkins.
51  
52 This is free software; you can redistribute it and/or modify it under
53 the same terms as the Perl 5 programming language system itself.
54  
55 =cut