---
name: "Jifty::Plugin::Authentication::Bitcard::Mixin::Model::User"
section: "3pm"
platform: "linux"
package: "libjifty-plugin-authentication-bitcard-perl"
version: "0.053-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Jifty::Plugin::Authentication::Bitcard::Mixin::Model::User"
---

# Jifty::Plugin::Authentication::Bitcard::Mixin::Model::User(3pm)

Bitcard plugin user mixin model

## 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.
