/usr/share/perl5/Jifty/Plugin/Authentication/CAS/Mixin/Model/User.pm is in libjifty-plugin-authentication-cas-perl 1.00-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | package Jifty::Plugin::Authentication::CAS::Mixin::Model::User;
use strict;
use warnings;
use Jifty::DBI::Schema;
use base 'Jifty::DBI::Record::Plugin';
=head1 NAME
Jifty::Plugin::Authentication::CAS::Mixin::Model::User - CAS mixin for User model
=head1 DESCRIPTION
L<Jifty::Plugin::Authentication::CAS> mixin for the User model. Provides an 'cas_id' column.
=cut
our @EXPORT = qw(has_alternative_auth);
use Jifty::Plugin::Authentication::CAS::Record schema {
column cas_id =>
type is 'text',
label is 'CAS ID',
is distinct,
is immutable;
};
=head2 has_alternative_auth
=cut
sub has_alternative_auth { 1 }
1;
|