use Rack::Tamperproof(:default_key => "123u9ew90uqn") do delete_for :just_delete_this exception_for :don_t_tamper end # delete_for cookies will delete if they are tampered with and your request passes through normally # exception_for produces an exception if the cookie is tampered with
Rack middleware that provides tamper-proof cookies
License
joshbuddy/rack-tamperproof
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Rack middleware that provides tamper-proof cookies
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published