From 89250aac5b6f7aa71e52be101511c7d2a21aac41 Mon Sep 17 00:00:00 2001 From: Nedo Date: Fri, 26 Jul 2024 18:14:49 +0800 Subject: [PATCH] FIX(Auth types): mention the id_token and token_type keys --- lib/auth.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/auth.ts b/lib/auth.ts index 77de760..cb0f6e3 100644 --- a/lib/auth.ts +++ b/lib/auth.ts @@ -32,6 +32,10 @@ export interface AccessToken3LResponse { refresh_token_expires_in?: number; /** A comma-separated list of scopes authorized by the member (e.g. "r_liteprofile,r_ads") */ scope: string; + /** returned when the `openid` scope is sepecified A JSON Web Token (JWT). */ + id_token?: string; + /** usually a `Bearer` token */ + token_type?: string; } enum TokenAuthType {