Beispiel #1
0
 public CreateLocalUserCommandHandler(
     ILocalUserService userService, IProfilePictureService profilePictureService, ILogger <CreateLocalUserCommandHandler> logger)
 {
     this._userService           = userService;
     this._profilePictureService = profilePictureService;
     this._logger = logger;
 }
 public UserRegistrationController(
     ILocalUserService localUserService,
     IIdentityServerInteractionService interaction)
 {
     _localUserService = localUserService;
     _interaction      = interaction;
 }
Beispiel #3
0
 public UserRegistrationController(ILocalUserService localUserService,
                                   IIdentityServerInteractionService interaction)
 {
     _localUserService = localUserService ??
                         throw new ArgumentNullException(nameof(localUserService));
     _interaction = interaction ??
                    throw new ArgumentNullException(nameof(interaction));
 }
Beispiel #4
0
 public DeleteLocalUserCommandHandler(
     IUserIdTokenExtractor userIdTokenExtractor,
     ILocalUserService userService, ILogger <DeleteLocalUserCommandHandler> logger)
 {
     _userIdTokenExtractor = userIdTokenExtractor;
     this._userService     = userService;
     this._logger          = logger;
 }
Beispiel #5
0
 public UserController(ILogger <UserController> logger,
                       ILocalUserService localUserService,
                       IMapper mapper)
 {
     _logger           = logger;
     _localUserService = localUserService;
     _mapper           = mapper;
 }
 public AccountController(
     IIdentityServerInteractionService interaction,
     IClientStore clientStore,
     IHttpContextAccessor httpContextAccessor,
     ILocalUserService userService)
 {
     _interaction = interaction;
     _userService = userService;
     _account     = new AccountService(interaction, httpContextAccessor, clientStore);
 }
Beispiel #7
0
 public AccountController(
     IIdentityServerInteractionService interaction,
     IClientStore clientStore,
     IAuthenticationSchemeProvider schemeProvider,
     IEventService events, ILocalUserService localUserService)
 {
     _localUserService = localUserService ?? throw new ArgumentNullException(nameof(localUserService));
     _interaction      = interaction;
     _clientStore      = clientStore;
     _schemeProvider   = schemeProvider;
     _events           = events;
 }
Beispiel #8
0
 public UsersController(ILocalUserService localUserService,
                        IIdentityServerInteractionService interaction,
                        IUsersService usersService,
                        IRolesService rolesService,
                        IMapper mapper)
 {
     UsersService      = usersService;
     _mapper           = mapper;
     _localUserService = localUserService;
     _interaction      = interaction;
     _rolesService     = rolesService;
 }
Beispiel #9
0
 public LocalUserController(
     IMediator mediator,
     ILocalUserService localUserService,
     IProfilePictureService profilePictureService,
     ILogger <LocalUserController> logger
     )
 {
     _mediator                   = mediator ?? throw new ArgumentNullException(nameof(mediator));
     _localUserService           = localUserService;
     this._profilePictureService = profilePictureService ?? throw new ArgumentNullException(nameof(profilePictureService));
     _logger = logger;
 }
Beispiel #10
0
 public ExternalController(
     IIdentityServerInteractionService interaction,
     IClientStore clientStore,
     IEventService events,
     ILogger <ExternalController> logger,
     ILocalUserService localUserService)
 {
     _interaction      = interaction;
     _clientStore      = clientStore;
     _logger           = logger;
     _events           = events;
     _localUserService = localUserService;
 }
Beispiel #11
0
 public ExternalController(
     IIdentityServerInteractionService interaction,
     IClientStore clientStore,
     IEventService events,
     ILogger <ExternalController> logger,
     ILocalUserService localUserService)
 {
     _localUserService = localUserService ?? throw new ArgumentNullException(nameof(localUserService));
     _interaction      = interaction;
     _clientStore      = clientStore;
     _logger           = logger;
     _events           = events;
 }
Beispiel #12
0
        public ExternalController(
            IIdentityServerInteractionService interaction,
            IClientStore clientStore,
            IEventService events,
            ILogger <ExternalController> logger,
            ILocalUserService localUserService)
        {
            // if the TestUserStore is not in DI, then we'll just use the global users collection
            // this is where you would plug in your own custom identity management library (e.g. ASP.NET Identity)
            _localUserService = localUserService;

            _interaction = interaction;
            _clientStore = clientStore;
            _logger      = logger;
            _events      = events;
        }
Beispiel #13
0
 public AccountController(
     UserManager <BeerUser> userManager,
     SignInManager <BeerUser> signInManager,
     ILocalUserService localUserService,
     IIdentityServerInteractionService interaction,
     IClientStore clientStore,
     IAuthenticationSchemeProvider schemeProvider,
     IEventService events,
     IStringLocalizer <SharedResources> localizer)
 {
     _userManager           = userManager;
     _signInManager         = signInManager;
     this._localUserService = localUserService;
     _interaction           = interaction;
     _clientStore           = clientStore;
     _schemeProvider        = schemeProvider;
     _events    = events;
     _localizer = localizer;
 }
Beispiel #14
0
        public AccountController(
            IIdentityServerInteractionService interaction,
            IClientStore clientStore,
            IUsersService usersService,
            IAuthenticationSchemeProvider schemeProvider,
            IEventService events,
            ILocalUserService localUserService,
            AuthenticationProviderContextService authenticationProvider)
        {
            // if the TestUserStore is not in DI, then we'll just use the global users collection
            // this is where you would plug in your own custom identity management library (e.g. ASP.NET Identity)
            _localUserService = localUserService
                                ?? throw new ArgumentNullException(nameof(localUserService));
            _authenticationProvider = authenticationProvider;

            _interaction    = interaction;
            _clientStore    = clientStore;
            _usersService   = usersService;
            _schemeProvider = schemeProvider;
            _events         = events;
        }
 public UserRegistrationController(
     ILocalUserService localUserService,
     IIdentityServerInteractionService interaction,
     IConfiguration configuration,
     IRootConfiguration rootConfiguration,
     IEmailService emailService,
     IWebHostEnvironment environment
     )
 {
     _localUserService = localUserService ??
                         throw new ArgumentNullException(nameof(localUserService));
     _interaction = interaction ??
                    throw new ArgumentNullException(nameof(interaction));
     _configuration = configuration ??
                      throw new ArgumentNullException(nameof(configuration));
     _rootConfiguration = rootConfiguration ??
                          throw new ArgumentNullException(nameof(rootConfiguration));
     _emailService = emailService ??
                     throw new ArgumentNullException(nameof(emailService));
     Environment = environment ??
                   throw new ArgumentNullException(nameof(environment));
 }
Beispiel #16
0
 public LocalProfileService(ILocalUserService userService)
 {
     _userService = userService;
 }
Beispiel #17
0
 public AuthClaimsTransformation(ILocalUserService localUserService)
 {
     _localUserService = localUserService;
 }
 public PasswordResetController(
     ILocalUserService localUserService)
 {
     _localUserService = localUserService ??
                         throw new ArgumentNullException(nameof(localUserService));
 }
Beispiel #19
0
 public FirstSetupController(DefaultResourcesManager defaultResourcesManager, ILocalUserService localUserService)
 {
     _defaultResourcesManager = defaultResourcesManager;
     _localUserService        = localUserService;
 }
 public LocalUserProfileService(ILocalUserService localUserService)
 {
     _localUserService = localUserService;
 }
 public MfaRegistrationController(
     ILocalUserService localUserService)
 {
     _localUserService = localUserService ??
                         throw new ArgumentNullException(nameof(localUserService));
 }
Beispiel #22
0
 public MCustomTokenValidator(ILocalUserService localUserService)
 {
     LocalUserService = localUserService;
 }
Beispiel #23
0
 public LocalUserProfileService(ILocalUserService localUserService)
 {
     _localUserService = localUserService ??
                         throw new ArgumentNullException(nameof(localUserService));
 }
Beispiel #24
0
 public ResetLocalUserPasswordCommandHandler(
     ILocalUserService userService, ILogger <ResetLocalUserPasswordCommandHandler> logger)
 {
     this._userService = userService;
     this._logger      = logger;
 }
 public PasswordResetController(ILocalUserService localUserService)
 {
     _localUserService = localUserService;
 }