__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 } } } } );
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.
To install Catalyst::Model::KiokuDB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Model::KiokuDB
CPAN shell
perl -MCPAN -e shell install Catalyst::Model::KiokuDB
For more information on module installation, please visit the detailed CPAN module installation guide.