Module: ActiveSupport::Messages::Rotator::Encryptor
- Includes:
- ActiveSupport::Messages::Rotator
- Defined in:
- activesupport/lib/active_support/messages/rotator.rb
Instance Method Summary collapse
Methods included from ActiveSupport::Messages::Rotator
Instance Method Details
#decrypt_and_verify(*args, on_rotation: @on_rotation, **options) ⇒ Object
21 22 23 24 25 |
# 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 |