We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 733e865 commit 33caa06Copy full SHA for 33caa06
src/passport-saml/algorithms.ts
@@ -22,7 +22,7 @@ export function getDigestAlgorithm (shortName: string): string {
22
}
23
24
25
-export function getSigner (shortName: string): string {
+export function getSigner (shortName: string): crypto.Signer {
26
switch(shortName) {
27
case 'sha256':
28
return crypto.createSign('RSA-SHA256');
0 commit comments