openid in an app?
===

Using this tweetsharp example i am able in my command line app to get access to a twitter account.

Is there equivalent i may use using openid? Does openid restrictions make it impossible? After seeing [BrowserID](https://developer.mozilla.org/en/BrowserID/Quick_Setup) i think it may be possible bc i can see how simple that example can be modified to do something like the twitter command line example below.

This example is in C# but i'm asking for any solution. I suspect it should be easy in any language that has socket or better yet a simple http POST function (curl!)


	var s = new TwitterService("key", "secret");
	
	// Step 1 - Retrieve an OAuth Request Token
	OAuthRequestToken requestToken = s.GetRequestToken();

	// Step 2 - Redirect to the OAuth Authorization URL
	Uri uri = s.GetAuthorizationUri(requestToken);
	Process.Start(uri.ToString());

	// Step 3 - Exchange the Request Token for an Access Token
	string verifier = Console.ReadLine(); //user types pin from website
	OAuthAccessToken access = s.GetAccessToken(requestToken, verifier);

	// Step 4 - User authenticates using the Access Token
	s.AuthenticateWith(access.Token, access.TokenSecret);
	var name = s.GetUserProfile().Name;
	Console.WriteLine(name);


