APIdock / Ruby on Rails
/
Browse About
method

request_authenticity_tokens

v5.0.0.1 - Show latest stable - Class: ActionController::RequestForgeryProtection
request_authenticity_tokens()
protected

Possible authenticity tokens sent in the request.

# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 279
      def request_authenticity_tokens
        [form_authenticity_param, request.x_csrf_token]
      end

Related methods

  • Protected methods
  • protectedany_authenticity_token_valid?
  • protectedcompare_with_real_token
  • protectedform_authenticity_param
  • protectedform_authenticity_token
  • protectedhandle_unverified_request
  • protectedmark_for_same_origin_verification!
  • protectedmarked_for_same_origin_verification?
  • protectedmasked_authenticity_token
  • protectednon_xhr_javascript_response?
  • protectednormalize_action_path
  • protectedper_form_csrf_token
  • protectedprotect_against_forgery?
  • protectedreal_csrf_token
  • protectedrequest_authenticity_tokens
  • protectedunmask_token
  • protectedvalid_authenticity_token?
  • protectedvalid_per_form_csrf_token?
  • protectedvalid_request_origin?
  • protectedverified_request?
  • protectedverify_authenticity_token
  • protectedverify_same_origin_request
  • protectedxor_byte_strings
APIdock API Documentation Browser

Boost your team's developer productivity with Swarmia.

© 2026 APIdock