method
decrypt_and_verify
v4.2.9 -
Show latest stable
- Class:
ActionDispatch::Cookies::EncryptedCookieJar
decrypt_and_verify(encrypted_message)private
No documentation available.
# 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