Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/saml

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/saml - npm Package Compare versions

Comparing version 0.13.0 to 1.0.0

43

saml/index.d.ts

@@ -1,4 +0,4 @@

// Type definitions for saml 0.13
// Type definitions for saml 1.0
// Project: https://github.com/auth0/node-saml#readme
// Definitions by: Eric Heikes <https://github.com/eheikes>
// Definitions by: Eric Heikes <https://github.com/eheikes>, Eva Sarafianou <https://github.com/esarafianou>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -16,3 +16,3 @@

export interface SamlOpts {
export interface SamlSignedOpts {
authnContextClassRef?: string;

@@ -31,3 +31,3 @@ attributes?: SamlAttributes;

key: Buffer;
keyEncryptionAlgorighm?: string; // sic https://github.com/auth0/node-xml-encryption/issues/17
keyEncryptionAlgorithm?: string;
keyInfoProvider?: KeyInfoProvider;

@@ -48,8 +48,39 @@ lifetimeInSeconds?: number;

export interface SamlUnassignedOpts {
authnContextClassRef?: string;
attributes?: SamlAttributes;
audiences?: string | string[];
cert?: Buffer;
digestAlgorithm?: string;
encryptionAlgorithm?: string;
encryptionCert?: Buffer;
encryptionPublicKey?: Buffer;
holderOfKeyProofSecret?: string;
includeAttributeNameFormat?: boolean;
inResponseTo?: string;
issuer?: string;
key?: Buffer;
keyEncryptionAlgorithm?: string;
keyInfoProvider?: KeyInfoProvider;
lifetimeInSeconds?: number;
nameIdentifier?: string;
nameIdentifierFormat?: string;
prefix?: string;
recipient?: string;
sessionIndex?: string;
signatureAlgorithm?: string;
signatureNamespacePrefix?: string;
subjectConfirmationMethod?: string;
typedAttributes?: boolean;
uid?: string;
xpathToNodeBeforeSignature?: string;
}
export namespace Saml11 {
function create(opts: SamlOpts, cb?: (err: Error | null, result: any[], proofSecret: Buffer) => void): any;
function create(opts: SamlSignedOpts, cb?: (err: Error | null, result: any[], proofSecret: Buffer) => void): any;
function createUnsignedAssertion(opts: SamlUnassignedOpts, cb?: (err: Error | null, result: any[], proofSecret: Buffer) => void): any;
}
export namespace Saml20 {
function create(opts: SamlOpts, cb?: (err: Error | null, signed: string) => void): any;
function create(opts: SamlUnassignedOpts, cb?: (err: Error | null, signed: string) => void): any;
function createUnsignedAssertion(opts: SamlUnassignedOpts, cb?: (err: Error | null, signed: string) => void): any;
}

13

saml/package.json
{
"name": "@types/saml",
"version": "0.13.0",
"version": "1.0.0",
"description": "TypeScript definitions for saml",

@@ -11,6 +11,11 @@ "license": "MIT",

"githubUsername": "eheikes"
},
{
"name": "Eva Sarafianou",
"url": "https://github.com/esarafianou",
"githubUsername": "esarafianou"
}
],
"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -25,4 +30,4 @@ "type": "git",

},
"typesPublisherContentHash": "0c76a74940b65d48b9219c09b86e997a1b7d8d79fe1659231a9e691ff18b7e1d",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "dc65c6e34c4c5d60231a7ae11cabbce9f740575800e8b2b3add5746858422562",
"typeScriptVersion": "3.5"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/saml
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/saml.
Additional Details
* Last updated: Tue, 16 Jul 2019 23:47:23 GMT
* Dependencies: @types/node
### Additional Details
* Last updated: Tue, 18 May 2021 18:01:27 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by Eric Heikes <https://github.com/eheikes>.
These definitions were written by [Eric Heikes](https://github.com/eheikes), and [Eva Sarafianou](https://github.com/esarafianou).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc