Skip to content
Snippets Groups Projects

API BASE BRANCH

Merged Lukas Maximilian Kimpel requested to merge 128-guest-login-api into master
Viewing commit 9acc8eea
Show latest version
1 file
+ 4
14
Compare changes
  • Side-by-side
  • Inline
+ 4
14
import { UserRole } from './user-roles.enum';
import { AuthProvider } from './auth-provider';
export class User {
export class User {
// ToDo: Remove id since it is replaced by JWT token
userId: string;
id: number;
loginId: string;
name: string;
authProvider: AuthProvider;
email: string;
role: UserRole;
token: string;
token: string;
constructor(id: number, name: string, email: string, role: UserRole, token: string) {
this.id = id;
this.name = name;
this.email = email;
this.role = role;
this.token = token;
}
}
}