Getting Scopes and Clients from Database instead of InMemoryClients & InMemoryScopes Identity Server 3

可紊 提交于 2020-01-04 01:06:20

问题


I want to read Scopes and Clients from database instead of InMemoryClients & InMemoryScopes in Identity Server 3.

Any one please help me how to read how we can achieve this in identity server 3. Thanks in advance.


回答1:


From the docs (https://identityserver.github.io/Documentation/docsv2/ef/overview.html):

If scope or client data is desired to be loaded from a database (rather than use in-memory configuration), then we provide a Entity Framework based implementations of the IClientStore and IScopeStore services.

If you do not wish to use Entity Framework, you just need to implement these two interfaces yourself.



来源:https://stackoverflow.com/questions/40738096/getting-scopes-and-clients-from-database-instead-of-inmemoryclients-inmemorysc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!