method

encode_csrf_token

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ActionController::RequestForgeryProtection
encode_csrf_token(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 630
      def encode_csrf_token(csrf_token) # :nodoc:
        Base64.urlsafe_encode64(csrf_token, padding: false)
      end
Register or log in to add new notes.