| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# |
|
2
|
|
|
|
|
|
|
# This file is part of BLAH |
|
3
|
|
|
|
|
|
|
# |
|
4
|
|
|
|
|
|
|
# This software is Copyright (c) 2015 by Chris Weyl. |
|
5
|
|
|
|
|
|
|
# |
|
6
|
|
|
|
|
|
|
# This is free software, licensed under: |
|
7
|
|
|
|
|
|
|
# |
|
8
|
|
|
|
|
|
|
# The GNU Lesser General Public License, Version 2.1, February 1999 |
|
9
|
|
|
|
|
|
|
# |
|
10
|
|
|
|
|
|
|
package BLAH::Role::Authentication; |
|
11
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:RSRCHBOY'; |
|
12
|
|
|
|
|
|
|
$BLAH::Role::Authentication::VERSION = '0.001'; # TRIAL |
|
13
|
|
|
|
|
|
|
# ABSTRACT: BLAH base authentication role |
|
14
|
|
|
|
|
|
|
|
|
15
|
2
|
|
|
2
|
|
345107
|
use Moose::Role; |
|
|
2
|
|
|
|
|
164919
|
|
|
|
2
|
|
|
|
|
14
|
|
|
16
|
2
|
|
|
2
|
|
12152
|
use namespace::autoclean 0.24; |
|
|
2
|
|
|
|
|
7698
|
|
|
|
2
|
|
|
|
|
13
|
|
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
requires 'authenticated'; |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
!!42; |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
__END__ |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=pod |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=encoding UTF-8 |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=for :stopwords Chris Weyl |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=for :stopwords Wishlist flattr flattr'ed gittip gittip'ed |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 NAME |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
BLAH::Role::Authentication - BLAH base authentication role |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 VERSION |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This document describes version 0.001 of BLAH::Role::Authentication - released August 26, 2015 as part of BLAH. |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 REQUIRED METHODS |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head2 authenticated |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Returns true if authentication has been performed successfully; false if not. |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
What this means, exactly, is left to the implementer -- or more likely to more |
|
52
|
|
|
|
|
|
|
concrete authentication roles. |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Please see those modules/websites for more information related to this module. |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=over 4 |
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=item * |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
L<BLAH|BLAH> |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=item * |
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
L<BLAH|BLAH> |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=back |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head1 BUGS |
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
Please report any bugs or feature requests on the bugtracker website |
|
73
|
|
|
|
|
|
|
https://github.com/RsrchBoy/blah/issues |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
When submitting a bug or request, please include a test-file or a |
|
76
|
|
|
|
|
|
|
patch to an existing test-file that illustrates the bug or desired |
|
77
|
|
|
|
|
|
|
feature. |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head1 AUTHOR |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
Chris Weyl <cweyl@alumni.drew.edu> |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head2 I'm a material boy in a material world |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=begin html |
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
<a href="https://gratipay.com/RsrchBoy/"><img src="http://img.shields.io/gratipay/RsrchBoy.svg" /></a> |
|
88
|
|
|
|
|
|
|
<a href="http://bit.ly/rsrchboys-wishlist"><img src="http://wps.io/wp-content/uploads/2014/05/amazon_wishlist.resized.png" /></a> |
|
89
|
|
|
|
|
|
|
<a href="https://flattr.com/submit/auto?user_id=RsrchBoy&url=https%3A%2F%2Fgithub.com%2FRsrchBoy%2Fblah&title=RsrchBoy's%20CPAN%20BLAH&tags=%22RsrchBoy's%20BLAH%20in%20the%20CPAN%22"><img src="http://api.flattr.com/button/flattr-badge-large.png" /></a> |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=end html |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
Please note B<I do not expect to be gittip'ed or flattr'ed for this work>, |
|
94
|
|
|
|
|
|
|
rather B<it is simply a very pleasant surprise>. I largely create and release |
|
95
|
|
|
|
|
|
|
works like this because I need them or I find it enjoyable; however, don't let |
|
96
|
|
|
|
|
|
|
that stop you if you feel like it ;) |
|
97
|
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
L<Flattr|https://flattr.com/submit/auto?user_id=RsrchBoy&url=https%3A%2F%2Fgithub.com%2FRsrchBoy%2Fblah&title=RsrchBoy's%20CPAN%20BLAH&tags=%22RsrchBoy's%20BLAH%20in%20the%20CPAN%22>, |
|
99
|
|
|
|
|
|
|
L<Gratipay|https://gratipay.com/RsrchBoy/>, or indulge my |
|
100
|
|
|
|
|
|
|
L<Amazon Wishlist|http://bit.ly/rsrchboys-wishlist>... If and *only* if you so desire. |
|
101
|
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
103
|
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
This software is Copyright (c) 2015 by Chris Weyl. |
|
105
|
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
This is free software, licensed under: |
|
107
|
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
The GNU Lesser General Public License, Version 2.1, February 1999 |
|
109
|
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=cut |