I asked this question @StackOverflow but maybe this is a better location for it:
I try to connect to a SharePoint Online instance via a WPF-Application (C#). I have found this article that discribes a possible solution but the problem is that the specific instance has a Active Directory Federation Services (ADFS) infront and I don't know how to get the auth-token. (I can't create a certificate for my application to authentificate against the adfs.)
Anyone who have already done this and can support me with some code snippets?