前段时间随意抽离了一部分代码作为OAuth2的示例代码,若干处会造成困扰,现说明如下:
![复制代码](https://i-blog.csdnimg.cn/blog_migrate/69c5a8ac3fa60e0848d784a6dd461da6.gif)
1 public class OAuthController : Controller
2 {
3 private static string _authorizeUrl = ConfigurationManager.AppSettings["AuthorizeUrl"];
4 private static string[] _queryParameters = new string[] { "client_id", "redirect