I'm having real trouble trying to create an authentication context using the instructions here -> http://linqtotwitter.codeplex.com/wikipage?title=Implementing%20OAuth%20for%20ASP.NET%20MVC&referringTitle=Learning%20to%20use%20OAuth
I installed the nuget package for the stable v2.1.11 but in the first block of code the credentialStore and SessionStateCredentialStore are not being resolved, even when I am using LinqToTwitter;
var auth = new MvcAuthorizer
{
CredentialStore = new SessionStateCredentialStore
{
ConsumerKey = ConfigurationManager.AppSettings["consumerKey"],
ConsumerSecret = ConfigurationManager.AppSettings["consumerSecret"]
}
};
His example uses controller actions to authenticate but I just want to create the context in a single method since I am using the API through an application without any need to signing in.
Is there something else I am missing here?