@asgardeo/react 0.5.15 → 0.5.16
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/cjs/index.js
CHANGED
|
@@ -177,7 +177,8 @@ var AsgardeoContext = (0, import_react.createContext)({
|
|
|
177
177
|
request: () => null,
|
|
178
178
|
requestAll: () => null
|
|
179
179
|
},
|
|
180
|
-
signInOptions: {}
|
|
180
|
+
signInOptions: {},
|
|
181
|
+
getDecodedIdToken: null
|
|
181
182
|
});
|
|
182
183
|
AsgardeoContext.displayName = "AsgardeoContext";
|
|
183
184
|
var AsgardeoContext_default = AsgardeoContext;
|
|
@@ -1485,6 +1486,7 @@ var AsgardeoProvider = ({
|
|
|
1485
1486
|
organizationHandle,
|
|
1486
1487
|
applicationId,
|
|
1487
1488
|
signInOptions,
|
|
1489
|
+
syncSession,
|
|
1488
1490
|
...rest
|
|
1489
1491
|
}) => {
|
|
1490
1492
|
const reRenderCheckRef = (0, import_react15.useRef)(false);
|
|
@@ -1509,6 +1511,7 @@ var AsgardeoProvider = ({
|
|
|
1509
1511
|
signUpUrl,
|
|
1510
1512
|
signInUrl,
|
|
1511
1513
|
signInOptions,
|
|
1514
|
+
syncSession,
|
|
1512
1515
|
...rest
|
|
1513
1516
|
});
|
|
1514
1517
|
const [brandingPreference, setBrandingPreference] = (0, import_react15.useState)(null);
|
|
@@ -1747,7 +1750,9 @@ var AsgardeoProvider = ({
|
|
|
1747
1750
|
request: asgardeo.request.bind(asgardeo),
|
|
1748
1751
|
requestAll: asgardeo.requestAll.bind(asgardeo)
|
|
1749
1752
|
},
|
|
1750
|
-
signInOptions
|
|
1753
|
+
signInOptions,
|
|
1754
|
+
getDecodedIdToken: asgardeo.getDecodedIdToken.bind(asgardeo),
|
|
1755
|
+
syncSession
|
|
1751
1756
|
}),
|
|
1752
1757
|
[
|
|
1753
1758
|
applicationId,
|
|
@@ -1764,7 +1769,8 @@ var AsgardeoProvider = ({
|
|
|
1764
1769
|
signInSilently,
|
|
1765
1770
|
user,
|
|
1766
1771
|
asgardeo,
|
|
1767
|
-
signInOptions
|
|
1772
|
+
signInOptions,
|
|
1773
|
+
syncSession
|
|
1768
1774
|
]
|
|
1769
1775
|
);
|
|
1770
1776
|
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(AsgardeoContext_default.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(I18nProvider_default, { preferences: preferences?.i18n, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|