diff --git a/Authentication/Auth.cs b/Authentication/Auth.cs index a836663..280a82f 100644 --- a/Authentication/Auth.cs +++ b/Authentication/Auth.cs @@ -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; + } + */ //==================================================