summary refs log tree commit diff
path: root/ModAS.Server/Authentication/AuthUser.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2023-12-31 12:00:40 +0100
committerRory& <root@rory.gay>2023-12-31 12:00:40 +0100
commitc5b72e6f002a637d542068be88d70936150c8818 (patch)
treec7d7a5c99329e88bce47b60b566b8398c0dd4a68 /ModAS.Server/Authentication/AuthUser.cs
parentRoom query (diff)
downloadModAS-c5b72e6f002a637d542068be88d70936150c8818.tar.xz
Add auth, start of commit script
Diffstat (limited to '')
-rw-r--r--ModAS.Server/Authentication/AuthUser.cs9
1 files changed, 9 insertions, 0 deletions
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<string> Roles { get; set; } + public required AuthenticatedHomeserverGeneric Homeserver { get; set; } +} \ No newline at end of file