摘要:
1、在nuget里添加引用 IdentityServer4.AspNetIdentity 2、下面的代码能获得accesstoken var result = HttpContext.GetTokenAsync(OpenIdConnectParameterNames.AccessToken).Res 阅读全文
摘要:
public static IEnumerable<IdentityResource> GetIdentityResources() { return new IdentityResource[] { new IdentityResources.OpenId(), new IdentityResou 阅读全文