/usr/share/perl5/Jifty/Plugin/Authentication/Ldap/Mixin/Model/User.pm is in libjifty-plugin-authentication-ldap-perl 1.01-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 36 | package Jifty::Plugin::Authentication::Ldap::Mixin::Model::User;
use strict;
use warnings;
use Jifty::DBI::Schema;
use base 'Jifty::DBI::Record::Plugin';
use URI;
=head1 NAME
Jifty::Plugin::Authentication::Ldap::Mixin::Model::User - Ldap mixin with User model
=head1 DESCRIPTION
L<Jifty::Plugin::Authentication::Ldap> mixin for the User model. Provides an 'ldap_id' column.
=cut
our @EXPORT = qw(has_alternative_auth);
use Jifty::Plugin::Authentication::Ldap::Record schema {
column ldap_id =>
type is 'text',
label is 'Ldap ID',
is distinct;
#is immutable;
};
=head2 has_alternative_auth
=cut
sub has_alternative_auth { 1 }
1;
|