8 lines
171 B
TypeScript
8 lines
171 B
TypeScript
|
|
// backend/src/modules/auth/interfaces/jwt-payload.interface.ts
|
||
|
|
export interface JwtPayload {
|
||
|
|
sub: string; // user id
|
||
|
|
email: string;
|
||
|
|
type?: 'access' | 'refresh';
|
||
|
|
}
|
||
|
|
|