ApiAuthorizationDbContext<TUser> Class

Definition

Database abstraction for a combined DbContext using ASP.NET Identity and Identity Server.

C#
public class ApiAuthorizationDbContext<TUser> : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<TUser>, IdentityServer4.EntityFramework.Interfaces.IPersistedGrantDbContext, IDisposable where TUser : IdentityUser
C#
public class ApiAuthorizationDbContext<TUser> : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<TUser>, Duende.IdentityServer.EntityFramework.Interfaces.IPersistedGrantDbContext, IDisposable where TUser : IdentityUser

Type Parameters

TUser
Inheritance
Implements
IdentityServer4.EntityFramework.Interfaces.IPersistedGrantDbContext IDisposable Duende.IdentityServer.EntityFramework.Interfaces.IPersistedGrantDbContext

Constructors

Properties

Methods

OnModelCreating(ModelBuilder)

Configures the schema needed for the identity framework.

Explicit Interface Implementations

Applies to

Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0