public AuthService( IUserRepository userRepository, IActionLogService actionLogService, IJwtAuth jwt ) { _actionLogService = actionLogService; _userRepository = userRepository; _jwt = jwt; }
public AuthController( IUsersDomain usersDomain, IJwtAuth jwtAuth, ILogger <AuthController> logger ) { _usersDomain = usersDomain; _jwtAuth = jwtAuth; _logger = logger; }
public SessionController(ILogger <SessionController> logger, IUserRepository userRepository, IJwtAuth jwtAuth, IPasswordProvider passwordProvider, IOAuth oauth) { _logger = logger; _userRepository = userRepository; _jwtAuth = jwtAuth; _passwordProvider = passwordProvider; _oauth = oauth; }
public OAuth(IJwtAuth jwtAuth, ICacheManager cacheManager, ILogger <OAuth> logger, IOptions <OAuthConfig> optionsOauth, IUserRepository userRepository) { _jwtAuth = jwtAuth; _cacheManager = cacheManager; _logger = logger; _userRepository = userRepository; _oauthConfig = optionsOauth.Value; }
public AuthController(ILoggerFactory logger, IUserRepository userRepository, IJwtAuth jwt) { Logger = logger.CreateLogger(GetType()) ?? throw new ArgumentNullException(nameof(Logger)); UserRepository = userRepository ?? throw new ArgumentNullException(nameof(UserRepository)); Jwt = jwt ?? throw new ArgumentNullException(nameof(Jwt)); }
public Account(IRespository.IRepository <User> context, IJwtAuth auth) { _context = context; _auth = auth; }
public CustomersController(IAbpHplDbContext abpHplDb, IJwtAuth jwtAuth) { _abpHplDb = abpHplDb; _jwtAuth = jwtAuth; }