MCPcopy Create free account
hub / github.com/parse-community/parse-server / buildEmailLink

Function buildEmailLink

src/Controllers/UserController.js:372–381  ·  view source on GitHub ↗
(destination, token, config)

Source from the content-addressed store, hash-verified

370}
371
372function buildEmailLink(destination, token, config) {
373 token = `token=${token}`;
374 if (config.parseFrameURL) {
375 const destinationWithoutHost = destination.replace(config.publicServerURL, '');
376
377 return `${config.parseFrameURL}?link=${encodeURIComponent(destinationWithoutHost)}&${token}`;
378 } else {
379 return `${destination}?${token}`;
380 }
381}
382
383export default UserController;

Callers 2

sendVerificationEmailMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…