Author image Jacob Helwig
and 1 contributors

NAME

Jifty::Plugin::Authentication::Bitcard::Mixin::Model::User - Bitcard plugin user mixin model

SYNOPSIS

  package MyApp::Model::User;
  use Jifty::DBI::Schema;
  use MyApp::Record schema {
      # custom column definitions
  };

  # name, email, bitcard_username, bitcard_id
  use Jifty::Plugin::Authentication::Bitcard::Mixin::Model::User;

DESCRIPTION

This mixin model is added to the application's account model for use with the Bitcard authentication plugin.

SCHEMA

This mixin adds the following columns to the model schema:

bitcard_id

The unique user id of the Bitcard user on your site. It's a 128bit number as a 40 byte hex value.

bitcard_username

The unique username of the Bitcard user.

name

This is the username/nickname for the user of the account.

email

This is the email address of the account as returned by Bitcard.

SEE ALSO

Jifty::Plugin::Authentication::Bitcard

LICENSE

Copyright 2008 Jacob Helwig. Distributed under the same terms as Perl itself.