public AuthorizationHelper(IMapper mapper, IConfiguration configuration, IFakeUserRepository userRepository) { Client = new HttpClient(); Mapper = mapper; Configuration = configuration; UserRepository = userRepository; Client.DefaultRequestHeaders.Add("CommunicationKey", Configuration["CommunicationKey:Key"]); }
public FormsSecurityManager(IFakeUserRepository usrRepository) { _usrRepository = usrRepository; }