This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
using IdentityServer4.Models;
|
||||
using IdentityServer4.Services;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Security.Claims;
|
||||
using System.Threading.Tasks;
|
||||
@@ -11,10 +13,12 @@ namespace HanyadikHetVan.Infrastructure
|
||||
public class ProfileService : IProfileService
|
||||
{
|
||||
private readonly UserManager<User> userManager;
|
||||
private readonly ILogger<ProfileService> _logger;
|
||||
|
||||
public ProfileService(UserManager<User> userManager)
|
||||
public ProfileService(UserManager<User> userManager, ILogger<ProfileService> logger)
|
||||
{
|
||||
this.userManager = userManager;
|
||||
this._logger = logger;
|
||||
}
|
||||
|
||||
public async Task GetProfileDataAsync(ProfileDataRequestContext context)
|
||||
|
||||
Reference in New Issue
Block a user