public OpenIddictScopeManager( [NotNull] IOpenIddictScopeStore <TScope> store, [NotNull] ILogger <OpenIddictScopeManager <TScope> > logger) { Logger = logger; Store = store; }
public AbpOpenIddictScopeCacheAbpOpenIddictAuthorizationCache( IDistributedCache <OpenIddictScopeModel> cache, IDistributedCache <OpenIddictScopeModel[]> arrayCache, IOpenIddictScopeStore <OpenIddictScopeModel> store) : base(cache, arrayCache, store) { }
public OpenIddictScopeManager( [NotNull] IServiceProvider services, [NotNull] IOpenIddictScopeStore <TScope> store, [NotNull] ILogger <OpenIddictAuthorizationManager <TScope> > logger) { Context = services?.GetService <IHttpContextAccessor>()?.HttpContext; Logger = logger; Store = store; }
public OpenIddictScopeCache( IOptionsMonitor <OpenIddictCoreOptions> options, IOpenIddictScopeStoreResolver resolver) { _cache = new MemoryCache(new MemoryCacheOptions { SizeLimit = options.CurrentValue.EntityCacheLimit }); _signals = new ConcurrentDictionary <string, CancellationTokenSource>(StringComparer.Ordinal); _store = resolver.Get <TScope>(); }