public LoginService(ITokenGeneratorService tokenService, IAlipayService alipayService, IAlipayUserRepository userRepo, ILogger <LoginService> logger) { _logger = logger; this._tokenService = tokenService; this._alipayService = alipayService; _userRepo = userRepo; }
public AggregatorController(DataContext context, ITokenGeneratorService tokenGenerator, IConnectorSenderService connetorSender) { this._context = context; this._tokenGenerator = tokenGenerator; this._connectorSender = connetorSender; }
public TokenService(IRefreshRepository refreshRepository, IUserRepository userRepository, ITokenGeneratorService tokenGeneratorService) { this.refreshRepository = refreshRepository; this.userRepository = userRepository; this.tokenGeneratorService = tokenGeneratorService; }
public IdentityService( UserManager <User> userManager, ITokenGeneratorService jwtTokenGenerator) { this.userManager = userManager; this.jwtTokenGenerator = jwtTokenGenerator; }
public IdentityService(UserManager <User> userManager , ITokenGeneratorService tokenGeneratorService , IBus publisher) { this.userManager = userManager; this.tokenGeneratorService = tokenGeneratorService; this.publisher = publisher; }
public OrderService(ATZBDbContext dbContext , IPasswordValidatorService passwordValidator , ITokenGeneratorService tokenGeneratorService) { _dbContext = dbContext; _passwordValidator = passwordValidator; _tokenGeneratorService = tokenGeneratorService; }
public AuthorizationService(IUserRepository userRepository, IEmailService emailService, IMapper mapper, ITokenGeneratorService token, IRefreshRepository refreshRepository) { this.userRepository = userRepository; this.emailService = emailService; this.mapper = mapper; this.token = token; this.refreshRepository = refreshRepository; }
public void Setup() { _logger = A.Fake <ILogger <LoginService> >(); _tokenService = A.Fake <ITokenGeneratorService>(); _alipayService = A.Fake <IAlipayService>(); _userRepo = A.Fake <IAlipayUserRepository>(); _service = new LoginService(_tokenService, _alipayService, _userRepo, _logger); }
public IdentityService( AppIdentityDbContext ctx, UserManager <User> userManager, ITokenGeneratorService jwtTokenGenerator) { this.ctx = ctx; this.userManager = userManager; this.jwtTokenGenerator = jwtTokenGenerator; }
public IdentityService( UserManager <User> userManager, ITokenGeneratorService jwtTokenGenerator, ILoggedUserService user, IMapper mapper) { this.userManager = userManager; this.jwtTokenGenerator = jwtTokenGenerator; this.user = user; this.mapper = mapper; }
public MemberService(IRoomRepository roomRespository, IAttemptRepository attemptRepository, IMemberRepository memberRepository, ITokenGeneratorService tokenGeneratorService, ITokenRepository tokenRepository, ICacheRepository cacheRepository, IOptions <AuthOptionsConfig> config) { _memberRepository = memberRepository; _attemptRepository = attemptRepository; _roomRepository = roomRespository; _tokenGeneratorService = tokenGeneratorService; _tokenRepository = tokenRepository; _cacheRepository = cacheRepository; _config = config; }
public AuthController(AuthDbContext dbContext, IOptions <AuthOptions> authOptions, ITokenGeneratorService tokenGenerator, IRngGeneratorService rngGenerator, ILogger <AuthController> logger) { _logger = logger; _rngGenerator = rngGenerator; _tokenGenerator = tokenGenerator; _db = dbContext; _authOptions = authOptions.Value; }
public AuthController(IMicrosserviceService microsserviceService, IMapper mapper, SignInManager <IdentityUser> signInUserManager, UserManager <IdentityUser> userManager, ITokenGeneratorService tokenGeneratorService) { _microsserviceService = microsserviceService; _mapper = mapper; _signInUserManager = signInUserManager; _userManager = userManager; _tokenGeneratorService = tokenGeneratorService; }
public AuthenticationController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IUserRepository userRepository, IUserValidatorService userValidatorService, ITokenGeneratorService tokenGeneratorService, IOptions <TokenOptions> tokens, ILogger <AuthenticationController> logger) : base(userManager, logger) { _signInManager = signInManager; _userRepository = userRepository; _tokenOptions = tokens.Value; _userValidatorService = userValidatorService; _tokenGeneratorService = tokenGeneratorService; }
public AuthorizationController( IUserAuthService authService, IMapper mapper, IConfiguration config, ITokenGeneratorService jwtTokenGenerator, IOptions <JwtTokenSecretKey> secret, IOptions <JwtTokenOptions> options, DashboardDbContext context, IOptions <MainUserData> optionsMainUser ) { _authService = authService; _mapper = mapper; _config = config; _jwtTokenGenerator = jwtTokenGenerator; _context = context; _optionsMainUser = optionsMainUser; _jwtTokenSecretKey = secret.Value.jwtTokenSecretKey; _issuer = options.Value.issuer; _audience = options.Value.audience; }
public ServicesTest(IAuthService authService, IUserRepository userRepository, IFileService fileService, ITokenGeneratorService tokenService) { _authService = authService; _fileService = fileService; _userRepository = userRepository; _tokenGeneratorService = tokenService; _Goodinfo = new AuthInfo { Username = "******", Password = "******" }; _UsernameTakenRegister = new AuthInfo { Username = "******", Password = "******" }; _BadUsernameLogin = new AuthInfo { Username = "******", Password = "******" }; _BadPasswordRegister = new AuthInfo { Username = "******", Password = "******" }; _BadPasswordLogin = new AuthInfo { Username = "******", Password = "******" }; }
public TokenController(ITokenGeneratorService tokenGeneratorService, IClaimsService claimsService) { _tokenGeneratorService = tokenGeneratorService; _claimsService = claimsService; }
public AccountController(IDataContext context, ITokenGeneratorService tokenGeneratorService) { this.context = context; this.tokenGeneratorService = tokenGeneratorService; }
public IdentityService(UserManager <User> userManager, ITokenGeneratorService tokenGeneratorService) { this.userManager = userManager; this.tokenGeneratorService = tokenGeneratorService; }
public AuthenticateCommandHandler(IOptionsMonitor <AppSettings> appSettings, ITokenGeneratorService tokenGeneratorService) { _appSettings = appSettings.CurrentValue; _tokenGeneratorService = tokenGeneratorService; }
public TestController(ITokenGeneratorService tokenService) { this._tokenService = tokenService; }
public MicrosserviceController(IMicrosserviceService service, IMapper mapper, ITokenGeneratorService tokenGeneratorService) { _service = service; _mapper = mapper; _tokenGeneratorService = tokenGeneratorService; }
public UserService(IUserRepository userRespository, ITokenGeneratorService tokenGeneratorService) { _userRepository = userRespository; _tokenGeneratorService = tokenGeneratorService; }
public IdentityService(NiceOneIdentityDbContext dbContext, UserManager <User> userManager, ITokenGeneratorService jwtTokenGenerator) : base(dbContext) { this.userManager = userManager; this.jwtTokenGenerator = jwtTokenGenerator; }
public AuthController(IAdminService userService, ITokenGeneratorService tokenGeneratorService) { _userService = userService; _tokenGeneratorService = tokenGeneratorService; }
public AuthService(IUserRepository repo, ITokenGeneratorService tokenServ) { _userRepository = repo; _tokenService = tokenServ; }
public LoginController(IUserRepository userRepository, IHashService hashService, ITokenGeneratorService tokenGeneratorService) { _userRepository = userRepository; _hashService = hashService; _tokenGeneratorService = tokenGeneratorService; }