method
csrf_token_hmac
v6.1.7.7 -
Show latest stable
- Class:
ActionController::RequestForgeryProtection
csrf_token_hmac(session, identifier)private
No documentation available.
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 415
def csrf_token_hmac(session, identifier) # :doc:
OpenSSL::HMAC.digest(
OpenSSL::Digest::SHA256.new,
real_csrf_token(session),
identifier
)
end