NAME
Starch::Store::Catalyst::Plugin::Session - Starch storage backend using Catalyst::Plugin::Session stores.
SYNOPSIS
my $starch = Starch->new(
store => {
class => '::Catalyst::Plugin::Session',
store_class => 'Catalyst::Plugin::Session::Store::File',
session_config => {
storage => '/tmp/session',
},
},
);
DESCRIPTION
This Starch store uses Catalyst::Plugin::Session stores to set and get state data.
The reason this module exists is to make the migration from the Catalyst session plugin to Starch as painless as possible.
REQUIRED ARGUMENTS
store_class
The full class name for the Catalyst::Plugin::Session::Store you wish to use.
OPTIONAL ARGUMENTS
session_config
The configuration of the session plugin.
ATTRIBUTES
store
This is the Catalyst::Plugin::Session::Store object built from the "store_class" and with a fake Catalyst superclass to make everything work.
set
Set "set" in Starch::Store. Calls store_session_data
on "store".
get
Set "get" in Starch::Store. Calls get_session_data
on "store".
remove
Set "remove" in Starch::Store. Calls delete_session_data
on "store".
SUPPORT
Please submit bugs and feature requests to the Starch-Store-Catalyst-Plugin-Session GitHub issue tracker:
https://github.com/bluefeet/Starch-Store-Calatlyst-Plugin-Session/issues
AUTHOR
Aran Clary Deltac <bluefeet@gmail.com>
ACKNOWLEDGEMENTS
Thanks to ZipRecruiter for encouraging their employees to contribute back to the open source ecosystem. Without their dedication to quality software development this distribution would not exist.
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.