NAME

Yote::Account

DESCRIPTION

This module is essentially meant to be used as is or extended. Yote::Account is a base class for account objects. A user has different account object for each different app. The distinction between a Login and an account is that a user has exactly one system-wide Yote::Login but a different Yote::Account object per application.

The Yote::Account object is a container intended to store any data that is relevant to a user for a particular app.

PUBLIC API METHODS

upload_avatar

This is called with a file uploaded POST where the file input name is 'avatar_file'.

is_root

Called to reveal if the login behind this account is a root login.

AUTHOR

Eric Wolf

LICENSE AND COPYRIGHT

Copyright (C) 2011 Eric Wolf

This module is free software; it can be used under the same terms as perl itself.