ApiAuthorizationDbContext<TUser> Class
Definition
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
public class ApiAuthorizationDbContext<TUser> : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<TUser>, IdentityServer4.EntityFramework.Interfaces.IPersistedGrantDbContext, IDisposable where TUser : IdentityUser
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
Type Parameters
- TUser
- Inheritance
-
IdentityDbContext<TUser,TRole,TKey,IdentityUserClaim<TKey>,IdentityUserRole<TKey>,IdentityUserLogin<TKey>,IdentityRoleClaim<TKey>,IdentityUserToken<TKey>>ApiAuthorizationDbContext<TUser>
- Implements
-
IdentityServer4.EntityFramework.Interfaces.IPersistedGrantDbContext IDisposable Duende.IdentityServer.EntityFramework.Interfaces.IPersistedGrantDbContext
Constructors
ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>) |
Initializes a new instance of ApiAuthorizationDbContext<TUser>. |
ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>) |
Initializes a new instance of ApiAuthorizationDbContext<TUser>. |
Properties
Methods
OnModelCreating(ModelBuilder) |
Configures the schema needed for the identity framework. |
Explicit Interface Implementations
IPersistedGrantDbContext.SaveChangesAsync() | |
IPersistedGrantDbContext.SaveChangesAsync() |