@axa-fr/oidc-client 7.8.0 → 7.9.0-alpha.1111

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -193,7 +193,9 @@ const configuration = {
193
193
  },
194
194
  refresh_time_before_tokens_expiration_in_second: Number, // default is 120 seconds
195
195
  service_worker_relative_url: String,
196
+ service_worker_keep_alive_path: String, // default is "/"
196
197
  service_worker_only: Boolean, // default false
198
+ service_worker_activate: () => boolean, // you can take the control of the service worker default activation which use user agent string
197
199
  service_worker_update_require_callback: (registration:any, stopKeepAlive:Function) => Promise<void>, // callback called when service worker need to be updated, you can take the control of the update process
198
200
  extras: StringMap | undefined, // ex: {'prompt': 'consent', 'access_type': 'offline'} list of key/value that is sent to the OIDC server (more info: https://github.com/openid/AppAuth-JS)
199
201
  token_request_extras: StringMap | undefined, // ex: {'prompt': 'consent', 'access_type': 'offline'} list of key/value that is sent to the OIDC server during token request (more info: https://github.com/openid/AppAuth-JS)
@@ -327,7 +329,7 @@ export class OidcClient {
327
329
  * @param fetch The current fetch function to use
328
330
  * @returns Fetch A new fectch function that inject bearer tokens (also DPOP tokens).
329
331
  */
330
- getFetchWithTokens(fetch: Fetch): Fetch;
332
+ fetchWithTokens(fetch: Fetch): Fetch;
331
333
 
332
334
  /**
333
335
  * Retrieves OIDC user information.