|
@ -13,6 +13,7 @@ using Volo.Abp.IdentityServer.Clients; |
|
|
using Volo.Abp.IdentityServer.IdentityResources; |
|
|
using Volo.Abp.IdentityServer.IdentityResources; |
|
|
using Volo.Abp.MultiTenancy; |
|
|
using Volo.Abp.MultiTenancy; |
|
|
using Volo.Abp.PermissionManagement; |
|
|
using Volo.Abp.PermissionManagement; |
|
|
|
|
|
using Volo.Abp.Security.Claims; |
|
|
using Volo.Abp.Uow; |
|
|
using Volo.Abp.Uow; |
|
|
using ApiResource = Volo.Abp.IdentityServer.ApiResources.ApiResource; |
|
|
using ApiResource = Volo.Abp.IdentityServer.ApiResources.ApiResource; |
|
|
using ApiScope = Volo.Abp.IdentityServer.ApiScopes.ApiScope; |
|
|
using ApiScope = Volo.Abp.IdentityServer.ApiScopes.ApiScope; |
|
@ -77,7 +78,9 @@ namespace WY.NewJit.IdentityServer |
|
|
"name", |
|
|
"name", |
|
|
"phone_number", |
|
|
"phone_number", |
|
|
"phone_number_verified", |
|
|
"phone_number_verified", |
|
|
"role" |
|
|
"role", |
|
|
|
|
|
AbpClaimTypes.UserId, |
|
|
|
|
|
AbpClaimTypes.UserName |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
await CreateApiResourceAsync("NewJit", commonApiUserClaims); |
|
|
await CreateApiResourceAsync("NewJit", commonApiUserClaims); |
|
|