/// <summary> /// /// </summary> /// <param name="schemes"></param> /// <param name="memoryCache"></param> /// <param name="cacheHelp"></param> /// <param name="logger"></param> public PolicyHandler(IAuthenticationSchemeProvider schemes, MyMemoryCache memoryCache, CacheHelp cacheHelp, ILogger <PolicyHandler> logger) { Schemes = schemes; _cache = memoryCache.Cache; _cacheHelp = cacheHelp; _logger = logger; }
public CacheHelp(MyMemoryCache memoryCache, IRoleService roleService, IAuthService authService, IConfiguration configuration) { _cache = memoryCache.Cache; _roleService = roleService; _authService = authService; _configuration = configuration; }
public AuthController(IAuthService service, MyMemoryCache myMemoryCache, CacheHelp cacheHelp) { _service = service; _cache = myMemoryCache.Cache; _cacheHelp = cacheHelp; }
public CacheHelp(MyMemoryCache memoryCache, IRoleService roleService, IAuthService authService) { _cache = memoryCache.Cache; _roleService = roleService; _authService = authService; }