使用它作为我们不同api的令牌生成器。我们将使用identityserver4来保护我们从dotnetframework而不是.netcore构建的api
找到了解决方案。可以使用identityserver3.accesstoken https://github.com/IdentityServer/IdentityServer4/issues/1908解决