some more work on api

This commit is contained in:
Pilzinsel64
2024-08-16 09:19:03 +02:00
parent 6f5e012cb6
commit df4adb8435
8 changed files with 90 additions and 27 deletions

View File

@@ -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()