UNPKG

@node-saml/node-saml

Version:

SAML 2.0 implementation for Node.js

21 lines 858 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ErrorWithXmlStatus = exports.ValidateInResponseTo = exports.isValidSamlSigningOptions = void 0; const isValidSamlSigningOptions = (options) => { return options.privateKey != null; }; exports.isValidSamlSigningOptions = isValidSamlSigningOptions; var ValidateInResponseTo; (function (ValidateInResponseTo) { ValidateInResponseTo["never"] = "never"; ValidateInResponseTo["ifPresent"] = "ifPresent"; ValidateInResponseTo["always"] = "always"; })(ValidateInResponseTo || (exports.ValidateInResponseTo = ValidateInResponseTo = {})); class ErrorWithXmlStatus extends Error { constructor(message, xmlStatus) { super(message); this.xmlStatus = xmlStatus; } } exports.ErrorWithXmlStatus = ErrorWithXmlStatus; //# sourceMappingURL=types.js.map