private void BadRequest(HttpActionContext actionContext) { Trace.TraceError("Trottle Attribute sending error response: 400. Bad request, since the access_token is not found in the request header"); actionContext.Response = ClientErrors.InvalidJson(actionContext); }
private void BadRequest(HttpActionContext actionContext) { Trace.TraceWarning("Basic Authorization Attribute sending error response: 400. Access token not present"); actionContext.Response = ClientErrors.InvalidJson(actionContext); }