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