ApiAuthorizationDbContext<TUser> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Database abstraction for a combined DbContext using ASP.NET Identity and Identity Server.
generic <typename TUser>
where TUser : IdentityUserpublic ref class ApiAuthorizationDbContext : Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityDbContext<TUser>, IdentityServer4::EntityFramework::Interfaces::IPersistedGrantDbContext, IDisposable
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 ApiAuthorizationDbContext<'User (requires 'User :> IdentityUser)> = class
inherit IdentityDbContext<'User (requires 'User :> IdentityUser)>
interface IPersistedGrantDbContext
interface IDisposable
Public Class ApiAuthorizationDbContext(Of TUser)
Inherits IdentityDbContext(Of TUser)
Implements IDisposable, IPersistedGrantDbContext
- TUser
- Inheritance
-
IdentityDbContext<TUser,TRole,TKey,IdentityUserClaim<TKey>,IdentityUserRole<TKey>,IdentityUserLogin<TKey>,IdentityRoleClaim<TKey>,IdentityUserToken<TKey>>ApiAuthorizationDbContext<TUser>
- Implements
-
Identity
Server4.Entity IDisposable Duende.Framework. Interfaces. IPersisted Grant DbContext Identity Server. Entity Framework. Interfaces. IPersisted Grant DbContext
Api |
Initializes a new instance of ApiAuthorizationDbContext<TUser>. |
Api |
Initializes a new instance of ApiAuthorizationDbContext<TUser>. |
On |
Configures the schema needed for the identity framework. |
Product | Versions |
---|---|
ASP.NET Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |