22 Feb 2009 10:21:37 UTC
- Distribution: Catalyst-Authentication-Store-Tangram
- Source (raw)
- Browse (raw)
- How to Contribute
- Clone repository
- Testers (334 / 1 / 0)
- KwaliteeBus factor: 12
- 93.75% Coverage
- License: perl_5
- Activity24 month
- Download (21.25KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionBOBTFISH Tomas Doranand 1 contributors
- Tomas Doran, <bobtfish at bobtfish dot net>
Catalyst::Authentication::Store::Tangram::User - A thin adaptor to adapt any Tangram class to behave as needed by Catalyst::Authentication::User
$c->user->id; # Returns unique user ID $c->user->get('email_address'); # Retrieve value from the underlying Tangram object. $c->user->get_object; # Get the underlying Tangram object yourself.
The Catalyst::Authentication::Store::Tangram::User class encapsulates any Tangram class in the Catalyst::Authentication::User interface. An instance of it will be returned by
$c->userwhen using Catalyst::Authentication::Store::Tangram. Methods not defined in this module are passed through to the Tangram object. The object stringifies to the Tangram ID.
Unique Tangram ID for this object
Returns the underlying Tangram user object.
Returns the list of roles which this user is authorised to do.
Returns hashref of features that this Authentication::User subclass supports.
Tomas Doran, <bobtfish at bobtfish dot net>
With thanks to state51, my employer, for giving me the time to work on this.
All complex software has bugs, and I'm sure that this module is no exception.
Please report bugs through the rt.cpan.org bug tracker.
Copyright (c) 2008, state51. Some rights reserved.
This module is free software; you can use, redistribute, and modify it under the same terms as Perl 5.8.x.
Module Install Instructions
To install Catalyst::Authentication::Store::Tangram, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Catalyst::Authentication::Store::Tangram
For more information on module installation, please visit the detailed CPAN module installation guide.