@axa-fr/oidc-client 7.17.4 → 7.18.1
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 +4 -1
- package/dist/index.js +460 -432
- package/dist/index.umd.cjs +2 -2
- package/dist/logout.d.ts.map +1 -1
- package/dist/requests.d.ts +1 -1
- package/dist/requests.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +2 -2
- package/src/logout.spec.ts +3 -1
- package/src/logout.ts +55 -23
- package/src/oidc.ts +1 -1
- package/src/requests.ts +12 -1
- package/src/version.ts +1 -1
package/README.md
CHANGED
|
@@ -312,7 +312,10 @@ export class OidcClient {
|
|
|
312
312
|
/**
|
|
313
313
|
* Starts the OIDC logout process with specified options.
|
|
314
314
|
* @param callbackPathOrUrl The callback path or URL to use after logout.
|
|
315
|
-
* @param extras Additional parameters to send to the OIDC server during the logout request.
|
|
315
|
+
* @param extras Additional parameters to send to the OIDC server during the logout request.
|
|
316
|
+
* {"no_reload:oidc":"true"} to avoid the page reload after logout.
|
|
317
|
+
* you can add extras like {"client_secret:revoke_refresh_token":"secret"} to revoke the refresh token with extra client secret. Any key ending with ":revoke_refresh_token" will be used to revoke the refresh token.
|
|
318
|
+
* you can add extras like {"client_secret:revoke_access_token":"secret"} to revoke the access token with extra client secret. Any key ending with ":revoke_access_token" will be used to revoke the access token.
|
|
316
319
|
* @returns A promise resolved when the logout is completed.
|
|
317
320
|
*/
|
|
318
321
|
logoutAsync(callbackPathOrUrl?: string | null | undefined, extras?: StringMap): Promise<void>;
|