method

valid_request_origin?

valid_request_origin?()
protected

Checks if the request originated from the same origin by looking at the Origin header.