GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Catalyst::Authentication::Store::DBIx::Class::User(3) User Contributed Perl Documentation Catalyst::Authentication::Store::DBIx::Class::User(3)

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

This documentation refers to version 0.1506.

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.

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

Constructor.

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

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

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

Returns a serialized user for storage in the session.

Revives a serialized user from storage in the session.

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.

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

Synonym for get_object

This is called when the auto_create_user option is turned on in Catalyst::Plugin::Authentication and a user matching the authinfo provided is not found. By default, this will call the "auto_create()" method of the resultset associated with this object. It is up to you to implement that method.

This is called when the auto_update_user option is turned on in Catalyst::Plugin::Authentication. Note that by default the DBIx::Class store uses every field in the authinfo hash to match the user. This means any information you provide with the intent to update must be ignored during the user search process. Otherwise the information will most likely cause the user record to not be found. To ignore fields in the search process, you have to add the fields you wish to update to the 'ignore_fields_in_find' authinfo element. Alternately, you can use one of the advanced row retrieval methods (searchargs or resultset).

By default, auto_update will call the "auto_update()" method of the DBIx::Class::Row object associated with the user. It is up to you to implement that method (probably in your schema file)

Delegates method calls to the underlying user row.

Delegates handling of the "can" method to the underlying user row.

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

Jason Kuri (jayk@cpan.org)

Matt S Trout (mst) <mst@shadowcat.co.uk>

(fixes wrt can/AUTOLOAD sponsored by <http://reask.com/>)

Copyright (c) 2007-2010 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.
2014-04-02 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.