method
decrypt_and_verify
Ruby on Rails latest stable (v6.1.7.7)
-
0 notes -
Class: EncryptedCookieJar
decrypt_and_verify(encrypted_message)
private
Hide source
# File actionpack/lib/action_dispatch/middleware/cookies.rb, line 534 def decrypt_and_verify(encrypted_message) @encryptor.decrypt_and_verify(encrypted_message) rescue ActiveSupport::MessageVerifier::InvalidSignature, ActiveSupport::MessageEncryptor::InvalidMessage nil end