Methods

Included Modules

Instance Public methods

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

📝 Source code
# 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
🔎 See on GitHub