Exemplo n.º 1
0
 public void TestDKSaml20TokenVerification_04()
 {
     AssertionUtil.DeserializeToken(@"Saml20\Assertions\EvilSaml2Assertion_03");
 }
        public void TestRetrieveIssuer()
        {
            Saml20Assertion assertion = AssertionUtil.DeserializeToken(@"Saml20\Assertions\Saml2Assertion_01", false);

            Assert.AreEqual("TokenService/Safewhere", assertion.Issuer);
        }
Exemplo n.º 3
0
 [Ignore]    // TODO: test data needs fixing
 public void TestDKSaml20TokenVerification_01()
 {
     AssertionUtil.DeserializeToken(@"Saml20\Assertions\Saml2Assertion_01");
     AssertionUtil.DeserializeToken(@"Saml20\Assertions\Saml2Assertion_02");
     AssertionUtil.DeserializeToken(@"Saml20\Assertions\Saml2Assertion_03");
 }