instance method
global_csrf_token
Ruby on Rails 8.1.2
Since v5.2.8.1 PrivateSignature
global_csrf_token(session = nil)
No documentation comment.
Parameters
-
sessionopt = nil
Source
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 590
def global_csrf_token(session = nil) # :doc:
csrf_token_hmac(session, GLOBAL_CSRF_TOKEN_IDENTIFIER)
end
Defined in actionpack/lib/action_controller/metal/request_forgery_protection.rb line 590
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RequestForgeryProtection