UNPKG

cecon-interfaces

Version:
30 lines (29 loc) 855 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioJwtPayloadEntity = void 0; var PayioJwtPayloadEntity = /** @class */ (function () { function PayioJwtPayloadEntity(data) { this.app = null; this.aud = ''; this.device = null; this.distributorId = null; this.exp = 0; this.iat = 0; this.info = null; this.iss = ''; this.jti = ''; this.permissions = []; this.sub = ''; this.type = null; this.user = null; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PayioJwtPayloadEntity; }()); exports.PayioJwtPayloadEntity = PayioJwtPayloadEntity;