NAME

Catalyst::Authentication::Store::DBIx::Class::User - The backing user class for the Catalyst::Authentication::Store::DBIx::Class storage module.

VERSION

This documentation refers to version 0.10.

SYNOPSIS

Internal - not used directly, please see Catalyst::Authentication::Store::DBIx::Class for details on how to use this module. If you need more information than is present there, read the source.

DESCRIPTION

The Catalyst::Authentication::Store::DBIx::Class::User class implements user storage connected to an underlying DBIx::Class schema object.

SUBROUTINES / METHODS

new

Constructor.

load ( $authinfo, $c )

Retrieves a user from storage using the information provided in $authinfo.

supported_features

Indicates the features supported by this class. These are currently Roles and Session.

roles

Returns an array of roles associated with this user, if roles are configured for this user class.

for_session

Returns a serialized user for storage in the session. Currently, this is the value of the field specified by the 'id_field' config variable.

from_session

Revives a serialized user from storage in the session. Currently, this uses the serialized data as the value of the 'id_field' config variable.

get ( $fieldname )

Returns the value of $fieldname for the user in question. Roughly translates to a call to the DBIx::Class::Row's get_column( $fieldname ) routine.

get_object

Retrieves the DBIx::Class object that corresponds to this user

obj (method)

Synonym for get_object

BUGS AND LIMITATIONS

None known currently, please email the author if you find any.

AUTHOR

Jason Kuri (jayk@cpan.org)

LICENSE

Copyright (c) 2007 the aforementioned authors. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.