Skip to content

Commit

Permalink
Merge branch 'main' into hishamco/PdfMediaFileTextProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco authored Nov 6, 2024
2 parents 2dbbbfc + 49b2431 commit c4999b5
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,10 @@ public static OpenIddictCoreBuilder UseYesSql(this OpenIddictCoreBuilder builder
builder.Services.TryAddScoped(typeof(OpenIdScopeStore<>));
builder.Services.TryAddScoped(typeof(OpenIdTokenStore<>));

builder.Services.TryAddEnumerable(new[]
{
ServiceDescriptor.Singleton<IIndexProvider, OpenIdApplicationIndexProvider>(),
ServiceDescriptor.Singleton<IIndexProvider, OpenIdAuthorizationIndexProvider>(),
ServiceDescriptor.Singleton<IIndexProvider, OpenIdScopeIndexProvider>(),
ServiceDescriptor.Singleton<IIndexProvider, OpenIdTokenIndexProvider>()
});
builder.Services.AddIndexProvider<OpenIdApplicationIndexProvider>();
builder.Services.AddIndexProvider<OpenIdAuthorizationIndexProvider>();
builder.Services.AddIndexProvider<OpenIdScopeIndexProvider>();
builder.Services.AddIndexProvider<OpenIdTokenIndexProvider>();

return builder;
}
Expand Down

0 comments on commit c4999b5

Please sign in to comment.