Example #1
0
 public AccountService(UserManager <ApplicationUser> userManager,
                       SignInManager <ApplicationUser> signInManager,
                       ISecurityTokenRepository securityTokenRepository,
                       IJwtFactory jwtFactory,
                       IOptions <AppSettings> appSettingsOptions,
                       IEmailSender emailSender,
                       IMapper mapper
                       )
 {
     _userManager              = userManager;
     _signInManager            = signInManager;
     _securityTokensRepository = securityTokenRepository;
     _jwtFactory  = jwtFactory;
     _appSettings = appSettingsOptions.Value;
     _emailSender = emailSender;
     _mapper      = mapper;
 }
 public SecurityTokenService(ISecurityTokenRepository securityTokenRepository, IUnitOfWork unitOfWork)
 {
     this.securityTokenRepository = securityTokenRepository;
     this.unitOfWork = unitOfWork;
 }
Example #3
0
 public GettyImageRepository(IWebClient webClient, ISecurityTokenRepository securityTokenRepository)
 {
     _webClient = webClient;
     _securityTokenRepository = securityTokenRepository;
 }
 public SecurityTokenService(ISecurityTokenRepository securityTokenRepository, IUnitOfWork unitOfWork)
 {
     this.securityTokenRepository = securityTokenRepository;
     this.unitOfWork = unitOfWork;
 }
 public SecurityTokenService(ISecurityTokenRepository securityTokenRepository, IUnitOfWork unitOfWork)
 {
     _securityTokenRepository = securityTokenRepository;
     _unitOfWork = unitOfWork;
 }