Example #1
0
 public void TestSaml20TokenVerification04()
 {
     Assert.Throws <Saml20Exception>(() => AssertionUtil.DeserializeToken(TestContext.CurrentContext.TestDirectory + @"\Assertions\EvilSaml2Assertion_03"), "Signature could not be verified.");
 }
Example #2
0
 public void TestSaml20TokenVerification04()
 {
     AssertionUtil.DeserializeToken(@"Assertions\EvilSaml2Assertion_03");
 }
Example #3
0
 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");
 }
Example #4
0
 public void TestSaml20TokenVerification01()
 {
     AssertionUtil.DeserializeToken(@"Assertions\Saml2Assertion_01");
     AssertionUtil.DeserializeToken(@"Assertions\Saml2Assertion_02");
     AssertionUtil.DeserializeToken(@"Assertions\Saml2Assertion_03");
 }