libs/interfaces/src/auth/jwtPayload.interface.ts
Properties |
exp |
exp:
|
Type : number
|
iat |
iat:
|
Type : number
|
sub |
sub:
|
Type : string
|
export interface JwtPayload {
sub: string
iat: number
exp: number
}
export interface LoginWithEmailPayload {
email: string
}
export interface LoginWith2FAPayload {
email: string
isTwoFactorAuthenticated: boolean
isTwoFactorAuthenticationEnabled: boolean
}