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