lib/rails/auth/monitor/middleware.rb in rails-auth-2.1.4 vs lib/rails/auth/monitor/middleware.rb in rails-auth-2.2.0

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + module Rails module Auth module Monitor # Fires a user-specified callback which reports on authorization success # or failure. Useful for logging or monitoring systems for AuthZ failures