SamlCache.mjs 330 B

123456789101112131415
  1. import mongoose from '../infrastructure/Mongoose.mjs'
  2. const { Schema } = mongoose
  3. export const SamlCacheSchema = new Schema(
  4. {
  5. createdAt: { type: Date },
  6. requestId: { type: String },
  7. },
  8. {
  9. collection: 'samlCache',
  10. minimize: false,
  11. }
  12. )
  13. export const SamlCache = mongoose.model('SamlCache', SamlCacheSchema)