Skip to content

Commit 05b3ea3

Browse files
Merge pull request #484 from notion-dotnet/483-parse-refresh-token-in-create-token-api-response
Parse refresh token from create token response
2 parents 115829b + 729dde9 commit 05b3ea3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Src/Notion.Client/Api/Authentication/CreateToken/Response/CreateTokenResponse.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ public class CreateTokenResponse
77
[JsonProperty("access_token")]
88
public string AccessToken { get; set; }
99

10+
[JsonProperty("refresh_token")]
11+
public string RefreshToken { get; set; }
12+
1013
[JsonProperty("token_type")]
1114
public string TokenType { get; set; } = "bearer";
1215

0 commit comments

Comments
 (0)