123456789_123456789_123456789_123456789_123456789_

Module: ActiveSupport::Messages::Rotator::Encryptor

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: activesupport/lib/active_support/messages/rotator.rb

Instance Method Summary

Instance Method Details

#decrypt_and_verify(*args, on_rotation: nil, **options)

[ GitHub ]

  
# 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