开发者

How to implement OAuth2 provider and consumer in C# .NET

开发者 https://www.devze.com 2023-01-14 14:23 出处:网络
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 woul

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).

Searching around here on SO I have not found much information on oauth2 except for a few consumer开发者_运维问答 related questions to facebook etc.

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.

.NET OAuth2 Libraries

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

Are there any other oauth2 libraries available yet?


There's OAuth .NET

0

精彩评论

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