File

libs/interfaces/src/auth/jwtPayload.interface.ts

Index

Properties

Properties

email
email: string
Type : string
isTwoFactorAuthenticated
isTwoFactorAuthenticated: boolean
Type : boolean
isTwoFactorAuthenticationEnabled
isTwoFactorAuthenticationEnabled: boolean
Type : boolean
export interface JwtPayload {
  sub: string
  iat: number
  exp: number
}

export interface LoginWithEmailPayload {
  email: string
}

export interface LoginWith2FAPayload {
  email: string
  isTwoFactorAuthenticated: boolean
  isTwoFactorAuthenticationEnabled: boolean
}

results matching ""

    No results matching ""