public UserRegistrationController(IQuantusUserRepository quantusUserRepository, IIdentityServerInteractionService interaction, IHttpContextAccessor httpContextAccessor) { _quantusUserRepository = quantusUserRepository; _interaction = interaction; _httpContextAccssor = httpContextAccessor; }
public AccountController( IIdentityServerInteractionService interaction, IClientStore clientStore, IAuthenticationSchemeProvider schemeProvider, IEventService events, //TestUserStore users = null IQuantusUserRepository quantusUserRepository ) { // 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) //_users = users ?? new TestUserStore(TestUsers.Users); _quantusUserRepository = quantusUserRepository; _interaction = interaction; _clientStore = clientStore; _schemeProvider = schemeProvider; _events = events; }
public QuantusUserProfileService(IQuantusUserRepository marvinUserRepository) { _marvinUserRepository = marvinUserRepository; }