File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ---
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ export const API_VERSION = 'v1';
3
3
4
4
export const USER_AGENT = `${ PACKAGE_NAME } @${ PACKAGE_VERSION } ` ;
5
5
export const MAX_CACHE_LAST_UPDATED_AT_SECONDS = 5 * 60 ;
6
- export const JWKS_CACHE_TTL_MS = 1000 * 60 * 60 ;
7
6
export const SUPPORTED_BAPI_VERSION = '2024-10-01' ;
8
7
9
8
const Attributes = {
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ export type LoadClerkJWKFromRemoteOptions = {
115
115
*
116
116
* Loads a key from JWKS retrieved from the well-known Frontend API endpoint of the issuer.
117
117
* The result is also cached on the module level to avoid network requests in subsequent invocations.
118
- * The cache lasts 1 hour by default .
118
+ * The cache lasts up to 5 minutes .
119
119
*
120
120
* @param {Object } options
121
121
* @param {string } options.kid - The id of the key that the JWT was signed with
You can’t perform that action at this time.
0 commit comments