method

secure_compare!

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: SecureCompareRotator
secure_compare!(other_value, on_rotation: @on_rotation) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/secure_compare_rotator.rb, line 40
    def secure_compare!(other_value, on_rotation: @on_rotation)
      secure_compare(@value, other_value) ||
        run_rotations(on_rotation) { |wrapper| wrapper.secure_compare!(other_value) } ||
        raise(InvalidMatch)
    end
Register or log in to add new notes.