Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I had to create an application which connects to Sharepoint. The interested Sharepoint Application is set to work ONLY with claim based Authentication, so I cannot use the classic:

 NetworkCredential Cred = new NetworkCredential("administrator", "Password", "domain");

How can i connect by Claim Based?

I know I must contact STS, get a Token, contact SP STS, get another token and then contact Sharepoint...

Is there any tutorial or hint to do this in the right way?

Thank you very much!!!

share|improve this question
add comment

2 Answers 2

Robert Bogue has written a tool and sample app I have used successfully against a claims environment. Basically he extends the ClientContext class. In my case though, I had to be on a domain-joined machine for the code to work. Download it here.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.