serve frontend from go
This commit is contained in:
13
web/src/app/shared/interfaces/auth.ts
Normal file
13
web/src/app/shared/interfaces/auth.ts
Normal file
@ -0,0 +1,13 @@
|
||||
export interface User {
|
||||
name: string;
|
||||
password: string;
|
||||
}
|
||||
export interface LoginResponse {
|
||||
token: string;
|
||||
}
|
||||
export interface Claims {
|
||||
exp: number;
|
||||
uid: number;
|
||||
rl: string;
|
||||
sub: string;
|
||||
}
|
Reference in New Issue
Block a user