Flowdock
method

verify_and_upgrade_legacy_signed_message

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: VerifyAndUpgradeLegacySignedMessage
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 182
      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.