Interface that defines a callback that can be used to reject or allow a URL.
Called when the URL has passed the isAllowed() check.