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: @on_rotation, **options)
[ GitHub ]# File 'activesupport/lib/active_support/messages/rotator.rb', line 21
def decrypt_and_verify(*args, on_rotation: @on_rotation, ** ) super rescue MessageEncryptor::InvalidMessage, MessageVerifier::InvalidSignature run_rotations(on_rotation) { |encryptor| encryptor.decrypt_and_verify(*args, ** ) } || raise end