saml-login
Version:
SAML 2.0 implementation for Node.js
16 lines • 544 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ErrorWithXmlStatus = exports.isValidSamlSigningOptions = void 0;
const isValidSamlSigningOptions = (options) => {
return options.privateKey != null;
};
exports.isValidSamlSigningOptions = isValidSamlSigningOptions;
class ErrorWithXmlStatus extends Error {
constructor(message, code) {
super(message);
this.code = code;
this.code = code;
}
}
exports.ErrorWithXmlStatus = ErrorWithXmlStatus;
//# sourceMappingURL=types.js.map