Example #1
0
 public ProfileService(
     IUserClaimsPrincipalFactory <Database.Models.User> claimsFactory, IUserServiceForIdentityServer identityServer, IHttpContextAccessor httpContextAccessor)
 {
     _claimsFactory       = claimsFactory;
     _httpContextAccessor = httpContextAccessor;
     _identityServer      = identityServer;
 }
Example #2
0
 public ExternalController(
     IUserServiceForIdentityServer userService,
     IUserIdentityService userIdentityService,
     IEventService events,
     SignInManager <User> signInManager)
 {
     _userService         = userService;
     _userIdentityService = userIdentityService;
     _events        = events;
     _signInManager = signInManager;
 }
Example #3
0
        public AccountController(
            SignInManager <User> signInManager,
            UserManager <User> userManager,
            IClientStore clientStore,
            IEventService events,
            IIdentityServerInteractionService interaction,
            IHostEnvironment hostEnvironment,
            IUserServiceForIdentityServer userService,
            IConfiguration configuration)
        {
            _signInManager   = signInManager;
            _userManager     = userManager;
            _clientStore     = clientStore;
            _events          = events;
            _interaction     = interaction;
            _hostEnvironment = hostEnvironment;
            _userService     = userService;

            _allowAnotherUserLoginOption = bool.Parse(configuration["AllowAnotherUserLoginOption"]);
        }
 public UserChangeRabbitConsumer(ILogger <UserChangeRabbitConsumer> logger, IUserServiceForIdentityServer service)
     : base(logger)
 {
     _service = service;
 }