public ProxyController(IAccountGateway accountServices, ICustomerGateway customerService, IIdentityGateway identityService) { _accountServices = accountServices; _customerService = customerService; _identityService = identityService; }
public SearchController( IErrorRepository errorRepository, ILogRepository logRepository, IIdentityGateway identityGateway ) : base(identityGateway) { _logRepository = logRepository; }
public WhoAmiController( ILogRepository logRepository, IErrorRepository errorRepository, IIdentityGateway identityGateway ) : base(identityGateway) { _logRepository = logRepository; _errorRepository = errorRepository; }
public ErrorController( ILogRepository logRepository, IErrorRepository errorRepository, IIdentityGateway identityGateway, IEmailSender emailSender ) : base(identityGateway) { _logRepository = logRepository; _errorRepository = errorRepository; _emailSender = emailSender; }
public UsersController( IIdentityGateway identityGateway, IUserRepository userRepository, IRoleRepository roleRepository, ILogRepository logRepository ) : base(identityGateway) { _userRepository = userRepository; _roleRepository = roleRepository; _logRepository = logRepository; }
public AccountsController(IIdentityGateway identityGateway, IUserRepository userRepository, IEmailSender emailSender, ILogRepository logRepository, IRoleRepository roleRepository, IEmailTemplateRenderer emailTemplateRenderer ) : base(identityGateway) { _identityGateway = identityGateway; _userRepository = userRepository; _emailSender = emailSender; _logRepository = logRepository; _roleRepository = roleRepository; _emailTemplateRenderer = emailTemplateRenderer; }
public LogsController( IRoleRepository roleRepository, ILogRepository logRepository, IErrorRepository errorRepository, IIdentityGateway identityGateway, IJobRunner jobRunner, IUserRepository userRepository, INotificationRepository notificationRepository ) : base(identityGateway) { _logRepository = logRepository; _errorRepository = errorRepository; _jobRunner = jobRunner; _userRepository = userRepository; _roleRepository = roleRepository; _notificationRepository = notificationRepository; }
public BaseApiController(IIdentityGateway identityGateway) { IdentityGateway = identityGateway; Identity = AuthProvider.Identity(); if (!Identity.IsAuthenticated) { return; } Auth0User = IdentityGateway.FindIdentiyClaims(); if (Auth0User == null) { return; } UserRepository userRepository = new UserRepository(); var userId = userRepository.GetIdByAuth0Id(Auth0User.UserId); CurrentUserId = userId; IsDbUser = false; }
public AdminController(IIdentityGateway identityGateway) : base(identityGateway) { }