New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@node-saml/passport-saml

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@node-saml/passport-saml - npm Package Compare versions

Comparing version

to
4.0.4

2

lib/multiSamlStrategy.d.ts

@@ -10,3 +10,3 @@ import { AbstractStrategy } from "./strategy";

constructor(options: MultiStrategyConfig, signonVerify: VerifyWithoutRequest, logoutVerify: VerifyWithoutRequest);
authenticate(req: RequestWithUser, options: AuthenticateOptions): void;
authenticate(req: Request, options: AuthenticateOptions): void;
logout(req: RequestWithUser, callback: (err: Error | null, url?: string | null | undefined) => void): void;

@@ -13,0 +13,0 @@ generateServiceProviderMetadata(req: Request, decryptionCert: string | null, signingCert: string | string[] | null, callback: (err: Error | null, metadata?: string) => void): void;

import { Strategy as PassportStrategy } from "passport-strategy";
import { SAML, SamlConfig } from ".";
import { AuthenticateOptions, RequestWithUser, VerifyWithoutRequest, VerifyWithRequest } from "./types";
import { Request } from "express";
export declare abstract class AbstractStrategy extends PassportStrategy {

@@ -13,3 +14,3 @@ static readonly newSamlProviderOnConstruct: boolean;

constructor(options: SamlConfig, signonVerify: VerifyWithoutRequest, logoutVerify: VerifyWithoutRequest);
authenticate(req: RequestWithUser, options: AuthenticateOptions): void;
authenticate(req: Request, options: AuthenticateOptions): void;
logout(req: RequestWithUser, callback: (err: Error | null, url?: string | null) => void): void;

@@ -19,3 +20,3 @@ protected _generateServiceProviderMetadata(decryptionCert: string | null, signingCert?: string | string[] | null): string;

redirect(url: string, status?: number): void;
success(user: any, info?: any): void;
success(user: unknown, info?: unknown): void;
}

@@ -22,0 +23,0 @@ export declare class Strategy extends AbstractStrategy {

{
"name": "@node-saml/passport-saml",
"version": "4.0.3",
"version": "4.0.4",
"description": "SAML 2.0 authentication strategy for Passport",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet