lbx-jwt
Version:
Provides JWT authentication for loopback applications. Includes storing roles inside tokens and handling refreshing. Built-in reuse detection.
22 lines • 740 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RefreshGrant = void 0;
const tslib_1 = require("tslib");
const repository_1 = require("@loopback/repository");
/**
* Describes the type of grant object taken in by method "refresh".
*/
let RefreshGrant = class RefreshGrant extends repository_1.Model {
};
exports.RefreshGrant = RefreshGrant;
tslib_1.__decorate([
(0, repository_1.property)({
type: 'string',
required: true
}),
tslib_1.__metadata("design:type", String)
], RefreshGrant.prototype, "refreshToken", void 0);
exports.RefreshGrant = RefreshGrant = tslib_1.__decorate([
(0, repository_1.model)()
], RefreshGrant);
//# sourceMappingURL=refresh-grant.model.js.map