method

compare_with_global_token

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: ActionController::RequestForgeryProtection
compare_with_global_token(token, session) private

No documentation

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

Hide source
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 381
      def compare_with_global_token(token, session) # :doc:
        ActiveSupport::SecurityUtils.fixed_length_secure_compare(token, global_csrf_token(session))
      end
Register or log in to add new notes.