Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
fix: deprecated unused clockSkewInSeconds and userInfoJwtIssuer settings
Browse files Browse the repository at this point in the history
  • Loading branch information
pamapa committed Jun 2, 2022
1 parent 8527161 commit 52e8799
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/oidc-client-ts.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ export interface OidcClientSettings {
client_id: string;
// (undocumented)
client_secret?: string;
// @deprecated (undocumented)
clockSkewInSeconds?: number;
display?: string;
extraQueryParams?: Record<string, string | number | boolean>;
Expand All @@ -349,7 +350,7 @@ export interface OidcClientSettings {
staleStateAgeInSeconds?: number;
stateStore?: StateStore;
ui_locales?: string;
// (undocumented)
// @deprecated (undocumented)
userInfoJwtIssuer?: "ANY" | "OP" | string;
}

Expand Down
4 changes: 3 additions & 1 deletion src/OidcClientSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ export interface OidcClientSettings {
loadUserInfo?: boolean;
/** Number (in seconds) indicating the age of state entries in storage for authorize requests that are considered abandoned and thus can be cleaned up (default: 300) */
staleStateAgeInSeconds?: number;
/** The window of time (in seconds) to allow the current time to deviate when validating token's iat, nbf, and exp values (default: 300) */

/** @deprecated Unused */
clockSkewInSeconds?: number;
/** @deprecated Unused */
userInfoJwtIssuer?: "ANY" | "OP" | string;

/**
Expand Down

0 comments on commit 52e8799

Please sign in to comment.