This commit is contained in:
@@ -51,7 +51,30 @@ namespace raven_integration
|
|||||||
ApiResponse a = await Util.GetAsync("Locale/picklist", ValidButExpiredToken);//lowest level test user because there are no limits on this route except to be authenticated
|
ApiResponse a = await Util.GetAsync("Locale/picklist", ValidButExpiredToken);//lowest level test user because there are no limits on this route except to be authenticated
|
||||||
Util.ValidateHTTPStatusCode(a, 401);
|
Util.ValidateHTTPStatusCode(a, 401);
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
|
||||||
|
case "EXPIRED":
|
||||||
|
exp = new DateTimeOffset(DateTime.Now.AddDays(-30).ToUniversalTime(), TimeSpan.Zero);
|
||||||
|
break;
|
||||||
|
case "WRONG_ISSUER":
|
||||||
|
Issuer = "Bogus";
|
||||||
|
break;
|
||||||
|
case "NO_ALGORITHM":
|
||||||
|
Algorithm = Jose.JwsAlgorithm.none;
|
||||||
|
break;
|
||||||
|
case "WRONG_SECRET":
|
||||||
|
secretKey = System.Text.Encoding.ASCII.GetBytes("xxxxxxThisIsObviouslyWrongxxxxxx");
|
||||||
|
break;
|
||||||
|
|
||||||
|
|
||||||
|
case "TRUNCATED_SIGNATURE":
|
||||||
|
PostTransform = true;
|
||||||
|
break;
|
||||||
|
case "TRANSPOSE_SIGNATURE":
|
||||||
|
PostTransform = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
//==================================================
|
//==================================================
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user