using System.Threading.Tasks; using IdentityServer4.Models; using IdentityServer4.Services; namespace UserCenter { public class ProfileService : IProfileService { public Task GetProfileDataAsync(ProfileDataRequestContext context) { return Task.CompletedTask; } public Task IsActiveAsync(IsActiveContext context) { return Task.CompletedTask; } } }