class ActionDispatch::Cookies::EncryptedKeyRotatingCookieJar
def parse(name, encrypted_message, purpose: nil)
Experimental RBS support (using type sampling data from the type_fusion
project).
def parse: (String name, String encrypted_message, purpose: String) -> Hash
This signature was generated using 1 sample from 1 application.
def parse(name, encrypted_message, purpose: nil) deserialize(name) do |rotate| @encryptor.decrypt_and_verify(encrypted_message, on_rotation: rotate, purpose: purpose) end rescue ActiveSupport::MessageEncryptor::InvalidMessage, ActiveSupport::MessageVerifier::InvalidSignature, JSON::ParserError nil end