class
ActionDispatch::Cookies::UpgradeLegacyEncryptedCookieJar
v5.0.0.1 -
Show latest stable
- Superclass: ActionDispatch::Cookies::EncryptedCookieJar
UpgradeLegacyEncryptedCookieJar is used by ActionDispatch::Session::CookieStore instead of EncryptedCookieJar if secrets.secret_token and secrets.secret_key_base are both set. It reads legacy cookies signed with the old dummy key generator and encrypts and re-saves them using the new key generator to provide a smooth upgrade path.
Included modules
- ActionDispatch::Cookies::VerifyAndUpgradeLegacySignedMessage
Files
- actionpack/lib/action_dispatch/middleware/cookies.rb