mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-27 06:13:51 +00:00
add saml cache provider
GitOrigin-RevId: ad9f3e81da37bd932822f13db441ce8afc342eea
This commit is contained in:
parent
1eadf38761
commit
087919a5f8
1 changed files with 15 additions and 0 deletions
15
services/web/app/src/models/SamlCache.js
Normal file
15
services/web/app/src/models/SamlCache.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
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
|
Loading…
Reference in a new issue