MongoDB store implementation for laget.Fingerprint...
This example is shown using Autofac since this is the go-to IoC for us.
public class FingerprintModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.Register<IFingerprintManager<Fingerprint, User>>(c =>
new FingerprintManager<Fingerprint, User>(new MongoStore<Fingerprint, User>(new MongoUrl(c.Resolve<IConfiguration>().GetConnectionString("MongoConnectionString"))))
).SingleInstance();
}
}