method

valid_authenticity_token?

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.