method

csrf_token_hmac

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: ActionController::RequestForgeryProtection
csrf_token_hmac(session, identifier) private

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 415
      def csrf_token_hmac(session, identifier) # :doc:
        OpenSSL::HMAC.digest(
          OpenSSL::Digest::SHA256.new,
          real_csrf_token(session),
          identifier
        )
      end
Register or log in to add new notes.