Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含用户的数据库,我将如何开始使用 IdentityServer 创建我的用户的自定义实现?我见过的所有示例都使用InMemoryUser硬编码的值。
InMemoryUser
可以将此作为指导方针吗?
是的,这是一个很好的观点。在 IndentityServer v3 中有一个 interface( IUserService) 可以与用户存储进行交互。您可以使用 MembershipReboot 或 Asp.net Identity 来实现接口。希望这有帮助。
IUserService