Evan Carroll > Catalyst-Authentication-Store-DBI-ButMaintained-0.01 > Catalyst::Authentication::Store::DBI::ButMaintained::User

Download:
Catalyst-Authentication-Store-DBI-ButMaintained-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: Catalyst-Authentication-Store-DBI-ButMaintained-0.03

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 ^

Catalyst::Authentication::Store::DBI::ButMaintained

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.

syntax highlighting: