integrate automatic token refresh if current one is invalid

--> load login page if token can't be refreshed
This commit is contained in:
2021-03-16 20:13:12 +01:00
parent a51176fb93
commit e412f699f7
3 changed files with 52 additions and 15 deletions

View File

@ -55,7 +55,11 @@ class StaticInfos {
getVideoPath(): string {
return this.videopath;
}
/**
* load the Password page manually
*/
loadPasswordPage: ((callback?: () => void) => void) | undefined = undefined;
}
const GlobalInfos = new StaticInfos();
export default GlobalInfos;
export default new StaticInfos();