יובל קוג'מן (Yuval Kogman) > Catalyst-Model-KiokuDB-0.11 > Catalyst::Authentication::Store::Model::KiokuDB

Download:
Catalyst-Model-KiokuDB-0.11.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source   Latest Release: Catalyst-Model-KiokuDB-0.12

NAME ^

SYNOPSIS ^

    __PACKAGE__->config(
        'Plugin::Authentication' => {
            realms => {
                default => {
                    credential => {
                        # see L<KiokuX::User>
                        class         => 'Password',
                        password_type => 'self_check'
                    },
                    store => {
                        class      => 'Model::KiokuDB',
                        model_name => "kiokudb", # whatever your model is actually named
                    }
                }
            }
        }
    );

DESCRIPTION ^

This module provides the glue to use KiokuX::User objects for authentication inside Catalyst apps that use Catalyst::Model::KiokuDB.

The user object is wrapped with Catalyst::Authentication::Store::Model::KiokuDB::UserWrapper.

syntax highlighting: