Thank you for the reply. I am using ArcGis Online as far as I know 🙂 I am using a set username and password for the application, and then authenticating that way.
I have also been looking into using a proxy to do all the hand-shaking, but I am also not sure how to implement a proxy into the application.
I will try and figure it out from your reply, and will post an update with code to how its going 🙂
Thank you 🙂