instance method
verified_request_for_forgery_protection?
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
verified_request_for_forgery_protection?()
No documentation comment.
Source
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 630
def verified_request_for_forgery_protection?
if using_header_only_for_forgery_protection?
verified_via_header_only?
else
verified_with_legacy_token?
end
end
Defined in actionpack/lib/action_controller/metal/request_forgery_protection.rb line 630
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RequestForgeryProtection