Thinktecture.IdentityModel.Http and the ASP.NET Web API CodePlex bits

I will keep the github repo in sync with the major releases of Web API (like Beta, RC, RTM). Because of the changes made to Web API after beta, my current bits don’t build against the CodePlex version anymore.

Today I installed a build environment for the CodePlex bits, and migrated my code. It turns out the changes are pretty easy: Simply replace Request.GetUserPrincipal() with Thread.CurrentPrincipal ;)

I will update the repo when RC comes out.

This entry was posted in IdentityModel, WebAPI. Bookmark the permalink.

3 Responses to Thinktecture.IdentityModel.Http and the ASP.NET Web API CodePlex bits

  1. Hi Dominick, Am trying to secure a sample ASP.NET web api using OAUTH. I checked out both your open source projects but was not sure which one of them would be appropriate? I am interesting in using the ‘resource owner password credentials’ flow in the OAUTH 2.0 spec as both the API and client which uses the API belong to me. Can you point to a helpful guide/blog post that shows how this could be done? I know that is quite a generic request but any pointers would be welcome.

    Many Thanks

  2. Thanks Dominick, I will dig into your samples.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s