Skip to content

Commit

Permalink
don't re-import
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbarth committed Mar 26, 2024
1 parent 6962c9d commit d22eb73
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/strategy.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Strategy as PassportStrategy } from "passport-strategy";
import { strict as assert } from "assert";
import * as url from "url";
import { Profile } from ".";
import { SAML } from "@node-saml/node-saml";
import { SAML, Profile } from "@node-saml/node-saml";
import { PassportSamlConfig } from "./types";
import {
AuthenticateOptions,
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type * as express from "express";
import * as passport from "passport";
import { Profile, SamlConfig } from ".";
import { Profile, SamlConfig } from "@node-saml/node-saml";

export interface AuthenticateOptions extends passport.AuthenticateOptions {
samlFallback?: "login-request" | "logout-request";
Expand Down
3 changes: 2 additions & 1 deletion test/multiSamlStrategy.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import * as express from "express";
import { Strategy } from "passport-strategy";
import * as sinon from "sinon";
import { expect } from "chai";
import { MultiSamlStrategy, SAML, AbstractStrategy } from "../src";
import { MultiSamlStrategy, AbstractStrategy } from "../src";
import { SAML } from "@node-saml/node-saml";
import {
MultiStrategyConfig,
RequestWithUser,
Expand Down
3 changes: 2 additions & 1 deletion test/strategy.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
import type * as express from "express";
import { expect } from "chai";
import * as sinon from "sinon";
import { Profile, SAML, Strategy as SamlStrategy } from "../src";
import { Strategy as SamlStrategy } from "../src";
import { SAML, Profile } from "@node-saml/node-saml";
import {
RequestWithUser,
VerifiedCallback,
Expand Down

0 comments on commit d22eb73

Please sign in to comment.