summaryrefslogtreecommitdiff
path: root/HyperBooru.cs
diff options
context:
space:
mode:
Diffstat (limited to 'HyperBooru.cs')
-rw-r--r--HyperBooru.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/HyperBooru.cs b/HyperBooru.cs
index dac901a..4c41d96 100644
--- a/HyperBooru.cs
+++ b/HyperBooru.cs
@@ -7,6 +7,7 @@ namespace HyperBooru.ApiClient;
public sealed class HBSession : IDisposable {
public Media Media { get; private init; }
public Tag Tag { get; private init; }
+ public User User { get; private init; }
public Uri BaseUri { get; private init; }
internal HttpClient HttpClient { get; private init; }
@@ -35,6 +36,7 @@ public sealed class HBSession : IDisposable {
Media = new(this);
Tag = new(this);
+ User = new(this);
}
public async Task LoginAsync(string username, string password) {