Beispiel #1
0
 public UserService(IUserRepository userRepository, IRoleRepository roleRepository, ITeamRepository teamRepository, ILdapAuthenticationModeRepository ldapAuthenticationModeRepository, IMapper mapper, ILdapConnectionService ldapConnectionService)
 {
     this.userRepository = userRepository;
     this.roleRepository = roleRepository;
     this.teamRepository = teamRepository;
     this.ldapAuthenticationModeRepository = ldapAuthenticationModeRepository;
     this.mapper = mapper;
     this.ldapConnectionService = ldapConnectionService;
 }
 public CustomSignInManager(UserManager <TUser> userManager, IHttpContextAccessor contextAccessor, IUserClaimsPrincipalFactory <TUser> claimsFactory,
                            IOptions <IdentityOptions> optionsAccessor, ILogger <SignInManager <TUser> > logger, A3SContext a3SContext, IAuthenticationSchemeProvider authenticationSchemeProvider,
                            ILdapAuthenticationModeRepository ldapAuthenticationModeRepository, ILdapConnectionService ldapConnectionService, IUserConfirmation <TUser> userConfirmation)
     : base(userManager, contextAccessor, claimsFactory, optionsAccessor, logger, authenticationSchemeProvider, userConfirmation)
 {
     this.a3SContext = a3SContext;
     this.logger     = logger;
     this.ldapAuthenticationModeRepository = ldapAuthenticationModeRepository;
     this.ldapConnectionService            = ldapConnectionService;
 }
Beispiel #3
0
 public LdapAuthenticationModeService(ILdapAuthenticationModeRepository ldapAuthenticationModeRepository, IMapper mapper, ILdapConnectionService ldapConnectionService)
 {
     this.ldapAuthenticationModeRepository = ldapAuthenticationModeRepository;
     this.ldapConnectionService            = ldapConnectionService;
     this.mapper = mapper;
 }