blib/lib/Web/Authenticate/Authenticator/Redirect/Role.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use strict;
2 package Web::Authenticate::Authenticator::Redirect::Role;
3 $Web::Authenticate::Authenticator::Redirect::Role::VERSION = '0.004';
4 use Mouse::Role;
5 #ABSTRACT: A Mouse::Role that defines what methods a Web::Authenticate::Authenticator::Redirect object should contain.
6  
7  
8 requires 'authenticator';
9  
10  
11 requires 'url';
12  
13 1;
14  
15 __END__
16  
17 =pod
18  
19 =encoding UTF-8
20  
21 =head1 NAME
22  
23 Web::Authenticate::Authenticator::Redirect::Role - A Mouse::Role that defines what methods a Web::Authenticate::Authenticator::Redirect object should contain.
24  
25 =head1 VERSION
26  
27 version 0.004
28  
29 =head1 METHODS
30  
31 =head2 authenticate
32  
33 Returns the L<Web::Authenticate::Authenticator::Role> associated with this L<Web::Authenticate::Authenticator::Redirect::Role>.
34  
35 my $authenticator = $auth_redirect->authenticator;
36  
37 =head2 url
38  
39 Returns the url to redirect to if L</authenticator> returns true.
40  
41 =head1 AUTHOR
42  
43 Adam Hopkins <srchulo@cpan.org>
44  
45 =head1 COPYRIGHT AND LICENSE
46  
47 This software is copyright (c) 2017 by Adam Hopkins.
48  
49 This is free software; you can redistribute it and/or modify it under
50 the same terms as the Perl 5 programming language system itself.
51  
52 =cut