method

real_csrf_token

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: ActionController::RequestForgeryProtection
real_csrf_token(session) 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 390
      def real_csrf_token(session) # :doc:
        session[:_csrf_token] ||= SecureRandom.base64(AUTHENTICITY_TOKEN_LENGTH)
        Base64.strict_decode64(session[:_csrf_token])
      end
Register or log in to add new notes.