public OpenIddictAuthorizationManager( [NotNull] IOpenIddictAuthorizationStore <TAuthorization> store, [NotNull] ILogger <OpenIddictAuthorizationManager <TAuthorization> > logger) { Logger = logger; Store = store; }
public AbpOpenIddictAuthorizationCache( IDistributedCache <OpenIddictAuthorizationModel> cache, IDistributedCache <OpenIddictAuthorizationModel[]> arrayCache, IOpenIddictAuthorizationStore <OpenIddictAuthorizationModel> store) : base(cache, arrayCache, store) { }
public OpenIddictAuthorizationManager( [NotNull] IServiceProvider services, [NotNull] IOpenIddictAuthorizationStore <TAuthorization> store, [NotNull] ILogger <OpenIddictAuthorizationManager <TAuthorization> > logger) { Context = services?.GetService <IHttpContextAccessor>()?.HttpContext; Logger = logger; Store = store; }
public OpenIddictAuthorizationCache( IOptionsMonitor <OpenIddictCoreOptions> options, IOpenIddictAuthorizationStoreResolver resolver) { _cache = new MemoryCache(new MemoryCacheOptions { SizeLimit = options.CurrentValue.EntityCacheLimit }); _signals = new ConcurrentDictionary <string, CancellationTokenSource>(StringComparer.Ordinal); _store = resolver.Get <TAuthorization>(); }
public ApplicationAuthorizationManager(IOpenIddictAuthorizationStore <TAuthorization> store, ILogger <OpenIddictAuthorizationManager <TAuthorization> > logger) : base(store, logger) { _store = store as DynamoAuthorizationStore <TAuthorization>; }