From 0a0e71520731ca4430be1eb1233959a9482af6cb Mon Sep 17 00:00:00 2001 From: pmcb55 Date: Tue, 20 Oct 2020 17:16:59 +0100 Subject: [PATCH] add optional refresh_token to SigninResponse --- index.d.ts | 3 +++ package-lock.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 9ca7b6f3..6cc95429 100644 --- a/index.d.ts +++ b/index.d.ts @@ -331,6 +331,9 @@ export interface SigninResponse { new (url: string, delimiter?: string): SigninResponse; access_token: string; + /** Refresh token returned from the OIDC provider (if requested, via the + * 'offline_access' scope) */ + refresh_token?: string; code: string; error: string; error_description: string; diff --git a/package-lock.json b/package-lock.json index 65c46f45..560fc344 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "oidc-client", - "version": "1.11.0-beta.1", + "version": "1.11.0-beta.2", "lockfileVersion": 1, "requires": true, "dependencies": {