instance method
per_form_csrf_token
Ruby on Rails 8.1.2
Since v5.2.8.1 PrivateSignature
per_form_csrf_token(session, action_path, method)
No documentation comment.
Parameters
-
sessionreq -
action_pathreq -
methodreq
Source
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 583
def per_form_csrf_token(session, action_path, method) # :doc:
csrf_token_hmac(session, [action_path, method.downcase].join("#"))
end
Defined in actionpack/lib/action_controller/metal/request_forgery_protection.rb line 583
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RequestForgeryProtection