MCPcopy
hub / github.com/soketi/soketi / AppManagerInterface

Interface AppManagerInterface

src/app-managers/app-manager-interface.ts:3–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { App } from '../app';
2
3export interface AppManagerInterface {
4 /**
5 * The application manager driver.
6 */
7 driver?: AppManagerInterface;
8
9 /**
10 * Find an app by given ID.
11 */
12 findById(id: string): Promise<App|null>;
13
14 /**
15 * Find an app by given key.
16 */
17 findByKey(key: string): Promise<App|null>;
18
19 /**
20 * Get the app secret by ID.
21 */
22 getAppSecret(id: string): Promise<string|null>;
23}

Callers 6

appMiddlewareMethod · 0.65
findByIdMethod · 0.65
queueProcessorMethod · 0.65
checkForValidAppMethod · 0.65
findByKeyMethod · 0.65
getAppSecretMethod · 0.65

Implementers 2

AppManagersrc/app-managers/app-manager.ts
BaseAppManagersrc/app-managers/base-app-manager.ts

Calls

no outgoing calls

Tested by

no test coverage detected