From 008a3835b0bdba306d46436e6cd282c5290fe0b2 Mon Sep 17 00:00:00 2001 From: Gehongyan Date: Fri, 29 Dec 2023 21:32:50 +0800 Subject: [PATCH] Fix accessibility os KookRestApiClient --- src/Kook.Net.Rest/KookRestApiClient.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Kook.Net.Rest/KookRestApiClient.cs b/src/Kook.Net.Rest/KookRestApiClient.cs index b5e428b0..1f6ff728 100644 --- a/src/Kook.Net.Rest/KookRestApiClient.cs +++ b/src/Kook.Net.Rest/KookRestApiClient.cs @@ -46,9 +46,9 @@ public event Func SentRequest public string UserAgent { get; } internal RequestQueue RequestQueue { get; } - public LoginState LoginState { get; internal set; } - public TokenType AuthTokenType { get; set; } - public string AuthToken { get; set; } + public LoginState LoginState { get; private set; } + public TokenType AuthTokenType { get; private set; } + internal string AuthToken { get; private set; } internal IRestClient RestClient { get; private set; } internal ulong? CurrentUserId { get; set; } internal Func DefaultRatelimitCallback { get; set; }