UNPKG

@node-saml/node-saml

Version:

SAML 2.0 implementation for Node.js

6 lines (5 loc) 458 B
import { SamlSigningOptions } from "./types"; export declare function assertRequired<T>(value: T | null | undefined, error?: string): asserts value; export declare function assertBooleanIfPresent<T>(value: T | null | undefined, error?: string): asserts value; export declare function signXmlResponse(samlMessage: string, options: SamlSigningOptions): string; export declare function signXmlMetadata(metadataXml: string, options: SamlSigningOptions): string;