summary refs log tree commit diff
path: root/ModAS.Server/Authentication/AuthUser.cs
diff options
context:
space:
mode:
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