NAME

Mojolicious::Sessions::ThreeS::Storage::CHI - An adapter to store sessions in a CHI instance.

SYNOPSIS

my $storage = Mojolicious::Sessions::ThreeS::Storage::CHI->new({ chi => .. a CHI instance .. });

# Use $storage in the Mojolicious::Sessions::ThreeS instance (or through the plugin):

$app->sessions( Mojolicious::Sessions::ThreeS->new({ storage => $storage , state => ... } );

Note that you WILL have to depend on CHI and on JSON in your application to use this storage.

This distribution does not add these to the runtime dependencies to avoid clutter.

get_session

See Mojolicious::Sessions::ThreeS::Storage

store_session

See Mojolicious::Sessions::ThreeS::Storage

remove_session_id

See Mojolicious::Sessions::ThreeS::Storage