MongoServiceMagicLinkOptions
Index
Properties
optionalconvertUserIdToMongoObjectId
database
Mongo database object.
optionaldateProvider
Function that generate the date for the timestamps.
Default to (date?: Date) => (date ? date.getTime() : Date.now())
.
Type declaration
Parameters
optionaldate: Date
Returns any
optionaluserCollectionName
The users collection name. Default 'users'.
Should the user collection use _id as string or ObjectId. Default 'true'.