MCPcopy Create free account
hub / github.com/Criptext/Criptext-Email-React-Client / linkAuth

Function linkAuth

electron_app/src/clientManager.js:413–417  ·  view source on GitHub ↗
({ newDeviceData, jwt })

Source from the content-addressed store, hash-verified

411};
412
413const linkAuth = async ({ newDeviceData, jwt }) => {
414 const recipientId = getRecipientId(newDeviceData);
415 const client = await createClient({ recipientId, optionalToken: jwt });
416 return await client.linkAuth(newDeviceData);
417};
418
419const linkCancel = async ({ newDeviceData, jwt }) => {
420 const recipientId = getRecipientId(newDeviceData);

Callers

nothing calls this directly

Calls 2

getRecipientIdFunction · 0.85
createClientFunction · 0.70

Tested by

no test coverage detected