cecon-interfaces
Version:
Interfaces de Projetos Cecon
27 lines (26 loc) • 1.2 kB
TypeScript
import { PayioJwtPayloadActivationEntity, PayioJwtPayloadAppEntity, PayioJwtPayloadInfoEntity } from '../..';
import { EPayioJwtTokenType } from '../enums';
import { IPayioJwtPayload } from '../interfaces/i-payload';
import { PayioJwtPayloadDeviceEntity } from './payload-device.entity';
import { PayioJwtPayloadMachineEntity } from './payload-machine.entity';
import { PayioJwtPayloadUserEntity } from './payload-user.entity';
/** @deprecated use PayioJwtPayloadEntity from @arcnet-payio-interfaces instead */
export declare class PayioJwtPayloadEntity implements IPayioJwtPayload {
activation?: PayioJwtPayloadActivationEntity | null | undefined;
app: PayioJwtPayloadAppEntity | null;
aud: string | string[];
/** @deprecated use machine instead */
device?: PayioJwtPayloadDeviceEntity | null;
distributorId: string | null;
exp?: number;
iat: number;
info: PayioJwtPayloadInfoEntity | null;
iss: string;
jti: string;
machine: PayioJwtPayloadMachineEntity | null;
permissions: string[];
sub: string;
type: EPayioJwtTokenType | null;
user: PayioJwtPayloadUserEntity | null;
constructor(data?: Partial<PayioJwtPayloadEntity>);
}