Jifty::Plugin::User::Mixin::Model::User - user model base mixin
package MyApp::Model::User; use Jifty::DBI::Schema; use MyApp::Record schema { # column definitions }; # Import columns: name, email and email_confirmed use Jifty::Plugin::User::Mixin::Model::User;
This mixin may be added to a model to give your user accounts a name and an email address. This module may be used as the basic building block for building account models in your application. It can be combined with mixins from an authentication plugin to create an object suitable for a given authentication mechanism.
This mixin model adds the following columns to the model.
This is the username/nickname for the user of the account.
This is the email address of the account. It is intended as a bare minimum confirmation of identity and for communication of password resets and other account information.
This is a flag indicating whether the user has confirmed ownership of the given email address.
Whenever a user's email is set to a new value, we need to make sure they reconfirm it.
Makes sure that the email address looks like an email address and is not taken.
Jifty::Plugin::Authentication::Password, Jifty::Plugin::Authentication::Password::Mixin::Model::User
Jifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself.
To install Jifty, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty
CPAN shell
perl -MCPAN -e shell install Jifty
For more information on module installation, please visit the detailed CPAN module installation guide.