MCPcopy Create free account
hub / github.com/RealDevSquad/website-backend / constructor

Method constructor

services/EventTokenService.js:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 static #app_secret = config.get("Event100ms.APP_SECRET");
9 #managementToken;
10 constructor() {
11 this.#managementToken = this.getManagementToken(true);
12 }
13
14 // A private method that uses JWT to sign the payload with APP_SECRET
15 #signPayloadToToken(payload) {

Callers

nothing calls this directly

Calls 1

getManagementTokenMethod · 0.95

Tested by

no test coverage detected