From d852a15972358f487849ba6bec7aa221a04b67d9 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Sun, 20 Aug 2023 14:42:35 +0200 Subject: [PATCH] auth-node: add refreshTokenExpiresInSeconds field to OAuthSession Signed-off-by: Patrik Oldsberg --- plugins/auth-node/api-report.md | 2 ++ plugins/auth-node/src/oauth/types.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/plugins/auth-node/api-report.md b/plugins/auth-node/api-report.md index bc17c328d4..a782847d7a 100644 --- a/plugins/auth-node/api-report.md +++ b/plugins/auth-node/api-report.md @@ -384,6 +384,8 @@ export interface OAuthSession { // (undocumented) refreshToken?: string; // (undocumented) + refreshTokenExpiresInSeconds?: number; + // (undocumented) scope: string; // (undocumented) tokenType: string; diff --git a/plugins/auth-node/src/oauth/types.ts b/plugins/auth-node/src/oauth/types.ts index bba961d27d..4bd7bd3f3f 100644 --- a/plugins/auth-node/src/oauth/types.ts +++ b/plugins/auth-node/src/oauth/types.ts @@ -26,6 +26,7 @@ export interface OAuthSession { scope: string; expiresInSeconds?: number; refreshToken?: string; + refreshTokenExpiresInSeconds?: number; } /** @public */