【问题标题】:Thinktecture IdentityServer getting started walkthrough errorThinktecture IdentityServer 入门演练错误
【发布时间】:2014-11-08 22:38:31
【问题描述】:

我正在关注 Thinktecture IdentityServer 演练,但出现错误。 Link to the tutorial

我使用以下命令安装了这两个软件包:

install-package Microsoft.Owin.Host.Systemweb
install-package Thinktecture.IdentityServer.v3 -pre

但是当我添加 Startup 类并将代码粘贴到里面时,我得到一个错误

scopes: Scope.StandardScopes

这么说

Error   1   'Thinktecture.IdentityServer.Core.Models.Scope' does not contain a definition for 'StandardScopes'

我下载了 MVC 身份验证示例,但该项目也无法构建,因为两个包的路径太长。我还下载了整个版本 3 并且该项目确实构建了,但它与其他项目完全不同,我可以从这个开始并查看所有类等以及它们的作用,但我也想做教程一步一步地学习它。有人知道我该如何解决这个问题吗?

【问题讨论】:

    标签: thinktecture-ident-server


    【解决方案1】:

    Scopes.StandardScopes 已成为 StandardScopes.All 在 beta 3 - 我已修复演练。感谢您的报告!

    【讨论】:

      猜你喜欢
      • 2014-08-01
      • 2014-09-25
      • 2015-05-02
      • 1970-01-01
      • 2014-09-02
      • 2014-12-26
      • 2015-08-16
      • 1970-01-01
      • 2016-05-03
      相关资源
      最近更新 更多