Skip to Content Skip to Search
Methods
D
Included Modules

Instance Public methods

decrypt_and_verify(*args, on_rotation: @on_rotation, **options)

# File activesupport/lib/active_support/messages/rotator.rb, line 21
def decrypt_and_verify(*args, on_rotation: @on_rotation, **options)
  super
rescue MessageEncryptor::InvalidMessage, MessageVerifier::InvalidSignature
  run_rotations(on_rotation) { |encryptor| encryptor.decrypt_and_verify(*args, **options) } || raise
end