MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / User

Class User

panel/src/app/entity/user.ts:14–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14export class User implements IUser {
15 uuid: string = "";
16 userName: string = "";
17 passWord: string = "";
18 passWordType: number = UserPassWordType.bcrypt;
19 salt: string = "";
20 permission: number = 0;
21 registerTime: string = "";
22 loginTime: string = "";
23 instances: Array<IUserApp> = [];
24 apiKey: string = "";
25 isInit: boolean = false;
26 secret = "";
27 open2FA = false;
28 ssoSub = "";
29 ssoBound = false;
30}
31
32export enum ROLE {
33 ADMIN = 10,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected