public object Any(WhScan request) { var signature = this.Request.Headers.GetValues("Signature"); if (signature != null) { if (auth.AuthResult(signature[0].ToString(), this.Request.RawUrl)) { var Result = whScanLogic.InsertResult(request); return new WhScanResponse { intResult = Result }; } } return new AuthFaildResponse { strResult = "No Authentication." }; }
public object Any(WhScan request) { var signature = this.Request.Headers.GetValues("Signature"); if (signature != null) { if (auth.AuthResult(signature[0].ToString(), this.Request.RawUrl)) { var Result = whScanLogic.InsertResult(request); return(new WhScanResponse { intResult = Result }); } } return(new AuthFaildResponse { strResult = "No Authentication." }); }