MCPcopy Index your code
hub / github.com/21st-dev/1code / initAuthManager

Function initAuthManager

src/main/auth-manager.ts:288–293  ·  view source on GitHub ↗
(isDev: boolean = false)

Source from the content-addressed store, hash-verified

286 * Must be called once from main process initialization
287 */
288export function initAuthManager(isDev: boolean = false): AuthManager {
289 if (!authManagerInstance) {
290 authManagerInstance = new AuthManager(isDev)
291 }
292 return authManagerInstance
293}
294
295/**
296 * Get the global auth manager instance

Callers 1

index.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected