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.