diff --git a/services/web/app/src/models/SamlCache.js b/services/web/app/src/models/SamlCache.js new file mode 100644 index 0000000000..d6a53edc21 --- /dev/null +++ b/services/web/app/src/models/SamlCache.js @@ -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