Dela via


ApiAuthorizationDbContext<TUser> Constructors

Definition

Overloads

ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>)

Initializes a new instance of ApiAuthorizationDbContext<TUser>.

ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>)

Initializes a new instance of ApiAuthorizationDbContext<TUser>.

ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>)

Source:
ApiAuthorizationDbContext.cs
Source:
ApiAuthorizationDbContext.cs
Source:
ApiAuthorizationDbContext.cs

Initializes a new instance of ApiAuthorizationDbContext<TUser>.

public ApiAuthorizationDbContext (Microsoft.EntityFrameworkCore.DbContextOptions options, Microsoft.Extensions.Options.IOptions<Duende.IdentityServer.EntityFramework.Options.OperationalStoreOptions> operationalStoreOptions);
new Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiAuthorizationDbContext<'User (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser)> : Microsoft.EntityFrameworkCore.DbContextOptions * Microsoft.Extensions.Options.IOptions<Duende.IdentityServer.EntityFramework.Options.OperationalStoreOptions> -> Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiAuthorizationDbContext<'User (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser)>
Public Sub New (options As DbContextOptions, operationalStoreOptions As IOptions(Of OperationalStoreOptions))

Parameters

operationalStoreOptions
IOptions<Duende.IdentityServer.EntityFramework.Options.OperationalStoreOptions>

The IOptions<TOptions>.

Applies to

ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>)

Source:
ApiAuthorizationDbContext.cs
Source:
ApiAuthorizationDbContext.cs
Source:
ApiAuthorizationDbContext.cs

Initializes a new instance of ApiAuthorizationDbContext<TUser>.

public:
 ApiAuthorizationDbContext(Microsoft::EntityFrameworkCore::DbContextOptions ^ options, Microsoft::Extensions::Options::IOptions<IdentityServer4::EntityFramework::Options::OperationalStoreOptions ^> ^ operationalStoreOptions);
public ApiAuthorizationDbContext (Microsoft.EntityFrameworkCore.DbContextOptions options, Microsoft.Extensions.Options.IOptions<IdentityServer4.EntityFramework.Options.OperationalStoreOptions> operationalStoreOptions);
new Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiAuthorizationDbContext<'User (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser)> : Microsoft.EntityFrameworkCore.DbContextOptions * Microsoft.Extensions.Options.IOptions<IdentityServer4.EntityFramework.Options.OperationalStoreOptions> -> Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiAuthorizationDbContext<'User (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser)>
Public Sub New (options As DbContextOptions, operationalStoreOptions As IOptions(Of OperationalStoreOptions))

Parameters

operationalStoreOptions
IOptions<IdentityServer4.EntityFramework.Options.OperationalStoreOptions>

The IOptions<TOptions>.

Applies to