@axa-fr/react-oidc 7.7.3 → 7.9.0-alpha.1110
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 +3 -1
- package/dist/index.js +378 -391
- package/dist/index.umd.cjs +9 -9
- package/package.json +3 -3
- package/src/FetchToken.tsx +3 -31
package/README.md
CHANGED
|
@@ -187,7 +187,9 @@ const configuration = {
|
|
|
187
187
|
},
|
|
188
188
|
refresh_time_before_tokens_expiration_in_second: Number, // default is 120 seconds
|
|
189
189
|
service_worker_relative_url: String,
|
|
190
|
-
|
|
190
|
+
service_worker_keep_alive_path: String, // default is "/"
|
|
191
|
+
service_worker_only: Boolean, // default false
|
|
192
|
+
service_worker_activate: () => boolean, // you can take the control of the service worker default activation which use user agent string
|
|
191
193
|
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
|
|
192
194
|
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)
|
|
193
195
|
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)
|