"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TokenHolder = void 0;
class TokenHolder {
    /**
     * @param user A user or principal (ie: tenantCode is optional)
     * @param token The JWT returned by the auth api.  If there's a tenantCode,
     * then the token is a tenant-user token. Otherwise just a user token.
     * @param expiration in GMT
     */
    constructor(user, token, expiration) {
        this.user = user;
        this.token = token;
        this.expiration = expiration;
    }
}
exports.TokenHolder = TokenHolder;
//# sourceMappingURL=token-holder.js.map