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

@@ -0,0 +1,9 @@
using System.Diagnostics.CodeAnalysis;
namespace Pilz.Net.Api;
public record class ApiRequestInfo(
ApiMessage Message,
[property: MemberNotNullWhen(true, "AuthKey")]
bool IsAuthenticated,
string? AuthKey);