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.Domain.Localization;
namespace Grand.Business.Core.Interfaces.Authentication;
public interface ITwoFactorAuthenticationService
{
Task<bool> AuthenticateTwoFactor(string secretKey, string token, Customer customer,
TwoFactorAuthenticationType twoFactorAuthenticationType);
Task<TwoFactorCodeSetup> GenerateCodeSetup(string secretKey, Customer customer, Language language,
TwoFactorAuthenticationType twoFactorAuthenticationType);
}