示例#1
0
 public static IdentityBuilder AddAuthenticatorEntityFrameworkStore <TContext, TKey>(this IdentityBuilder builder)
     where TContext : DbContext
     where TKey : IEquatable <TKey>
 {
     builder.AddDefaultServices(typeof(TContext), typeof(TKey));
     return(builder);
 }
示例#2
0
 public static IdentityBuilder AddAuthenticatorEntityFrameworkStore <TContext>(this IdentityBuilder builder)
     where TContext : DbContext
 {
     builder.AddDefaultServices(typeof(TContext));
     return(builder);
 }