ngx-scandoc 1.1.4 → 1.2.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/fesm2020/ngx-scandoc.mjs
CHANGED
|
@@ -1832,7 +1832,7 @@ class AuthProvider {
|
|
|
1832
1832
|
constructor(http, config) {
|
|
1833
1833
|
this.http = http;
|
|
1834
1834
|
this.config = config;
|
|
1835
|
-
this.token = '
|
|
1835
|
+
this.token = '';
|
|
1836
1836
|
this.tokenTimestamps = {
|
|
1837
1837
|
exp: 0,
|
|
1838
1838
|
iat: 0,
|
|
@@ -1840,7 +1840,6 @@ class AuthProvider {
|
|
|
1840
1840
|
}
|
|
1841
1841
|
setConfig() { }
|
|
1842
1842
|
get tokenExpired() {
|
|
1843
|
-
return false;
|
|
1844
1843
|
if (this.token == '' || this.tokenTimestamps.exp === 0) {
|
|
1845
1844
|
console.log('EXPIRED');
|
|
1846
1845
|
return true;
|