Files
HopFrame/testing/HopFrame.Testing/AuthHandler.cs
2025-07-06 16:35:46 +02:00

12 lines
330 B
C#

using HopFrame.Core.Services;
namespace HopFrame.Testing;
public class AuthHandler : IHopFrameAuthHandler {
public Task<bool> IsAuthenticatedAsync(string? policy) {
return Task.FromResult(true);
}
public Task<string> GetCurrentUserDisplayNameAsync() {
return Task.FromResult("Leon Hoppe");
}
}