le);
use Digest::SHA1 qw//;
use Cookie::Baker;
use Plack::Util;
use Scalar::Util qw/blessed/;
use JSON::WebToken qw/encode_jwt decode_jwt/;
use Plack::Util::Accessor qw/
alg
secret
/;
sub pre
ding utf-8
=head1 NAME
Plack::Middleware::Session::Simple::JWSCookie - Session::Simple with JWS(JSON Web Sigmature) Cookie
=head1 SYNOPSIS
use Plack::Middleware::Session::Simple::JWSCookie;
Plack::Middleware::Session::Simple.
Session cookie include session metadata with signature using JSON Web Signature.
The session cookie prevents manipulation of the session ID,
and can detect the inv