Skip to content

Commit 026a8a1

Browse files
committed
Readded extraQueryParams and added readonly modifier for completion
1 parent 056fb54 commit 026a8a1

File tree

3 files changed

+34
-33
lines changed

3 files changed

+34
-33
lines changed

dist/oidc-client.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

index.d.ts

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -115,27 +115,28 @@ export class OidcClient {
115115

116116
export interface OidcClientSettings {
117117
authority?: string;
118-
metadataUrl?: string;
118+
readonly metadataUrl?: string;
119119
metadata?: any;
120120
signingKeys?: any[];
121121
client_id?: string;
122-
response_type?: string;
123-
scope?: string;
124-
redirect_uri?: string;
125-
post_logout_redirect_uri?: string;
126-
popup_post_logout_redirect_uri?: string;
127-
prompt?: string;
128-
display?: string;
129-
max_age?: number;
130-
ui_locales?: string;
131-
acr_values?: string;
132-
filterProtocolClaims?: boolean;
133-
loadUserInfo?: boolean;
134-
staleStateAge?: number;
135-
clockSkew?: number;
136-
stateStore?: StateStore;
122+
readonly response_type?: string;
123+
readonly scope?: string;
124+
readonly redirect_uri?: string;
125+
readonly post_logout_redirect_uri?: string;
126+
readonly popup_post_logout_redirect_uri?: string;
127+
readonly prompt?: string;
128+
readonly display?: string;
129+
readonly max_age?: number;
130+
readonly ui_locales?: string;
131+
readonly acr_values?: string;
132+
readonly filterProtocolClaims?: boolean;
133+
readonly loadUserInfo?: boolean;
134+
readonly staleStateAge?: number;
135+
readonly clockSkew?: number;
136+
readonly stateStore?: StateStore;
137137
ResponseValidatorCtor?: ResponseValidatorCtor;
138138
MetadataServiceCtor?: MetadataServiceCtor;
139+
extraQueryParams?: {};
139140
}
140141

141142
export class UserManager extends OidcClient {
@@ -193,21 +194,21 @@ export interface UserManagerEvents extends AccessTokenEvents {
193194
}
194195

195196
export interface UserManagerSettings extends OidcClientSettings {
196-
popup_redirect_uri?: string;
197-
popupWindowFeatures?: string;
198-
popupWindowTarget?: any;
199-
silent_redirect_uri?: any;
200-
silentRequestTimeout?: any;
201-
automaticSilentRenew?: boolean;
202-
includeIdTokenInSilentRenew?: boolean;
203-
monitorSession?: boolean;
204-
checkSessionInterval?: number;
205-
revokeAccessTokenOnSignout?: any;
206-
accessTokenExpiringNotificationTime?: number;
207-
redirectNavigator?: any;
208-
popupNavigator?: any;
209-
iframeNavigator?: any;
210-
userStore?: any;
197+
readonly popup_redirect_uri?: string;
198+
readonly popupWindowFeatures?: string;
199+
readonly popupWindowTarget?: any;
200+
readonly silent_redirect_uri?: any;
201+
readonly silentRequestTimeout?: any;
202+
readonly automaticSilentRenew?: boolean;
203+
readonly includeIdTokenInSilentRenew?: boolean;
204+
readonly monitorSession?: boolean;
205+
readonly checkSessionInterval?: number;
206+
readonly revokeAccessTokenOnSignout?: any;
207+
readonly accessTokenExpiringNotificationTime?: number;
208+
readonly redirectNavigator?: any;
209+
readonly popupNavigator?: any;
210+
readonly iframeNavigator?: any;
211+
readonly userStore?: any;
211212
}
212213

213214
export interface WebStorageStateStoreSettings {

lib/oidc-client.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)