Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

add client_authentication to types #1390

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions dist/oidc-client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,13 @@ 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;
/** Indicates when sending client secret if sent as a post param or in Authorization header using HTTP Basic */
client_authentication?: 'client_secret_post' | 'client_secret_basic';
/** The type of response desired from the OIDC/OAuth2 provider (default: 'id_token') */
readonly response_type?: string;
readonly response_mode?: string;
Expand Down Expand Up @@ -252,11 +256,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
Loading