2026-04-23 15:33:11 +03:30
|
|
|
// backend/src/modules/auth/interfaces/jwt-payload.interface.ts
|
|
|
|
|
export interface JwtPayload {
|
|
|
|
|
sub: string; // user id
|
|
|
|
|
email: string;
|
2026-04-29 20:19:40 +03:30
|
|
|
organizationId?: string;
|
2026-04-23 15:33:11 +03:30
|
|
|
type?: 'access' | 'refresh';
|
|
|
|
|
}
|
|
|
|
|
|