some more work on api
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
namespace Pilz.Net.Api;
|
||||
|
||||
public record class ApiAuthCheckEventArgs(string AuthKey)
|
||||
public class ApiAuthCheckEventArgs(string authKey) : EventArgs
|
||||
{
|
||||
private bool hasDenyed;
|
||||
|
||||
public string AuthKey { get; } = authKey;
|
||||
|
||||
public bool Valid { get; set; }
|
||||
|
||||
public void Deny()
|
||||
|
||||
Reference in New Issue
Block a user