Try your search with a different keyword or use * as a wildcard.
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using Nop.Web.Framework.Mvc.Routing;
namespace Nop.Plugin.ExternalAuth.Facebook.Infrastructure;
///
/// Represents plugin route provider
///
public class RouteProvider : IRouteProvider
{
///
/// Register routes
///
/// Route builder
public void RegisterRoutes(IEndpointRouteBuilder endpointRouteBuilder)
{
endpointRouteBuilder.MapControllerRoute(FacebookAuthenticationDefaults.DataDeletionCallbackRoute, $"facebook/data-deletion-callback/",
new { controller = "FacebookDataDeletion", action = "DataDeletionCallback" });
endpointRouteBuilder.MapControllerRoute(FacebookAuthenticationDefaults.DataDeletionStatusCheckRoute, $"facebook/data-deletion-status-check/{{earId:min(0)}}",
new { controller = "FacebookAuthentication", action = "DataDeletionStatusCheck" });
}
///
/// Gets a priority of route provider
///
public int Priority => 0;
}