| 12 | } |
| 13 | |
| 14 | export 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 | |
| 32 | export enum ROLE { |
| 33 | ADMIN = 10, |
nothing calls this directly
no outgoing calls
no test coverage detected