Take OpenIddict's context seam in the in-memory application store

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-27 04:13:59 +01:00
commit 1ef289ab45

View file

@ -254,13 +254,14 @@ public sealed class OidcInMemoryStoreFactory : OidcWebApplicationFactory
private sealed class RowOnlyApplicationStore(
IMemoryCache cache,
BifrostDbContext context,
IOptionsMonitor<OpenIddictEntityFrameworkCoreOptions> options)
IOpenIddictEntityFrameworkCoreContext openIddictContext,
IOptionsMonitor<OpenIddictEntityFrameworkCoreOptions> options,
BifrostDbContext context)
: OpenIddictEntityFrameworkCoreApplicationStore<
OpenIddictEntityFrameworkCoreApplication,
OpenIddictEntityFrameworkCoreAuthorization,
OpenIddictEntityFrameworkCoreToken,
string>(cache, context, options)
string>(cache, openIddictContext, options)
{
public override async ValueTask DeleteAsync(OpenIddictEntityFrameworkCoreApplication application, CancellationToken cancellationToken)
{