尝试注册使用ServiceStack.Authentication.MongoDB包的用户时,我得到MissingMethodException:虚空ServiceStack.ServiceInterface.Auth.UserAuth.set_DigestHA1Hash(系统”:没有找到MongoDBAuthRepository在ServiceStack抛出MissingMethodException(set_DigestHA1Hash)
方法。串)'。
纵观ServiceStack的源代码,我可以看到UserAuth
类具有从IUserAuth实现的DigestHa1Hash
属性。 (注意案例在HA
更改)
我使用的是昨天发布的两个NuGet软件包的最新版本(它在早期版本中也失败了)。
任何人都可以提供ServiceStack
和ServiceStack.Authentication.MongoDB
版本的组合吗?
Thsis是MongoDB的认证资源:(https://www.nuget.org/packages/ServiceStack.Authentication.MongoDB)
我使用3.9.68得到了同样的错误 – user1661621
现在应该在刚刚部署的v3.9.69中进行修复。 – mythz
谢谢。是的,我可以确认它适用于3.9.69。 @mythz你介意发布这个答案,以便我可以标记为回答? ServiceStack.Authentication.MongoDB是否有问题跟踪器?项目网站链接链接到Github上的ServiceStack.OrmLite。 – Marek