NAME

Catalyst::Authentication::Store::Fey::ORM::User - The backing user class for the Catalyst::Authentication::Store::Fey::ORM storage module.

VERSION

version 0.001

SYNOPSIS

Internal - not used directly, please see Catalyst::Authentication::Store::Fey::ORM 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::Fey::ORM::User class implements user storage connected to an underlying Fey::ORM schema object.

METHODS

new ( $config, $c )

Constructor.

supported_features

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

load ( $authinfo, $c )

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

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.

from_session ( $frozenuser, $c )

Revives a serialized user from storage in the session.

get ( $field )

Returns the value of $field for the user in question.

get_object

Retrieves the Fey::ORM object that corresponds to this user

can

Delegates handling of the can method to the underlieing user row.

AUTOLOAD

Delegates method calls to the underlieing user row.

AUTHOR

Keedi Kim - 김도형 <keedi@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Keedi Kim.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.