Moved auth form. Added auto login and logout functionality

This commit is contained in:
Paweł Malak
2021-11-11 14:45:58 +01:00
parent 1571981252
commit d1c61bb393
18 changed files with 311 additions and 98 deletions

View File

@@ -7,4 +7,10 @@ export interface Model {
export interface ApiResponse<T> {
success: boolean;
data: T;
}
}
export interface Token {
app: string;
exp: number;
iat: number;
}

View File

@@ -1,4 +1,5 @@
export interface Route {
name: string;
dest: string;
authRequired: boolean;
}