Added audit log
This commit is contained in:
12
testing/HopFrame.Testing/AuthHandler.cs
Normal file
12
testing/HopFrame.Testing/AuthHandler.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user