@apicurio/common-ui-components 2.0.12 → 2.0.13
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/dist/main.js +7 -3
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -2410,9 +2410,13 @@ const Us = (e) => (V = Rs(Cs, e), new Es({
|
|
|
2410
2410
|
} catch (e) {
|
|
2411
2411
|
console.error("[Auth] Error logging in using OIDC: ", e);
|
|
2412
2412
|
}
|
|
2413
|
-
}, As = async () =>
|
|
2414
|
-
|
|
2415
|
-
|
|
2413
|
+
}, As = async () => {
|
|
2414
|
+
const e = await (u == null ? void 0 : u.getUser()), t = e == null ? void 0 : e.id_token;
|
|
2415
|
+
return u == null ? void 0 : u.removeUser().then(() => u == null ? void 0 : u.signoutRedirect({
|
|
2416
|
+
id_token_hint: t,
|
|
2417
|
+
post_logout_redirect_uri: V.logoutUrl || window.location.href
|
|
2418
|
+
}));
|
|
2419
|
+
}, Os = async () => await (u == null ? void 0 : u.getUser()) != null, Ns = async () => {
|
|
2416
2420
|
const e = await (u == null ? void 0 : u.getUser());
|
|
2417
2421
|
return Promise.resolve(e == null ? void 0 : e.access_token);
|
|
2418
2422
|
}, qs = async () => {
|