Skip to content

joshbuddy/rack-tamperproof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rack::Tamperproof

Usage

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

About

Rack middleware that provides tamper-proof cookies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages