ildar-shaymukhametov_grandnode-refactorings/Grand.Services/Notifications/Authentication/CustomerAutoRegisteredByExternalMethodEvent.cs
using Grand.Domain.Customers;
using Grand.Services.Authentication.External;
using MediatR;

namespace Grand.Services.Notifications.Authentication
{
    /// <summary>
    /// Customer auto registered by external authentication method event
    /// </summary>
    public class CustomerAutoRegisteredByExternalMethodEvent : INotification
    {
        public CustomerAutoRegisteredByExternalMethodEvent(Customer customer, ExternalAuthenticationParameters parameters)
        {
            Customer = customer;
            AuthenticationParameters = parameters;
        }

        /// <summary>
        /// Gets or sets customer
        /// </summary>
        public Customer Customer { get; private set; }

        /// <summary>
        /// Gets or sets external authentication parameters
        /// </summary>
        public ExternalAuthenticationParameters AuthenticationParameters { get; private set; }
    }
}
