MCPcopy Create free account
hub / github.com/Dark-Brain07/PayForApi / constructor

Method constructor

lib/server/authMiddleware.ts:3–3  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1export class AuthMiddleware {
2 private static instance: AuthMiddleware;
3 private constructor() {}
4 public static getInstance(): AuthMiddleware {
5 if (!AuthMiddleware.instance) AuthMiddleware.instance = new AuthMiddleware();
6 return AuthMiddleware.instance;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected