17 lines
430 B
C#
17 lines
430 B
C#
using System.Security.Claims;
|
|
using MaxInventory.Core.Services;
|
|
|
|
namespace MaxInventory.Infrastructure.Http;
|
|
|
|
internal sealed class NoOpInventoryApiAuthenticator : IInventoryApiAuthenticator
|
|
{
|
|
public Task AuthenticateAsync(
|
|
HttpRequestMessage request,
|
|
ClaimsPrincipal principal,
|
|
Uri targetService,
|
|
CancellationToken cancellationToken = default)
|
|
{
|
|
return Task.CompletedTask;
|
|
}
|
|
}
|