lbx-jwt
Version:
Provides JWT authentication for loopback applications. Includes storing roles inside tokens and handling refreshing. Built-in reuse detection.
19 lines • 655 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HandlebarsUtilities = void 0;
const handlebars_1 = require("handlebars");
/**
* Encapsulates functionality of the handlebars package.
*/
class HandlebarsUtilities {
/**
* Compiles the given data to a html template.
* @param data - The data that should be compiled. This is usually the string result of reading an html file.
* @returns The compiled templates.
*/
static compile(data) {
return (0, handlebars_1.compile)(data);
}
}
exports.HandlebarsUtilities = HandlebarsUtilities;
//# sourceMappingURL=handlebars.utilities.js.map