@node-saml/passport-saml
Advanced tools
Comparing version
@@ -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
70998
0.08%391
0.26%