verified_request?()
Instance Protected methods
Returns true or false if a request is verified. Checks:
-
is it a GET or HEAD request? Gets should be safe and idempotent
-
Does the #form_authenticity_token match the given token value from the params?
-
Does the X-CSRF-Token header match the #form_authenticity_token
Please login to continue.