blib/lib/Jifty/Plugin/Authentication/CAS/Mixin/Model/User.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 24 CC 1 SCAR 6.9
CC
1
Cov
0%
has_alternative_auth
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Jifty::Plugin::Authentication::CAS::Mixin::Model::User;
2 use strict;
3 use warnings;
4 use Jifty::DBI::Schema;
5 use base 'Jifty::DBI::Record::Plugin';
6  
7 =head1 NAME
8  
9 Jifty::Plugin::Authentication::CAS::Mixin::Model::User - CAS mixin for User model
10  
11 =head1 DESCRIPTION
12  
13 L<Jifty::Plugin::Authentication::CAS> mixin for the User model. Provides an 'cas_id' column.
14  
15 =cut
16  
17 our @EXPORT = qw(has_alternative_auth);
18  
19 use Jifty::Plugin::Authentication::CAS::Record schema {
20  
21 column cas_id =>
22 type is 'text',
23 label is 'CAS ID',
24 is distinct,
25 is immutable;
26  
27 };
28  
29 =head2 has_alternative_auth
30  
31 =cut
32  
33 sub has_alternative_auth { 1 }
34  
35 1;