cecon-interfaces
Version:
Interfaces de Projetos Cecon
23 lines (22 loc) • 892 B
TypeScript
import { EPayioJwtTokenType } from '../enums';
import { IPayioJwtPayload } from '../interfaces/i-payload';
import { IPayioJwtPayloadApp } from '../interfaces/i-payload-app';
import { IPayioJwtPayloadInfo } from '../interfaces/i-payload-info';
import { PayioJwtPayloadDeviceEntity } from './payload-device.entity';
import { PayioJwtPayloadUserEntity } from './payload-user.entity';
export declare class PayioJwtPayloadEntity implements IPayioJwtPayload {
app: IPayioJwtPayloadApp | null;
aud: string | string[];
device: PayioJwtPayloadDeviceEntity | null;
distributorId: string | null;
exp?: number;
iat: number;
info: IPayioJwtPayloadInfo | null;
iss: string;
jti: string;
permissions: string[];
sub: string;
type: EPayioJwtTokenType | null;
user: PayioJwtPayloadUserEntity | null;
constructor(data?: Partial<PayioJwtPayloadEntity>);
}