From c5b72e6f002a637d542068be88d70936150c8818 Mon Sep 17 00:00:00 2001 From: Rory& Date: Sun, 31 Dec 2023 12:00:40 +0100 Subject: Add auth, start of commit script --- ModAS.Server/Authentication/AuthUser.cs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ModAS.Server/Authentication/AuthUser.cs (limited to 'ModAS.Server/Authentication/AuthUser.cs') diff --git a/ModAS.Server/Authentication/AuthUser.cs b/ModAS.Server/Authentication/AuthUser.cs new file mode 100644 index 0000000..f91656f --- /dev/null +++ b/ModAS.Server/Authentication/AuthUser.cs @@ -0,0 +1,9 @@ +using LibMatrix.Homeservers; + +namespace ModAS.Server.Authentication; + +public class AuthUser { + public required string AccessToken { get; set; } + public required List Roles { get; set; } + public required AuthenticatedHomeserverGeneric Homeserver { get; set; } +} \ No newline at end of file -- cgit 1.5.1