Flowdock
method

per_form_csrf_token

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ActionController::RequestForgeryProtection
per_form_csrf_token(session, action_path, method) protected

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 372
      def per_form_csrf_token(session, action_path, method)
        OpenSSL::HMAC.digest(
          OpenSSL::Digest::SHA256.new,
          real_csrf_token(session),
          [action_path, method.downcase].join("#")
        )
      end
Register or log in to add new notes.