Esempio n. 1
0
 public HomeController(IAuthenticationLogic auth, ISkillLogic skill,
                       IMapLogic <Skill, SkillViewModel> mapperSkill)
 {
     _mapperSkill = mapperSkill;
     _auth        = auth;
     _skill       = skill;
 }
      public LoginTests(TestFixture testFixture, ITestOutputHelper output)
      {
          _testFixture = testFixture;
          _output      = output;
          _testFixture.ConfigureServices(_testFixture.ServiceCollection);

          // Get required services
          Services            = _testFixture.ServiceCollection.BuildServiceProvider();
          HeaderLogic         = Services.GetService <IHeaderLogic>();
          AuthenticationLogic = Services.GetService <IAuthenticationLogic>();
      }
 public UserAuthentication(IAuthenticationLogic authentication, IUserLogic userService)
 {
     _authentication = authentication;
     _userService = userService;
 }
Esempio n. 4
0
 public AuthenticationController(IAuthenticationLogic authenticationLogic)
 {
     _authenticationLogic = authenticationLogic;
 }
 public AccountController(IAuthenticationLogic authentication, IMapLogic <Employee, EmployeeDdd> employeeDtoMap,
                          IAdminLogic admLogic)
 {
     _authentication = authentication;
     _admLogic       = admLogic;
 }
 public AuthenticationController(IAuthenticationLogic authenticationLogic, JwtTokenHelper jwtTokenHelper)
 {
     _authenticationLogic = authenticationLogic;
     _jwtTokenHelper      = jwtTokenHelper;
 }
Esempio n. 7
0
 public AuthenticationController(IAuthenticationLogic authenticationLogic)
     : base()
 {
     this.AuthenticationLogic = authenticationLogic;
 }