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, ** ) super rescue MessageEncryptor::InvalidMessage, MessageVerifier::InvalidSignature run_rotations(on_rotation) { |encryptor| encryptor.decrypt_and_verify(*args, ) } || raise end