public void TestSaml20TokenVerification04() { Assert.Throws <Saml20Exception>(() => AssertionUtil.DeserializeToken(TestContext.CurrentContext.TestDirectory + @"\Assertions\EvilSaml2Assertion_03"), "Signature could not be verified."); }
public void TestSaml20TokenVerification04() { AssertionUtil.DeserializeToken(@"Assertions\EvilSaml2Assertion_03"); }
public void TestSaml20TokenVerification01() { AssertionUtil.DeserializeToken(TestContext.CurrentContext.TestDirectory + @"\Assertions\Saml2Assertion_01"); AssertionUtil.DeserializeToken(TestContext.CurrentContext.TestDirectory + @"\Assertions\Saml2Assertion_02"); AssertionUtil.DeserializeToken(TestContext.CurrentContext.TestDirectory + @"\Assertions\Saml2Assertion_03"); }
public void TestSaml20TokenVerification01() { AssertionUtil.DeserializeToken(@"Assertions\Saml2Assertion_01"); AssertionUtil.DeserializeToken(@"Assertions\Saml2Assertion_02"); AssertionUtil.DeserializeToken(@"Assertions\Saml2Assertion_03"); }