public ApplicationManager(IOpenIddictApplicationStore <Applications> applicationStore, ILogger <OpenIddictApplicationManager <Applications> > logger, ApplicationStore store ) : base(applicationStore, logger) { Store = store; }
public OpenIddictApplicationManager( [NotNull] IOpenIddictApplicationStore <TApplication> store, [NotNull] ILogger <OpenIddictApplicationManager <TApplication> > logger) { Store = store; Logger = logger; }
public AbpOpenIddictApplicationCache( IDistributedCache <OpenIddictApplicationModel> cache, IDistributedCache <OpenIddictApplicationModel[]> arrayCache, IOpenIddictApplicationStore <OpenIddictApplicationModel> store) : base(cache, arrayCache, store) { }
public ApplicationApplicationManager( IOpenIddictApplicationStore <DynamoIdentityApplication> store, ILogger <OpenIddictApplicationManager <DynamoIdentityApplication> > logger) : base(store, logger) { _store = store as DynamoApplicationStore <DynamoIdentityApplication, DynamoIdentityToken>; }
public ApplicationManager( IOpenIddictApplicationStore <TApplication> store, ILogger <OpenIddictApplicationManager <TApplication> > logger) : base(store, logger) { //Store = store; // = logger; }
public OpenIddictApplicationManager( [NotNull] IServiceProvider services, [NotNull] IOpenIddictApplicationStore <TApplication> store, [NotNull] ILogger <OpenIddictApplicationManager <TApplication> > logger) { Context = services?.GetRequiredService <IHttpContextAccessor>()?.HttpContext; Store = store; Logger = logger; }
public OpenIddictApplicationCache( [NotNull] IOptionsMonitor <OpenIddictCoreOptions> options, [NotNull] IOpenIddictApplicationStoreResolver resolver) { _cache = new MemoryCache(new MemoryCacheOptions { SizeLimit = options.CurrentValue.EntityCacheLimit }); _signals = new ConcurrentDictionary <string, CancellationTokenSource>(StringComparer.Ordinal); _store = resolver.Get <TApplication>(); }
public async Task <CreateAuthorizationPayload> CreateAuthorizationAsync( [Service] IOpenIddictApplicationStore <ApplicationAuthorization> service, AuthorizationInput input, CancellationToken cancellationToken) { var apiResource = input.Adapt <ApplicationAuthorization>(); await service.CreateAsync(apiResource, cancellationToken); return(new CreateAuthorizationPayload { Authorization = apiResource }); }
public AbpOpenIddictApplicationStore_Tests() { _applicationStore = ServiceProvider.GetRequiredService <IOpenIddictApplicationStore <OpenIddictApplicationModel> >(); }