I need to protect MVC action methods via OAUTH. Ultimately, I think I need to create two action filters - one to parse the OAUTH data and another to send back data with appropriate header开发者_如何学Gos. Unfortunately, I can't find any example of this. Does anyone have pointers or samples they can provide which can get me started?
EDIT - I've already looked at DotNetOpenAuth and the sample they have is for WCF and seems rather complex for this need. I found https://github.com/bittercoder/DevDefined.OAuth and it does seem promising. Hopefully, others have found additional userful resources.
精彩评论