add saml cache provider

GitOrigin-RevId: ad9f3e81da37bd932822f13db441ce8afc342eea
This commit is contained in:
Ersun Warncke 2020-06-08 17:48:19 -04:00 committed by Copybot
parent 1eadf38761
commit 087919a5f8

View 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