NAME
Catalyst::Authentication::Store::DBI::ButMaintained::User - User object representing a database record
DESCRIPTION
This class represents users found in the database and implements methods to access the contained information.
METHODS
new({ store => $objRef, user => $sth->fetchrow_hashref, auth_info => $hashRef, $dbi_model => $objRef })
Attributes
- store
-
Internal reference to the store.
- user
-
Hash ref of the row from the database, what calls to
get
read. - auth_info
-
Original hash ref supplied to
find_user
- dbi_model
-
Required so it can retreive roles, in the future.
id
supported_features
get
user
This method returns the original hash ref returned by the DB.
get_object
DEPRECATED use user
instead
obj
DEPRECATED use user
instead
roles
SEE ALSO
AUTHOR
Evan Carroll <cpan@evancarroll.com>
(old) Simon Bertrang, <simon.bertrang@puzzworks.com>
COPYRIGHT
Copyright (c) 2010 Evan Carroll, http://www.evancarroll.com/
Copyright (c) 2008 PuzzWorks OHG, http://puzzworks.com/
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.