instance method
global_csrf_token
Ruby on Rails 7.1.6
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 567
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 567
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RequestForgeryProtection