From 729dde9814eddeb51ccddf5db51a8b42578ae51a Mon Sep 17 00:00:00 2001 From: Vedant Koditkar <18693839+KoditkarVedant@users.noreply.github.com> Date: Wed, 1 Oct 2025 17:38:00 +0530 Subject: [PATCH] Parse refresh token from create token response --- .../Authentication/CreateToken/Response/CreateTokenResponse.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Src/Notion.Client/Api/Authentication/CreateToken/Response/CreateTokenResponse.cs b/Src/Notion.Client/Api/Authentication/CreateToken/Response/CreateTokenResponse.cs index fbbe7a7..61ec88c 100644 --- a/Src/Notion.Client/Api/Authentication/CreateToken/Response/CreateTokenResponse.cs +++ b/Src/Notion.Client/Api/Authentication/CreateToken/Response/CreateTokenResponse.cs @@ -7,6 +7,9 @@ public class CreateTokenResponse [JsonProperty("access_token")] public string AccessToken { get; set; } + [JsonProperty("refresh_token")] + public string RefreshToken { get; set; } + [JsonProperty("token_type")] public string TokenType { get; set; } = "bearer";