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

Function loginFirst

electron_app/src/clientManager.js:467–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465};
466
467const loginFirst = async data => {
468 const { username, domain } = data;
469 const recipientId = getRecipientId({ recipientId: username, domain });
470 const client = await createClient({
471 recipientId,
472 optionalToken: '@'
473 });
474 return await client.loginFirst(data);
475};
476
477const logout = async recipientId => {
478 const client = await createClient({ recipientId });

Callers

nothing calls this directly

Calls 2

getRecipientIdFunction · 0.85
createClientFunction · 0.70

Tested by

no test coverage detected