@axa-fr/oidc-client 7.1.0-alpha.1004 → 7.1.0

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
@@ -159,6 +159,7 @@ const configuration = {
159
159
  refresh_time_before_tokens_expiration_in_second: Number, // default is 120 seconds
160
160
  service_worker_relative_url: String,
161
161
  service_worker_only: Boolean, // default false
162
+ 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
162
163
  service_worker_convert_all_requests_to_cors: Boolean, // force all requests that service worker upgrades to have 'cors' mode. This allows setting an authentication token on requests initiated by HTML parsing (e.g., img tags, download links, etc.).
163
164
  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)
164
165
  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)
@@ -12,7 +12,7 @@ const TokenRenewMode = {
12
12
  id_token_invalid: "id_token_invalid"
13
13
  };
14
14
  const openidWellknownUrlEndWith = "/.well-known/openid-configuration";
15
- const version = "7.1.0-alpha.1004";
15
+ const version = "7.1.0";
16
16
  function checkDomain(domains, endpoint) {
17
17
  if (!endpoint) {
18
18
  return;