MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / constructor

Method constructor

apps/api/src/utils/auth.ts:27–39  ·  view source on GitHub ↗
(
    message: string,
    payload: {
      clientId?: string;
      clientSecret?: string;
      origin?: string;
    }
  )

Source from the content-addressed store, hash-verified

25 };
26
27 constructor(
28 message: string,
29 payload: {
30 clientId?: string;
31 clientSecret?: string;
32 origin?: string;
33 }
34 ) {
35 super(message);
36 this.name = 'SdkAuthError';
37 this.message = message;
38 this.payload = payload;
39 }
40}
41
42export async function validateSdkRequest(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected