libs/interfaces/src/user/User.interface.ts
Properties |
|
| accessToken |
accessToken:
|
Type : string
|
| Optional |
| active |
active:
|
Type : boolean
|
| confirmationCodes |
confirmationCodes:
|
Type : ConfirmationCodeInterface[]
|
| Optional |
email:
|
Type : string
|
| firstName |
firstName:
|
Type : string
|
| id |
id:
|
Type : number
|
| Optional |
| isTwoFactorAuthenticated |
isTwoFactorAuthenticated:
|
Type : boolean
|
| Optional |
| isTwoFAEnabled |
isTwoFAEnabled:
|
Type : boolean
|
| lastName |
lastName:
|
Type : string
|
| password |
password:
|
Type : string
|
| passwordResetCode |
passwordResetCode:
|
Type : string | null
|
| Optional |
| refreshToken |
refreshToken:
|
Type : string
|
| Optional |
import { ConfirmationCodeInterface } from '../auth/confirmationCode.interface'
export interface UserInterface {
id?: number
firstName: string
lastName: string
email: string
password: string
accessToken?: string
refreshToken?: string
passwordResetCode?: string | null
active: boolean
confirmationCodes?: ConfirmationCodeInterface[]
isTwoFAEnabled: boolean
isTwoFactorAuthenticated?: boolean
}