method

generate_csrf_token

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionController::RequestForgeryProtection
generate_csrf_token() 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 626
      def generate_csrf_token # :nodoc:
        SecureRandom.urlsafe_base64(AUTHENTICITY_TOKEN_LENGTH)
      end
Register or log in to add new notes.