Methods
Included Modules
Instance Public methods
decrypt_and_verify(*args, on_rotation: nil, **options)
📝 Source code
# File activesupport/lib/active_support/messages/rotator.rb, line 20
def decrypt_and_verify(*args, on_rotation: nil, **options)
super
rescue MessageEncryptor::InvalidMessage, MessageVerifier::InvalidSignature
run_rotations(on_rotation) { |encryptor| encryptor.decrypt_and_verify(*args, options) } || raise
end
🔎 See on GitHub