method

valid_authenticity_token?

Importance_1
v4.2.1 - Show latest stable - 0 notes - Class: ActionController::RequestForgeryProtection
valid_authenticity_token?(session, encoded_masked_token) protected

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.