overleaf/services/web/app/src/models/SamlCache.js

16 lines
340 B
JavaScript
Raw Normal View History

const mongoose = require('../infrastructure/Mongoose')
const { Schema } = mongoose
const SamlCacheSchema = new Schema(
{
createdAt: { type: Date },
requestId: { type: String },
},
{
collection: 'samlCache',
}
)
exports.SamlCache = mongoose.model('SamlCache', SamlCacheSchema)
exports.SamlCacheSchema = SamlCacheSchema