overleaf/services/web/app/src/models/SamlCache.js
Ersun Warncke 087919a5f8 add saml cache provider
GitOrigin-RevId: ad9f3e81da37bd932822f13db441ce8afc342eea
2020-06-17 02:10:21 +00:00

15 lines
338 B
JavaScript

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