יובל קוג'מן (Yuval Kogman) > Catalyst-Plugin-Authentication-0.09 > Catalyst::Plugin::Authentication::User::Hash

Download:
Catalyst-Plugin-Authentication-0.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  5
View/Report Bugs
Source   Latest Release: Catalyst-Plugin-Authentication-0.10023

NAME ^

Catalyst::Plugin::Authentication::User::Hash - An easy authentication user object based on hashes.

SYNOPSIS ^

        use Catalyst::Plugin::Authentication::User::Hash;
        
        Catalyst::Plugin::Authentication::User::Hash->new(
                password => "s3cr3t",
        );

DESCRIPTION ^

This implementation of authentication user handles is supposed to go hand in hand with Catalyst::Plugin::Authentication::Store::Minimal.

METHODS ^

new @pairs

Create a new object with the key-value-pairs listed in the arg list.

supports

Checks for existence of keys that correspond with features.

for_session

Just returns $self, expecting it to be serializable.

from_session

Just passes returns the unserialized object, hoping it's intact.

AUTOLOAD

Accessor for the key whose name is the method.

id
store

Accessors that override superclass's dying virtual methods.

SEE ALSO ^

Hash::AsObject

syntax highlighting: