method

valid_authenticity_token?

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionController::RequestForgeryProtection
valid_authenticity_token?(session, encoded_masked_token) private

Checks the client’s masked token to see if it matches the session token. Essentially the inverse of masked_authenticity_token.

Show source
Register or log in to add new notes.