lbx-jwt
Version:
Provides JWT authentication for loopback applications. Includes storing roles inside tokens and handling refreshing. Built-in reuse detection.
25 lines • 930 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RequestResetPasswordGrant = void 0;
const tslib_1 = require("tslib");
const repository_1 = require("@loopback/repository");
/**
* The type of the request used for requesting the reset of a password.
*/
let RequestResetPasswordGrant = class RequestResetPasswordGrant extends repository_1.Model {
};
exports.RequestResetPasswordGrant = RequestResetPasswordGrant;
tslib_1.__decorate([
(0, repository_1.property)({
type: 'string',
required: true,
jsonSchema: {
format: 'email'
}
}),
tslib_1.__metadata("design:type", String)
], RequestResetPasswordGrant.prototype, "email", void 0);
exports.RequestResetPasswordGrant = RequestResetPasswordGrant = tslib_1.__decorate([
(0, repository_1.model)()
], RequestResetPasswordGrant);
//# sourceMappingURL=request-reset-password-grant.model.js.map