UNPKG

@cocalc/server

Version:

CoCalc server functionality: functions used by either the hub and the next.js server

5 lines (4 loc) 277 B
import { Strategy as PassportStrategy } from "passport"; import { Strategy as SAMLStrategy } from "passport-saml"; import { PassportTypes } from "./types"; export declare function getExtraStrategyConstructor(type: PassportTypes): typeof PassportStrategy | typeof SAMLStrategy;