How to use OAuth 2 - OAuth 2 C# example

前端 未结 2 2125
抹茶落季
抹茶落季 2021-02-19 09:28

I have to figure out how to use OAuth 2 in order to use Deviantart api.

I got the client_id and client_secret part

Here the information they give

Endpoin

相关标签:
2条回答
  • 2021-02-19 10:23

    In the ASP.NET Core Security Project there is now a ready to use solution:

    Nuget Package: AspNet.Security.OAuth.DeviantArt

    0 讨论(0)
  • 2021-02-19 10:30

    Easiest thing to do now is get Visual Studio 2013 and create a new ASP.NET Web Application choosing "Individual User Accounts" as your authentication type. There's a working OAuth 2 implementation out of the box in there (configured at App_Start\Startup.Auth.cs) which you can slice out and then adapt to your needs.

    0 讨论(0)
提交回复
热议问题