Skip to content

Commit

Permalink
Merge pull request IdentityModel#1374 from pamapa/improve-typescript
Browse files Browse the repository at this point in the history
add metadataSeed to types
  • Loading branch information
brockallen authored May 11, 2021
2 parents a8a70ce + 50f3b1a commit bd94ff9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ export interface OidcClientSettings {
metadata?: Partial<OidcMetadata>;
/** 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<OidcMetadata>;
/** Your client application's identifier as registered with the OIDC/OAuth2 */
client_id?: string;
client_secret?: string;
Expand Down Expand Up @@ -252,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;

Expand Down

0 comments on commit bd94ff9

Please sign in to comment.