Skip to content

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.

454 B
Raw Blame
using Microsoft.AspNetCore.Authentication.JwtBearer;

namespace Grand.Business.Core.Interfaces.Authentication;

public interface IJwtBearerAuthenticationService
{
    /// <summary>
    ///     Valid email
    /// </summary>
    /// <param name="context">Token</param>
    Task<bool> Valid(TokenValidatedContext context);

    /// <summary>
    ///     Get error message
    /// </summary>
    /// <returns></returns>
    Task<string> ErrorMessage();
}