This commit is contained in:
2019-01-18 00:39:08 +00:00
parent 1c93f55370
commit 5e4ea4f410

View File

@@ -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
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;
}
*/
//==================================================