Ejemplo n.º 1
0
 public IdentityController(ConfiguredDiscoverCacheContainerFactory configuredDiscoverCacheContainerFactory,
                           IMemoryCache memoryCache)
 {
     _configuredDiscoverCacheContainerFactory = configuredDiscoverCacheContainerFactory;
     _discoveryContainer = _configuredDiscoverCacheContainerFactory.Get("p7identityserver4");
     _memoryCache        = memoryCache;
     _providerValidator  = new ProviderValidator(_discoveryContainer, _memoryCache);
 }
Ejemplo n.º 2
0
 public FrontChannelLogoutModel(
     SignInManager <ApplicationUser> signInManager,
     ConfiguredDiscoverCacheContainerFactory configuredDiscoverCacheContainerFactory,
     ILogger <FrontChannelLogoutModel> logger)
 {
     _signInManager = signInManager;
     _configuredDiscoverCacheContainerFactory = configuredDiscoverCacheContainerFactory;
     _logger = logger;
 }
 public FrontChannelLogoutModel(
     SignInManager <IdentityUser> signInManager,
     UserManager <IdentityUser> userManager,
     ConfiguredDiscoverCacheContainerFactory configuredDiscoverCacheContainerFactory,
     ILogger <FrontChannelLogoutModel> logger)
 {
     _signInManager = signInManager;
     _userManager   = userManager;
     _configuredDiscoverCacheContainerFactory = configuredDiscoverCacheContainerFactory;
     _logger = logger;
 }