From fa8f78c5b59519b47298fc2051a2ff31e9ab81ce Mon Sep 17 00:00:00 2001 From: Patrick Ammann Date: Tue, 11 May 2021 10:24:27 +0200 Subject: [PATCH 1/2] fix: add missing metadataSeed --- index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.d.ts b/index.d.ts index a8a58c41..26bb276b 100644 --- a/index.d.ts +++ b/index.d.ts @@ -131,6 +131,8 @@ export interface OidcClientSettings { metadata?: Partial; /** Provide signingKeys when authority server does not allow CORS on the jwks uri */ signingKeys?: any[]; + /** Can be used to seed or add additional values to the results of the discovery request */ + metadataSeed?: Partial; /** Your client application's identifier as registered with the OIDC/OAuth2 */ client_id?: string; client_secret?: string; From 50f3b1a81565b82cac08a3e1cbd9e57eefed9030 Mon Sep 17 00:00:00 2001 From: Patrick Ammann Date: Tue, 11 May 2021 13:49:13 +0200 Subject: [PATCH 2/2] fix: improve description for UserSignedIn and UserSignedOut --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 26bb276b..91a7cd25 100644 --- a/index.d.ts +++ b/index.d.ts @@ -254,11 +254,11 @@ export interface UserManagerEvents extends AccessTokenEvents { addSilentRenewError(callback: UserManagerEvents.SilentRenewErrorCallback): void; removeSilentRenewError(callback: UserManagerEvents.SilentRenewErrorCallback): void; - /** Subscribe to events raised when the user's signed-in */ + /** When `monitorSession` subscribe to events raised when the user's signed-in */ addUserSignedIn(callback: UserManagerEvents.UserSignedInCallback): void; removeUserSignedIn(callback: UserManagerEvents.UserSignedInCallback): void; - /** Subscribe to events raised when the user's sign-in status at the OP has changed */ + /** When `monitorSession` subscribe to events raised when the user's sign-in status at the OP has changed */ addUserSignedOut(callback: UserManagerEvents.UserSignedOutCallback): void; removeUserSignedOut(callback: UserManagerEvents.UserSignedOutCallback): void;