I have been doing a bit of searching around on oauth2 and think it may be a good fit for some WCF rest services I am building out that will be consumed by some WPF apps and MVC web apps. The idea would be that the user is initially asked to login with their username / password and receives an access token which gives them access to the aforementioned resource(s).
我一直在搜索oauth2,并认为它可能非常适合我正在构建的一些WCF休息服务,这些服务将由一些WPF应用程序和MVC Web应用程序使用。其想法是最初要求用户使用他们的用户名/密码登录并接收访问令牌,该访问令牌使他们能够访问上述资源。
Searching around here on SO I have not found much information on oauth2 except for a few consumer related questions to facebook etc.
在这里搜索SO我没有找到关于oauth2的更多信息,除了一些与Facebook等消费者相关的问题。
I'm wondering if anybody can provide some tips on implementing oauth2 (or knows of any good resources). I am interested in both the provider (authenticating and issuing access tokens) as well as the client/consumer end.
我想知道是否有人可以提供实施oauth2的一些技巧(或知道任何好的资源)。我对提供者(身份验证和发布访问令牌)以及客户端/消费者端感兴趣。
.NET OAuth2 Libraries
.NET OAuth2库
The only OAuth2 library I found is from dotnetopenauth which also seems to be heavily into openid. At this stage I'd rather a library that is a little lighter and just emcompasses oauth2
我找到的唯一OAuth2库来自dotnetopenauth,它似乎也很重要。在这个阶段,我宁愿选择一个更轻一点的库,而且只需要一个oauth2
Are there any other oauth2 libraries available yet?
还有其他oauth2库吗?