Flowdock
method

parse

Importance_0
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: EncryptedKeyRotatingCookieJar
parse(name, encrypted_message) private

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 638
        def parse(name, encrypted_message)
          deserialize(name) do |rotate|
            @encryptor.decrypt_and_verify(encrypted_message, on_rotation: rotate)
          end
        rescue ActiveSupport::MessageEncryptor::InvalidMessage, ActiveSupport::MessageVerifier::InvalidSignature
          parse_legacy_signed_message(name, encrypted_message)
        end
Register or log in to add new notes.