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 AuthenticationProviderController(IAuthenticationProviderService authenticationProviderService, IMapper mapper, AuthenticationProviderContextService authenticationProvider) { _authenticationProviderService = authenticationProviderService; _mapper = mapper; _authenticationProvider = authenticationProvider; }