【发布时间】:2019-04-19 06:39:56
【问题描述】:
您可以通过请求令牌来获取令牌(如下例所示)。
但是如何从 identityserver 类中获取(客户端凭据)访问令牌(无需通过 http POST Web 服务 api 请求)?是否有用于获取访问令牌的 identityserver4 方法?
http://docs.identityserver.io/en/release/endpoints/token.html
POST /connect/token
client_id=client1&
client_secret=secret&
grant_type=authorization_code&
code=hdh922&
redirect_uri=https://myapp.com/callback
【问题讨论】:
标签: c# asp.net oauth access-token identityserver4