This project has moved and is read-only. For the latest updates, please go here.

MVC Single User Authorization and VS 2012 MVC4 Template

May 7, 2014 at 6:16 AM
Is there a way to use the Prebuilt oAuth process provided by the VS 2012 MVC4 Template with LinqToTwitter?

The AspDotNet based OAuth process returns a AuthenticationResult object containing a single access token.

Navigating the various tokens/secrets terminologies it seems that this needs to be exchanged for what L2T calls an AccessToken / AccessTokenSecret pair to be used in an ICredentialsStore object when calling API functions for the user in question

Does L2T provide any way of doing that or are we required to use the full L2T Begin/Complete cycle, requiring replacement of the VS templated functionality?

Or, am I (quite possibly) misunderstanding the relationship between the tokens?

Thanks for helping me sort this out!
May 7, 2014 at 7:56 AM

Yes, I wrote a related article, Obtaining Twitter Access Tokens with ASP.NET Identity, that explains how to do this.