MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / getInstance

Method getInstance

packages/server/src/IdentityManager.ts:49–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 ssoProviders: Map<string, SSOBase> = new Map()
48
49 public static async getInstance(): Promise<IdentityManager> {
50 if (!IdentityManager.instance) {
51 IdentityManager.instance = new IdentityManager()
52 await IdentityManager.instance.initialize()
53 }
54 return IdentityManager.instance
55 }
56
57 public async initialize() {
58 await this._validateLicenseKey()

Callers 4

initializeMethod · 0.45
updateAdditionalSeatsMethod · 0.45
cancelSubscriptionMethod · 0.45

Calls 1

initializeMethod · 0.45

Tested by

no test coverage detected