@trudb/tru-common-lib 0.0.723 → 0.0.724
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/esm2020/lib/components/login/classes/tru-auth-jwt-strategy.mjs +3 -3
- package/fesm2015/trudb-tru-common-lib.mjs +2 -2
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +2 -2
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6018,7 +6018,7 @@ class TruAuthJwtStrategy {
|
|
|
6018
6018
|
}
|
|
6019
6019
|
}
|
|
6020
6020
|
getDecodedJwtJsonData() {
|
|
6021
|
-
let token =
|
|
6021
|
+
let token = this.getJwtToken();
|
|
6022
6022
|
let payload = {};
|
|
6023
6023
|
if (token && token !== "undefined") {
|
|
6024
6024
|
const encodedPayload = token.split(".")[1];
|
|
@@ -6028,7 +6028,7 @@ class TruAuthJwtStrategy {
|
|
|
6028
6028
|
return payload;
|
|
6029
6029
|
}
|
|
6030
6030
|
getToken() {
|
|
6031
|
-
var token =
|
|
6031
|
+
var token = this.getJwtToken();
|
|
6032
6032
|
if (token && token !== "undefined") {
|
|
6033
6033
|
const encodedPayload = token.split(".")[1];
|
|
6034
6034
|
const payloadStr = window.atob(encodedPayload);
|