【发布时间】:2018-04-29 07:58:32
【问题描述】:
我使用OWIN OAuth 2.0 Authorization Server sample 作为使用我们公司的 Active Directory 创建我自己的 OAuth 服务提供商的圣殿。
“下载示例代码”不起作用,我在以下代码 sn-p 中找不到Paths 对象
// Enable the Application Sign In Cookie.
app.UseCookieAuthentication(new CookieAuthenticationOptions
{
AuthenticationType = "Application",
AuthenticationMode = AuthenticationMode.Passive,
LoginPath = new PathString(Paths.LoginPath),
LogoutPath = new PathString(Paths.LogoutPath),
});
Paths 属于哪个命名空间?
【问题讨论】:
标签: .net oauth-2.0 authorization owin