2022-03-09 23:19:00 +00:00
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Elsa.Modules.Http.Models;
|
2022-04-25 09:43:23 +00:00
|
|
|
using Elsa.Modules.Http.Services;
|
2022-03-09 23:19:00 +00:00
|
|
|
|
|
|
|
|
namespace Elsa.Modules.Http.Handlers
|
|
|
|
|
{
|
|
|
|
|
public class AllowAnonymousHttpEndpointAuthorizationHandler : IHttpEndpointAuthorizationHandler
|
|
|
|
|
{
|
|
|
|
|
public ValueTask<bool> AuthorizeAsync(AuthorizeHttpEndpointContext context) => new(true);
|
|
|
|
|
}
|
|
|
|
|
}
|