开发者

Protect ASP.MVC controller action using OAUTH

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜