using Nop.Core.Domain.Customers; namespace Nop.Services.Authentication; /// /// Authentication service interface /// public partial interface IAuthenticationService { /// /// Sign in /// /// Customer /// Whether the authentication session is persisted across multiple requests /// A task that represents the asynchronous operation Task SignInAsync(Customer customer, bool isPersistent); /// /// Sign out /// /// A task that represents the asynchronous operation Task SignOutAsync(); /// /// Get authenticated customer /// /// /// A task that represents the asynchronous operation /// The task result contains the customer /// Task GetAuthenticatedCustomerAsync(); }