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)
netcoreapp2.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 netcoreapp2.0 | |
Assembly | Microsoft.AspNetCore.Identity.EntityFrameworkCore , Version=2.0.4.0, PublicKeyToken=adb9793829ddae60 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API