File

libs/interfaces/src/user/User.interface.ts

Index

Properties

Properties

accessToken
accessToken: string
Type : string
Optional
active
active: boolean
Type : boolean
confirmationCodes
confirmationCodes: ConfirmationCodeInterface[]
Type : ConfirmationCodeInterface[]
Optional
email
email: string
Type : string
firstName
firstName: string
Type : string
id
id: number
Type : number
Optional
isTwoFactorAuthenticated
isTwoFactorAuthenticated: boolean
Type : boolean
Optional
isTwoFAEnabled
isTwoFAEnabled: boolean
Type : boolean
lastName
lastName: string
Type : string
password
password: string
Type : string
passwordResetCode
passwordResetCode: string | null
Type : string | null
Optional
refreshToken
refreshToken: string
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
}

results matching ""

    No results matching ""