Session::State::Cookie
StatusMessage
StackTrace
+ Cache
/;
extends 'Catalyst';
+use Cache::FileCache;
+use stemmaweb::Authentication::FormHandler;
+
our $VERSION = '0.01';
# Configure the application.
stemmaweb->path_to( 'root', 'src' ),
],
},
+
+ 'Plugin::Cache' => {
+ backend => {
+ class => 'Cache::FileCache',
+ namespace => 'cache',
+ default_expires_in => 86400,
+ },
+ },
+
## kiokudb auth store testing
'Plugin::Authentication' => {
default => {
},
auto_create_user => 1,
},
+ google => {
+ credential => {
+ class => '+stemmaweb::Authentication::Credential::Google',
+ },
+ store => {
+ class => 'Model::KiokuDB',
+ model_name => 'Directory',
+ },
+ auto_create_user => 1,
+ },
},
## Auth with CatalystX::Controller::Auth
'Controller::Users' => {
+ form_handler => 'stemmaweb::Authentication::FormHandler',
model => 'User',
login_id_field => 'username',
login_db_field => 'username',
realm => 'default',
login_fields => { openid => [qw/openid_identifier/],
default => [qw/username password remember/],
+ google => [qw/email id_token/],
},
},
'View::Email::Template' => {