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();
        }
Esempio n. 2
0
 public AsgaAuthenticationService(IAuthUnit unit, IUserDataService userData) : base(unit, userData)
 {
     AuthUnit = unit;
 }
Esempio n. 3
0
 public AuthController(IOptions <JwtConfig> config, IAuthUnit authUnit)
 {
     this.config   = config.Value;
     this.authUnit = authUnit;
 }