@authhero/saml 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,24 @@
1
- // Generated by dts-bundle-generator v9.5.1
2
-
3
1
  /**
4
2
  * Interface for SAML signing implementations.
5
3
  * This allows for different signing strategies (local, HTTP, etc.)
6
4
  */
7
- export interface SamlSigner {
8
- /**
9
- * Signs SAML XML content with the provided private key and certificate
10
- * @param xmlContent - The XML content to sign
11
- * @param privateKey - The private key in PEM format
12
- * @param publicCert - The public certificate
13
- * @returns The signed XML content
14
- */
15
- signSAML(xmlContent: string, privateKey: string, publicCert: string): Promise<string>;
5
+ interface SamlSigner {
6
+ /**
7
+ * Signs SAML XML content with the provided private key and certificate
8
+ * @param xmlContent - The XML content to sign
9
+ * @param privateKey - The private key in PEM format
10
+ * @param publicCert - The public certificate
11
+ * @returns The signed XML content
12
+ */
13
+ signSAML(xmlContent: string, privateKey: string, publicCert: string): Promise<string>;
16
14
  }
15
+
17
16
  /**
18
17
  * Local SAML signer that uses xml-crypto library.
19
18
  * This implementation requires Node.js and cannot be used in edge/browser environments.
20
19
  */
21
- export declare class LocalSamlSigner implements SamlSigner {
22
- signSAML(xmlContent: string, privateKey: string, publicCert: string): Promise<string>;
20
+ declare class LocalSamlSigner implements SamlSigner {
21
+ signSAML(xmlContent: string, privateKey: string, publicCert: string): Promise<string>;
23
22
  }
24
23
 
25
- export {};
24
+ export { LocalSamlSigner };