UNPKG

lbx-jwt

Version:

Provides JWT authentication for loopback applications. Includes storing roles inside tokens and handling refreshing. Built-in reuse detection.

35 lines 1.32 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AuthenticationExtensionsInputs = void 0; const tslib_1 = require("tslib"); //TODO: Remove /* eslint-disable jsdoc/require-jsdoc */ const repository_1 = require("@loopback/repository"); let AuthenticationExtensionsInputs = class AuthenticationExtensionsInputs { }; exports.AuthenticationExtensionsInputs = AuthenticationExtensionsInputs; tslib_1.__decorate([ (0, repository_1.property)({ type: 'string', required: false }), tslib_1.__metadata("design:type", String) ], AuthenticationExtensionsInputs.prototype, "appid", void 0); tslib_1.__decorate([ (0, repository_1.property)({ type: 'boolean', required: false }), tslib_1.__metadata("design:type", Boolean) ], AuthenticationExtensionsInputs.prototype, "credProps", void 0); tslib_1.__decorate([ (0, repository_1.property)({ type: 'boolean', required: false }), tslib_1.__metadata("design:type", Boolean) ], AuthenticationExtensionsInputs.prototype, "hmacCreateSecret", void 0); exports.AuthenticationExtensionsInputs = AuthenticationExtensionsInputs = tslib_1.__decorate([ (0, repository_1.model)() ], AuthenticationExtensionsInputs); //# sourceMappingURL=authentication-extensions-inputs.model.js.map