public AccountController( IIdentityServerInteractionService interaction, IClientStore clientStore, IHttpContextAccessor httpContextAccessor, IAuthenticationSchemeProvider schemeProvider, IEventService events, IMarvinUserRepository marvinUserRepository) { _interaction = interaction; _events = events; MarvinUserRepository = marvinUserRepository; _account = new AccountService(interaction, httpContextAccessor, schemeProvider, clientStore); }
public AccountController( IIdentityServerInteractionService interaction, IClientStore clientStore, IHttpContextAccessor httpContextAccessor, IEventService events, IMarvinUserRepository marvinUserRepository) { // if the TestUserStore is not in DI, then we'll just use the global users collection _marvinUserRepository = marvinUserRepository; //_users = users ?? new TestUserStore(TestUsers.Users); _interaction = interaction; _events = events; _account = new AccountService(interaction, httpContextAccessor, clientStore); }
public AccountController( IIdentityServerInteractionService interaction, IClientStore clientStore, IAuthenticationSchemeProvider schemeProvider, IEventService events, IMarvinUserRepository marvinUserRepository) { // 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) _marvinUserRepository = marvinUserRepository; _interaction = interaction; _clientStore = clientStore; _schemeProvider = schemeProvider; _events = events; }
public UserRegistrationController(IMarvinUserRepository marvinUserRepository, IIdentityServerInteractionService interaction) { _marvinUserRepository = marvinUserRepository; _interaction = interaction; }
public MarvinUserProfileService(IMarvinUserRepository marvinUserRepository) { MarvinUserRepository = marvinUserRepository; }
public UserRegistrationController(IMarvinUserRepository marvinUserRepository, IIdentityServerInteractionService identityInteractionService) { this._marvinUserRepository = marvinUserRepository; this._identityInteractionService = identityInteractionService; }