UNPKG

lbx-jwt

Version:

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

22 lines 848 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ResetPasswordTokenGrant = void 0; const tslib_1 = require("tslib"); const repository_1 = require("@loopback/repository"); /** * The type of the request used for validating a reset password token. */ let ResetPasswordTokenGrant = class ResetPasswordTokenGrant extends repository_1.Model { }; exports.ResetPasswordTokenGrant = ResetPasswordTokenGrant; tslib_1.__decorate([ (0, repository_1.property)({ type: 'string', required: true }), tslib_1.__metadata("design:type", String) ], ResetPasswordTokenGrant.prototype, "value", void 0); exports.ResetPasswordTokenGrant = ResetPasswordTokenGrant = tslib_1.__decorate([ (0, repository_1.model)() ], ResetPasswordTokenGrant); //# sourceMappingURL=reset-password-token-grant.model.js.map