IdentityBuilder
IdentityBuilder(Type, IServiceCollection)
IdentityBuilder(Type, Type, IServiceCollection)
RoleType
Services
UserType
AddClaimsPrincipalFactory<TFactory>()
AddErrorDescriber<TDescriber>()
AddPasswordValidator<TValidator>()
AddPersonalDataProtection<TProtector, TKeyRing>()
AddRoleManager<TRoleManager>()
AddRoles<TRole>()
AddRoleStore<TStore>()
AddRoleValidator<TRole>()
AddTokenProvider(String, Type)
AddTokenProvider<TProvider>(String)
AddUserConfirmation<TUserConfirmation>()
AddUserManager<TUserManager>()
AddUserStore<TStore>()
AddUserValidator<TValidator>()
AddApiEndpoints(IdentityBuilder)
AddDefaultTokenProviders(IdentityBuilder)
AddDefaultUI(IdentityBuilder)
AddDefaultUI(IdentityBuilder, UIFramework)
AddEntityFrameworkStores<TContext>(IdentityBuilder)
AddSignInManager(IdentityBuilder)
AddSignInManager<TSignInManager>(IdentityBuilder)
net10.0-windows7.0
namespace Microsoft.Extensions.DependencyInjection
{
public static class IdentityEntityFrameworkBuilderExtensions
{
public static IdentityBuilder! AddEntityFrameworkStores<TContext>(this IdentityBuilder! builder)
where TContext, DbContext!;
}
}
.NET | 9.010.0 |
---|---|
.NET Core | 2.02.12.2 |
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assembly | Microsoft.AspNetCore.Identity.EntityFrameworkCore , Version=9.0.3.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.AspNetCore.Identity.EntityFrameworkCore (9.0.3) net9.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API