Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
using Microsoft.AspNetCore.Http;
namespace Grand.Business.Core.Interfaces.Authentication;
// <summary>
/// Interface for factory creating secure cookie options
/// </summary>
public interface ICookieOptionsFactory
{
/// <summary>
/// Creates cookie options with proper security settings
/// </summary>
/// <param name="expiresDate">Optional explicit expiration date</param>
/// <returns>Configured cookie options</returns>
CookieOptions Create(DateTime? expiresDate = null);
/// <summary>
/// Gets the cookie prefix
/// </summary>
string CookiePrefix { get; }
}