UNPKG

ltijs

Version:

Easily turn your web application into a LTI 1.3 Learning Tool.

16 lines • 651 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resolvePlatformPrivateKey = resolvePlatformPrivateKey; exports.resolvePlatformPublicKey = resolvePlatformPublicKey; const errors_1 = require("#services/platform-manager/errors"); function resolvePlatformPrivateKey(platform) { if (platform.keys.private === '') throw new errors_1.PrivateKeyNotFoundError(); return platform.keys.private; } function resolvePlatformPublicKey(platform) { if (platform.keys.public === '') throw new errors_1.PublicKeyNotFoundError(); return platform.keys.public; } //# sourceMappingURL=platform-keys.js.map