public void TestMalformedID() { string res = jwt.GetTokenID(token); Assert.IsTrue(SecurityUtils.compareStrings(res, "")); Assert.IsTrue(jwt.HasError()); }
public void TestGetID() { string tID = jwt.GetTokenID(token); Assert.IsTrue(SecurityUtils.compareStrings(ID, tID)); }