public UserController(IOptions <JwtConfig> config, IAuthUnit authUnit, ITaskRepository taskRepository, IMapper mapper) { this.authUnit = authUnit; this.taskRepository = taskRepository; this.mapper = mapper; this.config = config.Value; cryptoService = new PBKDF2(); }
public AsgaAuthenticationService(IAuthUnit unit, IUserDataService userData) : base(unit, userData) { AuthUnit = unit; }
public AuthController(IOptions <JwtConfig> config, IAuthUnit authUnit) { this.config = config.Value; this.authUnit = authUnit; }