Flowdock
method

verify_and_upgrade_legacy_signed_message

Importance_0
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: VerifyAndUpgradeLegacySignedMessage

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.1.7) is shown here.

verify_and_upgrade_legacy_signed_message(name, signed_message) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/cookies.rb, line 255
      def verify_and_upgrade_legacy_signed_message(name, signed_message)
        deserialize(name, @legacy_verifier.verify(signed_message)).tap do |value|
          self[name] = { value: value }
        end
      rescue ActiveSupport::MessageVerifier::InvalidSignature
        nil
      end
Register or log in to add new notes.