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 Grand.Business.Core.Utilities.Authentication;
using Grand.Domain.Customers;
using Grand.Mediator;
namespace Grand.Business.Core.Commands.Customers;
/// <summary>
/// Automatic customer registration by external authentication method event
/// </summary>
public class RegisteredByExternalMethod : INotification
{
public RegisteredByExternalMethod(
Customer customer,
ExternalAuthParam parameters)
{
Customer = customer;
AuthenticationParameters = parameters;
}
/// <summary>
/// Gets or sets specified customer
/// </summary>
public Customer Customer { get; private set; }
/// <summary>
/// Gets or sets parameters of external authentication
/// </summary>
public ExternalAuthParam AuthenticationParameters { get; private set; }
}