Eric Wolf
and 1 contributors

NAME

Yote::Account

DESCRIPTION

The Yote::Account object is a container intended to store any data that is relevant to a user for a particular app. A single user will have one account per app, but only one systemwide login.

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.

is_master_root

Returns trus if the account is the original root account

new_user_obj( optional_data_hash )

Returns a new user yote object, initialized with the optional has reference.

AUTHOR

Eric Wolf coyocanid@gmail.com http://madyote.com

LICENSE AND COPYRIGHT

Copyright (C) 2011 Eric Wolf

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