public static LoginAuthenticationBuilder AddPasswordAuthentication <TUserManager, TUserId>(this LoginAuthenticationBuilder builder, IConfiguration configuration)
     where TUserManager : class, IUserManager <TUserId>
 => builder.AddPasswordAuthentication <TUserManager, TUserId>(optionsBuilder => configuration.Bind(optionsBuilder));
 public static LoginAuthenticationBuilder AddPasswordAuthentication <TUserManager, TUserId>(this LoginAuthenticationBuilder builder, Action <PasswordLoginOptionsBuilder> configure = null)
     where TUserManager : class, IUserManager <TUserId>
 {
     return(builder.AddPasswordAuthentication <TUserManager, TUserId, PasswordLogin <TUserId> >(configure));
 }