Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

33 lines
920 B

// ==========================================================================
// MongoAppClientKeyEntity.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ==========================================================================
using System;
using MongoDB.Bson.Serialization.Attributes;
using Squidex.Read.Apps;
namespace Squidex.Store.MongoDb.Apps
{
public sealed class MongoAppClientEntity : IAppClientEntity
{
[BsonRequired]
[BsonElement]
public string ClientId { get; set; }
[BsonRequired]
[BsonElement]
public string ClientSecret { get; set; }
[BsonRequired]
[BsonElement]
public DateTime ExpiresUtc { get; set; }
[BsonRequired]
[BsonElement]
public string Name { get; set; }
}
}