Skip to content

Commit

Permalink
Make OidcClientSettings.authorityand .client_id optional in TS ty…
Browse files Browse the repository at this point in the history
…pings

(As it was before 9e712ec.)
  • Loading branch information
ulrichb committed Dec 18, 2019
1 parent 6ee0c16 commit 0cfac7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ export class OidcClient {

export interface OidcClientSettings {
/** The URL of the OIDC/OAuth2 provider */
authority: string;
authority?: string;
readonly metadataUrl?: string;
/** Provide metadata when authority server does not allow CORS on the metadata endpoint */
metadata?: Partial<OidcMetadata>;
/** Provide signingKeys when authority server does not allow CORS on the jwks uri */
signingKeys?: any[];
/** Your client application's identifier as registered with the OIDC/OAuth2 */
client_id: string;
client_id?: string;
client_secret?: string;
/** The type of response desired from the OIDC/OAuth2 provider (default: 'id_token') */
readonly response_type?: string;
Expand Down

0 comments on commit 0cfac7d

Please sign in to comment.