public void StsSaml11(X509Certificate2 cert) { Prep(cert); var client = new SamlClient("Anonymous", binding, samlpEp); client.ClientCredentials.ClientCertificate.Certificate = cert; target = client; Request(); Verify(); }
public void WsTrust(X509Certificate2 cert) { Prep(cert); var client = new WsTrustClient(binding, wstEp); client.ClientCredentials.ClientCertificate.Certificate = cert; target = client; Request(); Verify(); assertion = client.RenewTicket(session, assertion); Verify(); }