/usr/share/perl5/Jifty/Plugin/Authentication/Facebook/Mixin/Model/User.pm is in libjifty-plugin-authentication-facebook-perl 0.90000-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 37 38 39 40 41 42 43 44 | use strict;
use warnings;
package Jifty::Plugin::Authentication::Facebook::Mixin::Model::User;
use Jifty::DBI::Schema;
use base 'Jifty::DBI::Record::Plugin';
=head1 NAME
Jifty::Plugin::Authentication::Facebook::Mixin::Model::User - mixin facebook an model users
=cut
use Jifty::Plugin::Authentication::Facebook::Record schema {
column facebook_name =>
type is 'text';
column facebook_uid =>
type is 'int',
is immutable,
is distinct;
column facebook_session =>
type is 'text';
column facebook_session_expires =>
type is 'int';
};
=head2 set_facebook_uid INT
Sets the user's Facebook ID
=cut
sub set_facebook_uid {
my $self = shift;
my $id = shift;
$self->_set( column => 'facebook_uid', value => $id );
}
1;
|