method

valid_request_origin?

valid_request_origin?()
private

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