12 lines
330 B
C#
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");
|
|
}
|
|
} |