method
[]
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: UpgradeLegacyEncryptedCookieJar
[](name)
public
Hide source
# File actionpack/lib/action_dispatch/middleware/cookies.rb, line 548 def [](name) if encrypted_or_signed_message = @parent_jar[name] deserialize(name, decrypt_and_verify(encrypted_or_signed_message)) || verify_and_upgrade_legacy_signed_message(name, encrypted_or_signed_message) end end